[92933] trunk/dports/python/py-requests/Portfile

stromnov at macports.org stromnov at macports.org
Fri May 11 04:10:50 PDT 2012


Revision: 92933
          https://trac.macports.org/changeset/92933
Author:   stromnov at macports.org
Date:     2012-05-11 04:10:48 -0700 (Fri, 11 May 2012)
Log Message:
-----------
py-requests: update homepage, fix livecheck, cleanup whitespaces

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

Modified: trunk/dports/python/py-requests/Portfile
===================================================================
--- trunk/dports/python/py-requests/Portfile	2012-05-11 10:31:44 UTC (rev 92932)
+++ trunk/dports/python/py-requests/Portfile	2012-05-11 11:10:48 UTC (rev 92933)
@@ -6,23 +6,31 @@
 
 name                py-requests
 version             0.10.7
+revision            0
+categories          python devel
+license             ISC
+platforms           darwin
+supported_archs     noarch
+
 python.versions     26 27
 python.default_version  27
-categories          python devel
-platforms           darwin
+
 maintainers         saispo gmail.com:larry.velazquez openmaintainer
-license             ISC
-homepage            http://pypi.python.org/pypi/requests
+
 description         Python HTTP for Humans.
+
 long_description    Most existing Python modules for dealing HTTP \
                     requests are insane. I have to look up everything \
                     that I want to do. Most of my worst Python \
                     experiences are a result of the various built-in \
-                    HTTP libraries (yes, even worse than Logging). \nBut\
+                    HTTP libraries (yes, even worse than Logging). But \
                     this one's different. This one's going to be \
-                    awesome. And simple. \nReally simple.
+                    awesome. And simple. Really simple.
 
+
+homepage            http://python-requests.org/
 master_sites        http://pypi.python.org/packages/source/r/requests
+
 distname            requests-${version}
 
 checksums           rmd160  4f78eb77bbf4796017ead539d7583852dbcc8fe7 \
@@ -32,6 +40,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${homepage}
-    livecheck.regex     Release v(\\d+(\\.\\d+)+)
+    livecheck.url       ${master_sites}
+    livecheck.regex     "requests-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120511/fca4e4f2/attachment.html>


More information about the macports-changes mailing list