# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name python-dateutil set _n [string index ${_name} 0] name py-dateutil version 2.5.3 platforms darwin supported_archs noarch maintainers nomaintainer license BSD description powerful extensions to the standard python datetime module long_description ${description} homepage https://pypi.python.org/pypi/${_name} master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 05ffc6d2cc85a7fd93bb245807f715ef \ rmd160 bc4601d93270402673aa4c2e5c7719924bbcb322 \ sha256 1408fdb07c6a1fa9997567ce3fcee6a337b39a503d80699e0f213de4aa4b32ed python.versions 27 34 35 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools depends_run path:${python.pkgd}/pytz:py${python.version}-tz depends_lib-append port:py${python.version}-six test.run yes test.cmd ${python.bin} setup.py test.target test 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 } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }