Files
Steven Thomas Smith 9f3015bb99 py-us: Add Python 39
2021-03-30 02:19:25 -04:00

50 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-us
version 2.0.2
revision 0
platforms darwin
supported_archs noarch
license BSD
maintainers nomaintainer
description US: The Greatest Package in the World
long_description A package for easily working with US and state metadata.
homepage https://github.com/unitedstates/python-us
checksums rmd160 6b107fb52df000f6251d025484f683848d37275c \
sha256 cb11ad0d43deff3a1c3690c74f0c731cff5b862c73339df2edd91133e1496fbc \
size 14207
python.versions 37 38 39
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-setuptools
depends_run-append \
port:py${python.version}-jellyfish
depends_test-append \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env-append PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${docdir}
}
livecheck.type none
}