[91028] trunk/dports/python/py-novas_py/Portfile

aronnax at macports.org aronnax at macports.org
Thu Mar 22 06:25:32 PDT 2012


Revision: 91028
          https://trac.macports.org/changeset/91028
Author:   aronnax at macports.org
Date:     2012-03-22 06:25:32 -0700 (Thu, 22 Mar 2012)
Log Message:
-----------
py-novas_py: variants, patchfiles protected by subport check

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

Modified: trunk/dports/python/py-novas_py/Portfile
===================================================================
--- trunk/dports/python/py-novas_py/Portfile	2012-03-22 13:07:04 UTC (rev 91027)
+++ trunk/dports/python/py-novas_py/Portfile	2012-03-22 13:25:32 UTC (rev 91028)
@@ -26,6 +26,14 @@
 python.versions         25 26 27
 python.default_version  27
 
+if {${name} == ${subport}} {
+
+livecheck.type          regex
+livecheck.url           ${master_sites}
+livecheck.regex         {NOVAS_Py-(\d+(?:\.\d+)*).tar.gz}
+
+} else {
+
 default_variants        +DE405
 
 variant DE405 description \
@@ -41,14 +49,6 @@
 
 patchfiles              patch-compat.py.diff
 
-if {${name} == ${subport}} {
+livecheck.type  none
 
-livecheck.type          regex
-livecheck.url           ${master_sites}
-livecheck.regex         {NOVAS_Py-(\d+(?:\.\d+)*).tar.gz}
-
-} else {
-
-livecheck.type          none
-
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120322/85aa3757/attachment-0001.html>


More information about the macports-changes mailing list