# -*- 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 153109 2016-09-24 23:12:37Z mcalhoun@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-zopeinterface version 4.3.2 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 pypi:z/zope.interface distname zope.interface-${version} checksums rmd160 53c943695a97f0818b576b6e1c06440ae05c7167 \ sha256 6a0e224a052e3ce27b3a7b1300a24747513f7a507217fcc2a4cb02eb92945cee 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} } variant tests description {Add dependencies needed to run tests} { depends_build-append port:py${python.version}-zope-event test.run yes test.cmd ${python.bin} setup.py test.target test } } livecheck.type regex livecheck.url https://pypi.python.org/pypi/zope.interface/json livecheck.regex zope.interface-(\\d+(?:\\.\\d+)*)${extract.suffix}