summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorleot <leot>2015-08-23 14:06:11 +0000
committerleot <leot>2015-08-23 14:06:11 +0000
commit8d5395d19273e1b2c11d1da904b8131eaec7ac0e (patch)
treef136ddd5e5e781b4f60f24547e40b02688743eac /net
parent9341c3ed99302c9d042888b7e18ed83162dde97e (diff)
downloadpkgsrc-8d5395d19273e1b2c11d1da904b8131eaec7ac0e.tar.gz
Import net/py-hpack as py-hpack-1.1.0 (needed to update net/mitmproxy).
ok bsiegert@. Pure-Python HTTP/2 header encoding (HPACK) logic for use in Python programs that implement HTTP/2. It also contains a compatibility layer that automatically enables the use of nghttp2 if it's available.
Diffstat (limited to 'net')
-rw-r--r--net/py-hpack/DESCR3
-rw-r--r--net/py-hpack/Makefile16
-rw-r--r--net/py-hpack/PLIST29
-rw-r--r--net/py-hpack/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/net/py-hpack/DESCR b/net/py-hpack/DESCR
new file mode 100644
index 00000000000..6ee935eb97b
--- /dev/null
+++ b/net/py-hpack/DESCR
@@ -0,0 +1,3 @@
+Pure-Python HTTP/2 header encoding (HPACK) logic for use in Python
+programs that implement HTTP/2. It also contains a compatibility layer
+that automatically enables the use of nghttp2 if it's available.
diff --git a/net/py-hpack/Makefile b/net/py-hpack/Makefile
new file mode 100644
index 00000000000..f44f638612f
--- /dev/null
+++ b/net/py-hpack/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2015/08/23 14:06:11 leot Exp $
+
+DISTNAME= hpack-1.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/hpack/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://hyper.rtfd.org/
+COMMENT= Pure-Python HPACK header compression
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-hpack/PLIST b/net/py-hpack/PLIST
new file mode 100644
index 00000000000..bcdef68000d
--- /dev/null
+++ b/net/py-hpack/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2015/08/23 14:06:11 leot Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hpack/__init__.py
+${PYSITELIB}/hpack/__init__.pyc
+${PYSITELIB}/hpack/__init__.pyo
+${PYSITELIB}/hpack/compat.py
+${PYSITELIB}/hpack/compat.pyc
+${PYSITELIB}/hpack/compat.pyo
+${PYSITELIB}/hpack/exceptions.py
+${PYSITELIB}/hpack/exceptions.pyc
+${PYSITELIB}/hpack/exceptions.pyo
+${PYSITELIB}/hpack/hpack.py
+${PYSITELIB}/hpack/hpack.pyc
+${PYSITELIB}/hpack/hpack.pyo
+${PYSITELIB}/hpack/hpack_compat.py
+${PYSITELIB}/hpack/hpack_compat.pyc
+${PYSITELIB}/hpack/hpack_compat.pyo
+${PYSITELIB}/hpack/huffman.py
+${PYSITELIB}/hpack/huffman.pyc
+${PYSITELIB}/hpack/huffman.pyo
+${PYSITELIB}/hpack/huffman_constants.py
+${PYSITELIB}/hpack/huffman_constants.pyc
+${PYSITELIB}/hpack/huffman_constants.pyo
+${PYSITELIB}/hpack/table.py
+${PYSITELIB}/hpack/table.pyc
+${PYSITELIB}/hpack/table.pyo
diff --git a/net/py-hpack/distinfo b/net/py-hpack/distinfo
new file mode 100644
index 00000000000..7b5b7c89290
--- /dev/null
+++ b/net/py-hpack/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/08/23 14:06:11 leot Exp $
+
+SHA1 (hpack-1.1.0.tar.gz) = 41752e6580934d68634f48a823cb1a667f420542
+RMD160 (hpack-1.1.0.tar.gz) = dbb3a6f060822e9cbd12c2e5205edf3d528b5fec
+Size (hpack-1.1.0.tar.gz) = 18013 bytes