[97528] trunk/dports/python/py-urlgrabber/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Sep 7 18:56:57 PDT 2012
Revision: 97528
https://trac.macports.org/changeset/97528
Author: michaelld at macports.org
Date: 2012-09-07 18:56:57 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
py-urlgrabber : set default python version to avoid bad dependency; set livecheck in outside scope only.
Modified Paths:
--------------
trunk/dports/python/py-urlgrabber/Portfile
Modified: trunk/dports/python/py-urlgrabber/Portfile
===================================================================
--- trunk/dports/python/py-urlgrabber/Portfile 2012-09-08 01:53:32 UTC (rev 97527)
+++ trunk/dports/python/py-urlgrabber/Portfile 2012-09-08 01:56:57 UTC (rev 97528)
@@ -7,6 +7,7 @@
name py-urlgrabber
version 3.9.1
python.versions 24 25 26 27
+python.default_version 27
maintainers afb stromnov openmaintainer
description High-level cross-protocol url-grabber
@@ -30,10 +31,16 @@
depends_lib-append port:py${python.version}-curl
post-patch {
- reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/scripts/urlgrabber
+ reinplace "s|/usr/bin/python|${python.bin}|g" \
+ ${worksrcpath}/scripts/urlgrabber
}
+
+ livecheck.type none
+
+} else {
+
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex "urlgrabber-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+
}
-
-livecheck.type regex
-livecheck.url ${master_sites}
-livecheck.regex "urlgrabber-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/67dbe137/attachment.html>
More information about the macports-changes
mailing list