[153109] trunk/dports/python/py-zopeinterface/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Sep 24 16:12:37 PDT 2016


Revision: 153109
          https://trac.macports.org/changeset/153109
Author:   mcalhoun at macports.org
Date:     2016-09-24 16:12:37 -0700 (Sat, 24 Sep 2016)
Log Message:
-----------
py-zopeinterface: version update 4.1.3->4.3.2
test requires an extra dependency, so make it a variant

Modified Paths:
--------------
    trunk/dports/python/py-zopeinterface/Portfile

Modified: trunk/dports/python/py-zopeinterface/Portfile
===================================================================
--- trunk/dports/python/py-zopeinterface/Portfile	2016-09-24 23:09:51 UTC (rev 153108)
+++ trunk/dports/python/py-zopeinterface/Portfile	2016-09-24 23:12:37 UTC (rev 153109)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-zopeinterface
-version             4.1.3
+version             4.3.2
 python.versions     27 34 35
 categories-append   zope
 license             ZPL-2.1
@@ -18,9 +18,10 @@
 master_sites        pypi:z/zope.interface
 distname            zope.interface-${version}
 
-checksums           rmd160  d0f903c260e454ef6f6cd33f50cdbc05b668be0f \
-                    sha256  2e221a9eec7ccc58889a278ea13dcfed5ef939d80b07819a9a8b3cb1c681484f
+checksums           rmd160  53c943695a97f0818b576b6e1c06440ae05c7167 \
+                    sha256  6a0e224a052e3ce27b3a7b1300a24747513f7a507217fcc2a4cb02eb92945cee
 
+
 if {${name} ne ${subport}} {
 
     depends_build   port:py${python.version}-setuptools
@@ -32,8 +33,12 @@
             ${destroot}${prefix}/share/doc/${subport}
     }
 
-    test.run  yes
-    test.cmd  ${python.bin} setup.py
+    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160924/4d23fcb0/attachment.html>


More information about the macports-changes mailing list