[97524] trunk/dports/python
michaelld at macports.org
michaelld at macports.org
Fri Sep 7 17:37:22 PDT 2012
Revision: 97524
https://trac.macports.org/changeset/97524
Author: michaelld at macports.org
Date: 2012-09-07 17:37:21 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
py*-urlgrabber : Combine into 1 port with subports; expand to include Python 2.7.
Modified Paths:
--------------
trunk/dports/python/py-urlgrabber/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-urlgrabber/
trunk/dports/python/py26-urlgrabber/
Modified: trunk/dports/python/py-urlgrabber/Portfile
===================================================================
--- trunk/dports/python/py-urlgrabber/Portfile 2012-09-08 00:19:58 UTC (rev 97523)
+++ trunk/dports/python/py-urlgrabber/Portfile 2012-09-08 00:37:21 UTC (rev 97524)
@@ -1,24 +1,36 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem 1.0
+PortGroup python 1.0
-name py-urlgrabber
-version 3.1.0
-categories python
-platforms darwin
-maintainers afb openmaintainer
-description High-level cross-protocol url-grabber
-long_description python-urlgrabber is a high-level cross-protocol url-grabber for python \
- supporting HTTP, FTP and file locations. Features include keepalive, byte \
- ranges, throttling, authentication, proxies and more.
+name py-urlgrabber
+version 3.9.1
+python.versions 24 25 26 27
+maintainers afb stromnov openmaintainer
+description High-level cross-protocol url-grabber
-homepage http://linux.duke.edu/projects/urlgrabber/
-master_sites ${homepage}download/
-distname urlgrabber-${version}
-checksums md5 2a92d8ce0d89c5e772a98e9b8dcd5b73
+long_description Urlgrabber is a high-level cross-protocol url-grabber for python \
+ supporting HTTP, FTP and file locations. Features include keepalive, \
+ byte ranges, throttling, authentication, proxies and more.
-livecheck.type regex
-livecheck.url http://linux.duke.edu/projects/urlgrabber/download/
-livecheck.regex urlgrabber-(\[0-9\.-\]+).tar.gz
+platforms darwin
+
+homepage http://urlgrabber.baseurl.org/
+master_sites http://urlgrabber.baseurl.org/download/
+distname urlgrabber-${version}
+
+checksums md5 00c8359bf71062d0946bacea521f80b4 \
+ sha1 937c7ad3177539c337d4010e0175b2c7bd874938 \
+ rmd160 377196ddb01f6cd4903e063e8e9cba40a0f80fff
+
+depends_lib port:py${python.version}-curl
+
+post-patch {
+ reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/scripts/urlgrabber
+}
+
+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/ab75de3e/attachment.html>
More information about the macports-changes
mailing list