# -*- 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-isodate
version             0.7.2
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {gmail.com:esafak @esafak}

description         An ISO 8601 date/time/duration parser and formatter
long_description    This module implements ISO 8601 date, time and duration \
                    parsing. The implementation follows ISO8601:2004 standard, \
                    and implements only date/time representations mentioned in \
                    the standard. If something is not mentioned there, then it \
                    is treated as non existent, and not as an allowed option.

homepage            https://pypi.python.org/pypi/${python.rootname}

checksums           rmd160  97bfafc2a4e0e65fb89d4dee4bf50768c5f2c880 \
                    sha256  4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6 \
                    size    29705

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    test.run        yes

    post-destroot {
        xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE \
            README.rst TODO.txt ${destroot}${prefix}/share/doc/${subport}
    }
}
