You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
d59348ef80
* gexiv2: add python39 support * gtk-doc: add python39 support * gegl: add python39 support * libepoxy: add python39 support * py-anytree: add python39 support
53 lines
1.4 KiB
Tcl
53 lines
1.4 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-anytree
|
|
version 2.8.0
|
|
revision 0
|
|
|
|
categories-append devel
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
|
|
description Python tree data library
|
|
long_description ${description}
|
|
|
|
homepage https://github.com/c0fec0de/anytree
|
|
|
|
checksums rmd160 2f48920927d32f56c584bcfce9dc40fabe604faa \
|
|
sha256 3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab \
|
|
size 189484
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-six
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst \
|
|
LICENSE ${destroot}${docdir}
|
|
}
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-nose
|
|
|
|
if {${python.version} eq 27} {
|
|
depends_test-append \
|
|
port:py${python.version}-enum34
|
|
}
|
|
|
|
test.run yes
|
|
|
|
livecheck.type none
|
|
}
|