summaryrefslogtreecommitdiff
path: root/www/py-http-parser
diff options
context:
space:
mode:
authorrodent <rodent>2013-12-31 19:32:32 +0000
committerrodent <rodent>2013-12-31 19:32:32 +0000
commit1d10c84126e03079ef2af1a1a1ecbc28fa688127 (patch)
tree68a549a3175a431c5638a125101ba01752510975 /www/py-http-parser
parent46229bdea274b58e1aeab701dd53017e364a2c8d (diff)
downloadpkgsrc-1d10c84126e03079ef2af1a1a1ecbc28fa688127.tar.gz
Import py27-http-parser-0.8.3 as www/py-http-parser.
HTTP request/response parser for Python compatible with Python 2.x (>=2.6), Python 3 and Pypy. If possible a C parser based on http-parser from Ryan Dahl will be used.
Diffstat (limited to 'www/py-http-parser')
-rw-r--r--www/py-http-parser/DESCR3
-rw-r--r--www/py-http-parser/Makefile18
-rw-r--r--www/py-http-parser/PLIST24
-rw-r--r--www/py-http-parser/distinfo5
4 files changed, 50 insertions, 0 deletions
diff --git a/www/py-http-parser/DESCR b/www/py-http-parser/DESCR
new file mode 100644
index 00000000000..119435f2887
--- /dev/null
+++ b/www/py-http-parser/DESCR
@@ -0,0 +1,3 @@
+HTTP request/response parser for Python compatible with Python 2.x (>=2.6),
+Python 3 and Pypy. If possible a C parser based on http-parser from Ryan Dahl
+will be used.
diff --git a/www/py-http-parser/Makefile b/www/py-http-parser/Makefile
new file mode 100644
index 00000000000..6ba91fa948a
--- /dev/null
+++ b/www/py-http-parser/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/12/31 19:32:32 rodent Exp $
+
+DISTNAME= http-parser-0.8.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= https://pypi.python.org/packages/source/h/http-parser/
+FETCH_USING= curl
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://github.com/benoitc/http-parser
+COMMENT= HTTP request/response parser
+LICENSE= mit
+
+USE_LANGUAGES= c
+EGG_NAME= ${DISTNAME:S/-/_/1}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-http-parser/PLIST b/www/py-http-parser/PLIST
new file mode 100644
index 00000000000..a0da5670b93
--- /dev/null
+++ b/www/py-http-parser/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2013/12/31 19:32:32 rodent Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/http_parser/__init__.py
+${PYSITELIB}/http_parser/__init__.pyc
+${PYSITELIB}/http_parser/__init__.pyo
+${PYSITELIB}/http_parser/_socketio.py
+${PYSITELIB}/http_parser/_socketio.pyc
+${PYSITELIB}/http_parser/_socketio.pyo
+${PYSITELIB}/http_parser/http.py
+${PYSITELIB}/http_parser/http.pyc
+${PYSITELIB}/http_parser/http.pyo
+${PYSITELIB}/http_parser/parser.so
+${PYSITELIB}/http_parser/pyparser.py
+${PYSITELIB}/http_parser/pyparser.pyc
+${PYSITELIB}/http_parser/pyparser.pyo
+${PYSITELIB}/http_parser/reader.py
+${PYSITELIB}/http_parser/reader.pyc
+${PYSITELIB}/http_parser/reader.pyo
+${PYSITELIB}/http_parser/util.py
+${PYSITELIB}/http_parser/util.pyc
+${PYSITELIB}/http_parser/util.pyo
diff --git a/www/py-http-parser/distinfo b/www/py-http-parser/distinfo
new file mode 100644
index 00000000000..e751be0759f
--- /dev/null
+++ b/www/py-http-parser/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/12/31 19:32:32 rodent Exp $
+
+SHA1 (http-parser-0.8.3.tar.gz) = de2509e6b62d6beb191e0953d3b098ffac27fedd
+RMD160 (http-parser-0.8.3.tar.gz) = 5953b6a238917e14b1bf6c1e4f995fbac03463b5
+Size (http-parser-0.8.3.tar.gz) = 83040 bytes