# -*- 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-dateutil
python.rootname python-dateutil
version 2.8.0
revision 0
platforms darwin
supported_archs noarch
license BSD
maintainers nomaintainer
description Extensions to the standard Python datetime module
long_description The dateutil module provides powerful extensions \
to the datetime module available in the Python \
standard library.
homepage https://github.com/dateutil/dateutil/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}/
distname ${python.rootname}-${version}
checksums rmd160 2fda28c33329be5ccee005ca6cce55bd9500f0df \
sha256 c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e \
size 327134
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools \
port:py${python.version}-setuptools_scm
depends_run-append \
path:${python.pkgd}/pytz:py${python.version}-tz
depends_lib-append \
port:py${python.version}-six
depends_test-append \
port:py${python.version}-pytest \
port:py${python.version}-freezegun \
port:py${python.version}-mock
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} \
LICENSE README.rst NEWS \
${destroot}${docdir}
}
livecheck.type none
}