[120227] trunk/dports/python/py-hachoir-urwid/Portfile

mf2k at macports.org mf2k at macports.org
Mon May 19 15:04:45 PDT 2014


Revision: 120227
          https://trac.macports.org/changeset/120227
Author:   mf2k at macports.org
Date:     2014-05-19 15:04:45 -0700 (Mon, 19 May 2014)
Log Message:
-----------
py-hachoir-urwid: Fix dependencies.

Modified Paths:
--------------
    trunk/dports/python/py-hachoir-urwid/Portfile

Modified: trunk/dports/python/py-hachoir-urwid/Portfile
===================================================================
--- trunk/dports/python/py-hachoir-urwid/Portfile	2014-05-19 21:57:38 UTC (rev 120226)
+++ trunk/dports/python/py-hachoir-urwid/Portfile	2014-05-19 22:04:45 UTC (rev 120227)
@@ -26,13 +26,17 @@
 checksums           rmd160  63964024d1b52bd3d485f493aae81ef57897406d \
                     sha256  95161ccc0708818958e974fde4d395ddf181cc05e92839e2c6aff1a8cac40681
 
-depends_lib         port:py-hachoir-core \
-                    port:py-hachoir-parser \
-                    port:py-urwid
-
 python.versions     24 25 26 27
 python.default_version  27
 
-livecheck.type      regex
-livecheck.url       http://pypi.python.org/packages/source/h/hachoir-urwid/
-livecheck.regex     {hachoir-urwid-(\d+(?:\.\d+)*)\.tar\.gz}
+if {${name} ne ${subport}} {
+    depends_lib         port:py${python.version}-hachoir-core \
+                        port:py${python.version}-hachoir-parser \
+                        port:py${python.version}-urwid
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       http://pypi.python.org/packages/source/h/hachoir-urwid/
+    livecheck.regex     {hachoir-urwid-(\d+(?:\.\d+)*)\.tar\.gz}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140519/347997a2/attachment.html>


More information about the macports-changes mailing list