# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name aniso8601 set _n [string index ${_name} 0] name py-aniso8601 version 0.82 categories-append devel textproc platforms darwin supported_archs noarch license BSD maintainers nomaintainer description A library for parsing ISO 8601 strings long_description ${description} master_sites pypi:${_n}/${_name} distname aniso8601-${version} checksums rmd160 309d4f27849d9db327f66f7911bae56b5bea57fa \ sha256 e33ffc4ff6882e6a318c07844e346cd6160abe2f48cc2e797d2fe5f36364789e python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools livecheck.type none # work-arround for missing homepage livecheck.url } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }