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.diff -r1.2 -r1.3 pkgsrc/www/py-httplib2/Makefile
(wiz)
@@ -1,23 +1,29 @@ | @@ -1,23 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2012/12/16 16:16:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2014/01/18 07:43:44 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= httplib2-0.7.7 | 3 | DISTNAME= httplib2-0.8 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= http://httplib2.googlecode.com/files/ | 6 | MASTER_SITES= http://httplib2.googlecode.com/files/ | |
7 | 7 | |||
8 | MAINTAINER= mj@mjturner.net | 8 | MAINTAINER= mj@mjturner.net | |
9 | HOMEPAGE= http://code.google.com/p/httplib2/ | 9 | HOMEPAGE= http://code.google.com/p/httplib2/ | |
10 | COMMENT= Comprehensive http client library for Python | 10 | COMMENT= Comprehensive http client library for Python | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | .include "../../lang/python/pyversion.mk" | |||
14 | ||||
15 | .if !(${PYPKGPREFIX} == "py33") | |||
16 | PLIST_SRC+= PLIST PLIST.py2 | |||
17 | .endif | |||
18 | ||||
13 | # Install README manually | 19 | # Install README manually | |
14 | DOCDIR= ${PREFIX}/share/doc/py-httplib2 | 20 | DOCDIR= ${PREFIX}/share/doc/py-httplib2 | |
15 | 21 | |||
16 | INSTALLATION_DIRS= ${DOCDIR} | 22 | INSTALLATION_DIRS= ${DOCDIR} | |
17 | 23 | |||
18 | post-install: | 24 | post-install: | |
19 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} | 25 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} | |
20 | ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} | 26 | ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} | |
21 | 27 | |||
22 | .include "../../lang/python/egg.mk" | 28 | .include "../../lang/python/egg.mk" | |
23 | .include "../../mk/bsd.pkg.mk" | 29 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2012/12/16 16:16:37 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.3 2014/01/18 07:43:44 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (httplib2-0.7.7.tar.gz) = 6c5b748676518e1162a10f1c3c63ca960a30a7a0 | 3 | SHA1 (httplib2-0.8.tar.gz) = 169815e9417bfe0fdbb74644a3d3b892c0647612 | |
4 | RMD160 (httplib2-0.7.7.tar.gz) = 8b34577f317d63c6008227c6f06e81d30cb81983 | 4 | RMD160 (httplib2-0.8.tar.gz) = c5f812da928fbd5bd80c3134ba29a5e7654e3673 | |
5 | Size (httplib2-0.7.7.tar.gz) = 144020 bytes | 5 | Size (httplib2-0.8.tar.gz) = 148284 bytes |
@@ -1,16 +1,13 @@ | @@ -1,16 +1,13 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2012/10/14 22:07:00 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2014/01/18 07:43:44 wiz Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
6 | ${PYSITELIB}/httplib2/__init__.py | 6 | ${PYSITELIB}/httplib2/__init__.py | |
7 | ${PYSITELIB}/httplib2/__init__.pyc | 7 | ${PYSITELIB}/httplib2/__init__.pyc | |
8 | ${PYSITELIB}/httplib2/__init__.pyo | 8 | ${PYSITELIB}/httplib2/__init__.pyo | |
9 | ${PYSITELIB}/httplib2/cacerts.txt | 9 | ${PYSITELIB}/httplib2/cacerts.txt | |
10 | ${PYSITELIB}/httplib2/iri2uri.py | 10 | ${PYSITELIB}/httplib2/iri2uri.py | |
11 | ${PYSITELIB}/httplib2/iri2uri.pyc | 11 | ${PYSITELIB}/httplib2/iri2uri.pyc | |
12 | ${PYSITELIB}/httplib2/iri2uri.pyo | 12 | ${PYSITELIB}/httplib2/iri2uri.pyo | |
13 | ${PYSITELIB}/httplib2/socks.py | |||
14 | ${PYSITELIB}/httplib2/socks.pyc | |||
15 | ${PYSITELIB}/httplib2/socks.pyo | |||
16 | share/doc/py-httplib2/README | 13 | share/doc/py-httplib2/README |
@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