# -*- 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
python.rootname python-dateutil
set _n [string index ${python.rootname} 0]
description Extensions to the standard Python datetime module
long_description The dateutil module provides powerful extensions \
to the datetime module available in the Python \
homepage https://pypi.python.org/pypi/${python.rootname}
master_sites pypi:${_n}/${python.rootname}/
distname ${python.rootname}-${version}
checksums rmd160 1e5686291037033d17519cabf138cfcfdf507d5f \
sha256 e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8 \
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools \
port:py${python.version}-setuptools_scm
depends_run path:${python.pkgd}/pytz:py${python.version}-tz
depends_lib-append port:py${python.version}-six
test.cmd ${python.bin} setup.py
test.env PYTHONPATH=${worksrcpath}/build/lib
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} \
LICENSE README.rst NEWS \
livecheck.name ${python.rootname}