# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-tz set my_name pytz version 2016.7 categories-append devel platforms darwin supported_archs noarch maintainers ram openmaintainer license MIT description World Timezone Definitions for Python long_description \ pytz brings the Olson tz database into Python. This library allows \ accurate and cross platform timezone calculations. homepage https://pypi.python.org/pypi/pytz master_sites pypi:p/pytz/ distname ${my_name}-${version} #use_zip yes python.versions 26 27 33 34 35 checksums rmd160 f95d2dae26090a3da1046cf37f7e9a249947fdc7 \ sha256 8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3 post-destroot { if {${name} ne ${subport}} { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W $worksrcpath CHANGES.txt LICENSE.txt README.txt \ ${destroot}${docdir} } } if {${name} eq ${subport}} { conflicts py-tz-gae livecheck.type regex livecheck.url ${homepage} livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*) } else { conflicts py${python.version}-tz-gae livecheck.type none }