[153106] trunk/dports/python/py-zope-event/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sat Sep 24 16:09:08 PDT 2016
Revision: 153106
https://trac.macports.org/changeset/153106
Author: mcalhoun at macports.org
Date: 2016-09-24 16:09:08 -0700 (Sat, 24 Sep 2016)
Log Message:
-----------
py-zope-event: allow tests to be run with a variant
Modified Paths:
--------------
trunk/dports/python/py-zope-event/Portfile
Modified: trunk/dports/python/py-zope-event/Portfile
===================================================================
--- trunk/dports/python/py-zope-event/Portfile 2016-09-24 23:06:07 UTC (rev 153105)
+++ trunk/dports/python/py-zope-event/Portfile 2016-09-24 23:09:08 UTC (rev 153106)
@@ -29,6 +29,13 @@
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
+
+ variant tests description {Add dependencies needed to run tests} {
+ test.run yes
+ depends_build port:py${python.version}-nose
+ test.cmd nosetests-${python.branch}
+ test.target
+ }
} else {
livecheck.type regex
livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160924/12b76b2c/attachment.html>
More information about the macports-changes
mailing list