[97948] trunk/dports/python/py-httplib2/Portfile

blair at macports.org blair at macports.org
Thu Sep 20 11:01:48 PDT 2012


Revision: 97948
          http://trac.macports.org//changeset/97948
Author:   blair at macports.org
Date:     2012-09-20 11:01:48 -0700 (Thu, 20 Sep 2012)
Log Message:
-----------
py-httplib2: use the standard ${name} != ${subport} condition for subports.

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

Modified: trunk/dports/python/py-httplib2/Portfile
===================================================================
--- trunk/dports/python/py-httplib2/Portfile	2012-09-20 17:24:39 UTC (rev 97947)
+++ trunk/dports/python/py-httplib2/Portfile	2012-09-20 18:01:48 UTC (rev 97948)
@@ -23,10 +23,10 @@
 checksums         rmd160 2261d6659a0d6058d1db680eeab992bae06a81df \
                   sha256 baa7bf431fa9d3c1016562de717e1ebb322a99df72a2918f6b5b8f65fa65bc2e
 
-if {${name} == ${subport}} {
+if {${name} != ${subport}} {
+  livecheck.type    none
+} else {
   livecheck.type    regex
   livecheck.url     ${homepage}downloads/list
   livecheck.regex   {httplib(\d-\d+(?:\.\d+)*).tar.gz}
-} else {
-  livecheck.type    none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120920/12cb2ded/attachment.html>


More information about the macports-changes mailing list