Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 12:35:27 +0000 (UTC)
From:      Veniamin Gvozdikov <vg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370518 - in head/www: . py-http-parser
Message-ID:  <201410091235.s99CZRMX058228@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vg
Date: Thu Oct  9 12:35:26 2014
New Revision: 370518
URL: https://svnweb.freebsd.org/changeset/ports/370518
QAT: https://qat.redports.org/buildarchive/r370518/

Log:
  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/

Added:
  head/www/py-http-parser/
  head/www/py-http-parser/Makefile   (contents, props changed)
  head/www/py-http-parser/distinfo   (contents, props changed)
  head/www/py-http-parser/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Thu Oct  9 11:53:22 2014	(r370517)
+++ head/www/Makefile	Thu Oct  9 12:35:26 2014	(r370518)
@@ -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

Added: head/www/py-http-parser/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-http-parser/Makefile	Thu Oct  9 12:35:26 2014	(r370518)
@@ -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>

Added: head/www/py-http-parser/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-http-parser/distinfo	Thu Oct  9 12:35:26 2014	(r370518)
@@ -0,0 +1,2 @@
+SHA256 (http-parser-0.8.3.tar.gz) = e2aff90a60def3e476bd71694d8757c0f95ebf2fedf0a8ae34ee306e0b20db83
+SIZE (http-parser-0.8.3.tar.gz) = 83040

Added: head/www/py-http-parser/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-http-parser/pkg-descr	Thu Oct  9 12:35:26 2014	(r370518)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410091235.s99CZRMX058228>