# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 141127 2015-10-11 14:42:08Z mcalhoun@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-zopeinterface version 4.1.3 python.versions 27 34 35 categories-append zope license ZPL-2.1 platforms darwin maintainers mcalhoun openmaintainer description Python interfaces for Zope long_description ${description} homepage http://docs.zope.org/zopetoolkit/ master_sites http://pypi.python.org/packages/source/z/zope.interface distname zope.interface-${version} checksums rmd160 d0f903c260e454ef6f6cd33f50cdbc05b668be0f \ sha256 2e221a9eec7ccc58889a278ea13dcfed5ef939d80b07819a9a8b3cb1c681484f if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} \ CHANGES.rst README.rst \ ${destroot}${prefix}/share/doc/${subport} } test.run yes test.cmd ${python.bin} setup.py } livecheck.type regex livecheck.url https://pypi.python.org/pypi/zope.interface/json livecheck.regex zope.interface-(\\d+(?:\\.\\d+)*)${extract.suffix}