[106463] trunk/dports/python/py-oauth2client/Portfile

larryv at macports.org larryv at macports.org
Mon May 27 11:03:07 PDT 2013


Revision: 106463
          https://trac.macports.org/changeset/106463
Author:   larryv at macports.org
Date:     2013-05-27 11:03:07 -0700 (Mon, 27 May 2013)
Log Message:
-----------
py*-oauth2client: Update to 1.1, remove Python 3 subports, add homepage (#38469).

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

Modified: trunk/dports/python/py-oauth2client/Portfile
===================================================================
--- trunk/dports/python/py-oauth2client/Portfile	2013-05-27 17:59:03 UTC (rev 106462)
+++ trunk/dports/python/py-oauth2client/Portfile	2013-05-27 18:03:07 UTC (rev 106463)
@@ -5,8 +5,11 @@
 PortGroup           python 1.0
 
 name                py-oauth2client
-version             1.0
-python.versions     25 26 27 31 32
+set realname        oauth2client
+version             1.1
+
+python.versions     25 26 27
+
 categories-append   www
 maintainers         nomaintainer
 license             Apache-2
@@ -16,23 +19,24 @@
 platforms           darwin
 supported_archs     noarch
 
-master_sites        http://pypi.python.org/packages/source/o/oauth2client
-distname            oauth2client-${version}
+homepage            http://pypi.python.org/pypi/${realname}
+master_sites        http://pypi.python.org/packages/source/o/${realname}
+distname            ${realname}-${version}
 
 if {$subport != $name} {
-depends_build-append port:py${python.version}-distribute
+    depends_build-append port:py${python.version}-distribute
 
-post-destroot {
-    set egg-info ${destroot}${python.pkgd}/oauth2client-${version}-py${python.branch}.egg-info
-    foreach d [glob -dir ${egg-info} *] {
-        file attributes ${d} -permissions 0644
+    post-destroot {        
+        set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info
+        foreach d [glob -dir ${egg-info} *] {
+            file attributes ${d} -permissions 0644
+        }
     }
 }
-}
 
-checksums           rmd160  41f2fd682491042e5f1e596ba24be865730fdaa3 \
-                    sha256  9122e21921eabe3d33da0ed096f49ce347457e9b293000a2859c850e9417bbba
+checksums           rmd160  ab43a71dc403e52d07f88a95ba5293f1004ca3db \
+                    sha256  8505bfbe87f45a511ab256896da244eed560acf7d9372a6f7036cd494476c662
 
 livecheck.type      regex
-livecheck.url       http://pypi.python.org/pypi/oauth2client
-livecheck.regex     "oauth2client (\[1-9\]+\.\[0-9\]+)"
+livecheck.url       http://pypi.python.org/pypi/${realname}
+livecheck.regex     "${realname} (\[1-9\]+\.\[0-9\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130527/cf59158d/attachment.html>


More information about the macports-changes mailing list