# -*- 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
PortGroup           deprecated 1.0

name                py-posixtimezone
version             0.9.4
revision            1
categories-append   sysutils
license             BSD
platforms           darwin
maintainers         nomaintainer
description         tzinfo implementation for python
long_description    PosixTimeZone is a tzinfo implementation for Python, \
                    using the POSIX calls provided by many operating systems to \
                    handle timezone calculations.

homepage            https://stuartbishop.net/Software/PosixTimeZone/
master_sites        ${homepage}
distname            PosixTimeZone-${version}
checksums           md5     42a5709e358ac4e73111de3bbbd0b709 \
                    rmd160  9a91ccfcb75fdc16fc092b619d89ea0bae68e153 \
                    sha256  261ced7ab1484955c705b772d90e9108e12626085f4978021b8a588ed908aa82 \
                    size    8047

deprecated.upstream_support no

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0644 -W ${worksrcpath} BUGS.txt LICENSE.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
} else {
    livecheck.regex PosixTimeZone-(\[0-9.\]+)${extract.suffix}
}