summaryrefslogtreecommitdiff
path: root/www/py-httplib2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-18 07:43:44 +0000
committerwiz <wiz@pkgsrc.org>2014-01-18 07:43:44 +0000
commit269759f591e0512a7d2678a555f1611fd5aef730 (patch)
treeb072b27d66a973b42cac051e9b5ad9a4aff11d5b /www/py-httplib2
parent4bf2873f89fe0fb4ef5c7e690808327949ac6ed5 (diff)
downloadpkgsrc-269759f591e0512a7d2678a555f1611fd5aef730.tar.gz
Update to 0.8, and fix PLIST for python-3.x.
0.8 More fixes for the App Engine support. Added a new feature that allows you to supply your own provider for the CA_CERTS file. Just create a module named ca_certs_locater that has a method get() that returns the file location of the CA_CERTS file. Lots of clean up of the code formatting to make it more consistent.
Diffstat (limited to 'www/py-httplib2')
-rw-r--r--www/py-httplib2/Makefile10
-rw-r--r--www/py-httplib2/PLIST5
-rw-r--r--www/py-httplib2/PLIST.py24
-rw-r--r--www/py-httplib2/distinfo8
4 files changed, 17 insertions, 10 deletions
diff --git a/www/py-httplib2/Makefile b/www/py-httplib2/Makefile
index 5ceb71446da..9414c0e30e3 100644
--- a/www/py-httplib2/Makefile
+++ b/www/py-httplib2/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2012/12/16 16:16:37 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2014/01/18 07:43:44 wiz Exp $
-DISTNAME= httplib2-0.7.7
+DISTNAME= httplib2-0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= http://httplib2.googlecode.com/files/
@@ -10,6 +10,12 @@ HOMEPAGE= http://code.google.com/p/httplib2/
COMMENT= Comprehensive http client library for Python
LICENSE= mit
+.include "../../lang/python/pyversion.mk"
+
+.if !(${PYPKGPREFIX} == "py33")
+PLIST_SRC+= PLIST PLIST.py2
+.endif
+
# Install README manually
DOCDIR= ${PREFIX}/share/doc/py-httplib2
diff --git a/www/py-httplib2/PLIST b/www/py-httplib2/PLIST
index 1867ad7eefb..b6070503e43 100644
--- a/www/py-httplib2/PLIST
+++ b/www/py-httplib2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/10/14 22:07:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/01/18 07:43:44 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -10,7 +10,4 @@ ${PYSITELIB}/httplib2/cacerts.txt
${PYSITELIB}/httplib2/iri2uri.py
${PYSITELIB}/httplib2/iri2uri.pyc
${PYSITELIB}/httplib2/iri2uri.pyo
-${PYSITELIB}/httplib2/socks.py
-${PYSITELIB}/httplib2/socks.pyc
-${PYSITELIB}/httplib2/socks.pyo
share/doc/py-httplib2/README
diff --git a/www/py-httplib2/PLIST.py2 b/www/py-httplib2/PLIST.py2
new file mode 100644
index 00000000000..eaf9e513221
--- /dev/null
+++ b/www/py-httplib2/PLIST.py2
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.py2,v 1.1 2014/01/18 07:43:44 wiz Exp $
+${PYSITELIB}/httplib2/socks.py
+${PYSITELIB}/httplib2/socks.pyc
+${PYSITELIB}/httplib2/socks.pyo
diff --git a/www/py-httplib2/distinfo b/www/py-httplib2/distinfo
index 4ff4563b235..e75245778f3 100644
--- a/www/py-httplib2/distinfo
+++ b/www/py-httplib2/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2012/12/16 16:16:37 wiz Exp $
+$NetBSD: distinfo,v 1.3 2014/01/18 07:43:44 wiz Exp $
-SHA1 (httplib2-0.7.7.tar.gz) = 6c5b748676518e1162a10f1c3c63ca960a30a7a0
-RMD160 (httplib2-0.7.7.tar.gz) = 8b34577f317d63c6008227c6f06e81d30cb81983
-Size (httplib2-0.7.7.tar.gz) = 144020 bytes
+SHA1 (httplib2-0.8.tar.gz) = 169815e9417bfe0fdbb74644a3d3b892c0647612
+RMD160 (httplib2-0.8.tar.gz) = c5f812da928fbd5bd80c3134ba29a5e7654e3673
+Size (httplib2-0.8.tar.gz) = 148284 bytes