[107164] trunk/dports/python/py-roman/Portfile

aronnax at macports.org aronnax at macports.org
Thu Jun 20 12:40:21 PDT 2013


Revision: 107164
          https://trac.macports.org/changeset/107164
Author:   aronnax at macports.org
Date:     2013-06-20 12:40:21 -0700 (Thu, 20 Jun 2013)
Log Message:
-----------
py-roman: disable livecheck for subports

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

Modified: trunk/dports/python/py-roman/Portfile
===================================================================
--- trunk/dports/python/py-roman/Portfile	2013-06-20 19:34:41 UTC (rev 107163)
+++ trunk/dports/python/py-roman/Portfile	2013-06-20 19:40:21 UTC (rev 107164)
@@ -24,7 +24,10 @@
                     sha1    7fd136f80cf780bbf802ffe1c4989a64ff469c75 \
                     rmd160  a8ca66d5fafd340986a45332d861d6bae259fe1e
 
-if {$subport != $name} {
+if {$subport == $name} {
+    livecheck.type  regex
+    livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
+} else {
     depends_build   port:py${python.version}-setuptools
 
     pre-activate {
@@ -34,7 +37,6 @@
             registry_deactivate_composite py${python.version}-docutils "" [list ports_nodepcheck 1]
         }
     }
+
+    livecheck.type  none
 }
-
-livecheck.type      regex
-livecheck.regex     [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130620/717abd04/attachment.html>


More information about the macports-changes mailing list