# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-tz set my_name pytz version 2013d 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 http://pytz.sourceforge.net/ master_sites http://cheeseshop.python.org/packages/source/p/pytz/ distname ${my_name}-${version} #use_zip yes python.versions 24 25 26 27 31 32 33 checksums rmd160 266053ed2d568d7d563b9dba1d9435e6412e79c6 \ sha256 4eee447b2102141dfc7d92b0536608616f152811a8adee2f120460f368ecc4c6 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}} { livecheck.type regex livecheck.url ${master_sites}?C=M&O=D livecheck.regex ${my_name}-(\\d+\\w?) } else { livecheck.type none }