# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
categories-append devel textproc
description A library for parsing ISO 8601 strings
long_description ${description}
homepage https://bitbucket.org/nielsenb/aniso8601
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 d552fc8e5d64614aed300054482f9b6cab4ff41a \
sha256 b8a6a9b24611fc50cf2d9b45d371bfdc4fd0581d1cc52254f5502130a776d4af \
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-dateutil
if {${python.version} eq 27} {
depends_test-append port:py${python.version}-mock
test.cmd ${python.bin} setup.py
test.env PYTHONPATH=${worksrcpath}/build/lib
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${prefix}/share/doc/${subport}