[143363] trunk/dports/python/py-httplib2/Portfile

aronnax at macports.org aronnax at macports.org
Sat Dec 12 09:40:11 PST 2015


Revision: 143363
          https://trac.macports.org/changeset/143363
Author:   aronnax at macports.org
Date:     2015-12-11 06:23:51 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
py-httplib2: update to 0.9.2

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

Modified: trunk/dports/python/py-httplib2/Portfile
===================================================================
--- trunk/dports/python/py-httplib2/Portfile	2015-12-11 10:55:41 UTC (rev 143362)
+++ trunk/dports/python/py-httplib2/Portfile	2015-12-11 14:23:51 UTC (rev 143363)
@@ -4,35 +4,33 @@
 PortGroup         python 1.0
 
 name              py-httplib2
-version           2-0.8
+set realversion   0.9.2
+version           2-${realversion}
 categories-append devel net
 license           MIT
 platforms         darwin
-maintainers       ram openmaintainer
+maintainers       ram aronnax openmaintainer
 
 description       A comprehensive HTTP client library in Python
 long_description  A comprehensive HTTP client library that supports \
                   many features left out of other HTTP libraries.
 
-homepage          http://code.google.com/p/httplib2/
-master_sites      http://httplib2.googlecode.com/files/
-distname          httplib${version}
+homepage          http://pypi.python.org/pypi/${python.rootname}/
+master_sites      pypi:[string index ${python.rootname} 0]/${python.rootname}
+distname          ${python.rootname}-${realversion}
 
-python.versions   26 27 33 34
+python.versions   26 27 33 34 35
 
-checksums         rmd160 c5f812da928fbd5bd80c3134ba29a5e7654e3673 \
-                  sha256 af689bc3cb10a95721eb0d0cf806202a699e7799dacd3497f63b48b2ba429c3f
+checksums         md5    bd1b1445b3b2dfa7276b09b1a07b7f0e \
+                  rmd160 305916f7a3f9ff7a262d770b7cf19e808ea11105 \
+                  sha256 c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988
 
 if {${name} ne ${subport}} {
-  # Extracted files do not have correct 'group' and 'other' permissions.
-  post-extract {
-    system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
-    system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
-  }
+  depends_build-append \
+                    port:py${python.version}-setuptools
 
   livecheck.type    none
 } else {
-  livecheck.type    regex
-  livecheck.url     ${homepage}downloads/list
-  livecheck.regex   {httplib(\d-\d+(?:\.\d+)*).tar.gz}
+  livecheck.type    pypi
+  livecheck.version ${realversion}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/236d1ceb/attachment.html>


More information about the macports-changes mailing list