Files
Zhenfu Shi d59348ef80 multiple: add python39 support (#9570)
* gexiv2: add python39 support

* gtk-doc: add python39 support

* gegl: add python39 support

* libepoxy: add python39 support

* py-anytree: add python39 support
2021-01-14 10:22:26 +08:00

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
}