summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-10-14 22:07:00 +0000
committerwiz <wiz@pkgsrc.org>2012-10-14 22:07:00 +0000
commit9dd8f048d458b1303e3f3db72f5fc480a98c3e58 (patch)
treed1e68ba717ed35064ba68be28a05bc9d1b24fe62 /www
parent99e7f4b245a50466b680a82380d655b43f8e36e8 (diff)
downloadpkgsrc-9dd8f048d458b1303e3f3db72f5fc480a98c3e58.tar.gz
Import py-httplib2-0.7.6 as www/py-httplib2 from wip, mostly by
mj_turner and jihbed. A comprehensive Python HTTP client library that supports many features left out of other HTTP libraries. Features: o HTTP and HTTPS o Keep-Alive o Authentication o Caching o All Methods o Redirects o Compression o Lost update support o Unit Tested
Diffstat (limited to 'www')
-rw-r--r--www/py-httplib2/DESCR13
-rw-r--r--www/py-httplib2/Makefile23
-rw-r--r--www/py-httplib2/PLIST16
-rw-r--r--www/py-httplib2/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/www/py-httplib2/DESCR b/www/py-httplib2/DESCR
new file mode 100644
index 00000000000..0b05181cb11
--- /dev/null
+++ b/www/py-httplib2/DESCR
@@ -0,0 +1,13 @@
+A comprehensive Python HTTP client library that supports many features left out
+of other HTTP libraries.
+
+Features:
+ o HTTP and HTTPS
+ o Keep-Alive
+ o Authentication
+ o Caching
+ o All Methods
+ o Redirects
+ o Compression
+ o Lost update support
+ o Unit Tested
diff --git a/www/py-httplib2/Makefile b/www/py-httplib2/Makefile
new file mode 100644
index 00000000000..ce1bdde9e1e
--- /dev/null
+++ b/www/py-httplib2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2012/10/14 22:07:00 wiz Exp $
+
+DISTNAME= httplib2-0.7.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= http://httplib2.googlecode.com/files/
+
+MAINTAINER= mj@mjturner.net
+HOMEPAGE= http://code.google.com/p/httplib2/
+COMMENT= Comprehensive http client library for Python
+LICENSE= mit
+
+# Install README manually
+DOCDIR= ${PREFIX}/share/doc/py-httplib2
+
+INSTALLATION_DIRS= ${DOCDIR}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-httplib2/PLIST b/www/py-httplib2/PLIST
new file mode 100644
index 00000000000..1867ad7eefb
--- /dev/null
+++ b/www/py-httplib2/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2012/10/14 22:07:00 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/httplib2/__init__.py
+${PYSITELIB}/httplib2/__init__.pyc
+${PYSITELIB}/httplib2/__init__.pyo
+${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/distinfo b/www/py-httplib2/distinfo
new file mode 100644
index 00000000000..b1f3b8522f9
--- /dev/null
+++ b/www/py-httplib2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/10/14 22:07:00 wiz Exp $
+
+SHA1 (httplib2-0.7.6.tar.gz) = 4ad095cb3d65ddded5381dc4edc4078f908d7885
+RMD160 (httplib2-0.7.6.tar.gz) = 2261d6659a0d6058d1db680eeab992bae06a81df
+Size (httplib2-0.7.6.tar.gz) = 141916 bytes