[148047] trunk/dports/python/py-enum34/Portfile

mojca at macports.org mojca at macports.org
Mon Apr 25 09:06:13 PDT 2016


Revision: 148047
          https://trac.macports.org/changeset/148047
Author:   mojca at macports.org
Date:     2016-04-25 09:06:13 -0700 (Mon, 25 Apr 2016)
Log Message:
-----------
py-enum34: add build dependency on py-setuptools

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

Modified: trunk/dports/python/py-enum34/Portfile
===================================================================
--- trunk/dports/python/py-enum34/Portfile	2016-04-25 16:05:14 UTC (rev 148046)
+++ trunk/dports/python/py-enum34/Portfile	2016-04-25 16:06:13 UTC (rev 148047)
@@ -22,10 +22,12 @@
 # works in 24 25 26 27 31 32 33
 python.versions     26 27 33
 
-if {${name} eq ${subport}} {
+if {${name} ne ${subport}} {
+    depends_build-append \
+                    port:py${python.version}-setuptools
+    livecheck.type  none
+} else {
     livecheck.type  regex
     livecheck.url   ${homepage}
     livecheck.regex {enum34 (\d+(?:\.\d+)*)}
-} else {
-    livecheck.type  none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160425/81ad9d91/attachment.html>


More information about the macports-changes mailing list