Files
2020-10-12 10:26:48 +03:00

66 lines
2.0 KiB
Tcl

# -*- 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.1
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/
checksums rmd160 8e14a1fac932b4062904a05c11da0d1ffb5a2bbb \
sha256 73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c \
size 331745
python.versions 27 35 36 37 38 39
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}-freezegun \
port:py${python.version}-hypothesis \
port:py${python.version}-pytest \
port:py${python.version}-pytest-cov
if {${python.version} eq 27} {
depends_test-append \
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
}