# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-tz set my_name pytz version 2015.4 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 http://cheeseshop.python.org/packages/source/p/pytz/ distname ${my_name}-${version} #use_zip yes python.versions 26 27 33 34 checksums rmd160 ebb11ced49cb5fed70bc59f50f6a43f3eb50c968 \ sha256 c4ee70cb407f9284517ac368f121cf0796a7134b961e53d9daf1aaae8f44fb90 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 }