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.

WWW: https://github.com/benoitc/http-parser/
This commit is contained in:
Veniamin Gvozdikov 2014-10-09 12:35:26 +00:00
parent 63e77b8398
commit 0ed6f4e1a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370518
4 changed files with 29 additions and 0 deletions

View File

@ -1542,6 +1542,7 @@
SUBDIR += py-grequests
SUBDIR += py-gunicorn
SUBDIR += py-html5lib
SUBDIR += py-http-parser
SUBDIR += py-httplib2
SUBDIR += py-imdbpy
SUBDIR += py-jonpy

View File

@ -0,0 +1,21 @@
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= http-parser
PORTVERSION= 0.8.3
CATEGORIES= www
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= vg@FreeBSD.org
COMMENT= HTTP request/response parser for python in C
LICENSE= MIT
USES= python
USE_PYTHON= autoplist distutils
post-build:
@${STRIP_CMD} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/http_parser/parser.so
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (http-parser-0.8.3.tar.gz) = e2aff90a60def3e476bd71694d8757c0f95ebf2fedf0a8ae34ee306e0b20db83
SIZE (http-parser-0.8.3.tar.gz) = 83040

View File

@ -0,0 +1,5 @@
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.
WWW: https://github.com/benoitc/http-parser/