[107224] trunk/dports/python/py-magic/Portfile

jmr at macports.org jmr at macports.org
Fri Jun 21 16:39:13 PDT 2013


Revision: 107224
          https://trac.macports.org/changeset/107224
Author:   jmr at macports.org
Date:     2013-06-21 16:39:13 -0700 (Fri, 21 Jun 2013)
Log Message:
-----------
py-magic: fix setuptools dep type, disable livecheck in subports

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

Modified: trunk/dports/python/py-magic/Portfile
===================================================================
--- trunk/dports/python/py-magic/Portfile	2013-06-21 23:28:39 UTC (rev 107223)
+++ trunk/dports/python/py-magic/Portfile	2013-06-21 23:39:13 UTC (rev 107224)
@@ -28,15 +28,15 @@
 checksums           rmd160  f0ecd397e69782088d63b2ead30ffd04e76f0ac5 \
                     sha256  d49a5f1b51dce2b0313bf147a1ff96da25037fe2279cab386731e05f3b232937
 
-python.default_version  27
 python.versions     25 26 27 32 33
 
 if {$subport != $name} {
+    depends_build   port:py${python.version}-setuptools
     depends_lib-append  \
-                    port:file \
-                    port:py${python.version}-setuptools
+                    port:file
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "python-magic-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "python-magic-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130621/19618ebd/attachment.html>


More information about the macports-changes mailing list