pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-h11: Import py-h11-0.7.0 as wip/py-h11
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Feb 22 21:41:36 2018 +0100
Changeset: 058a9b80db2647aa053043a6e7a98f2f64d70c95
Modified Files:
Makefile
Added Files:
py-h11/DESCR
py-h11/Makefile
py-h11/PLIST
py-h11/distinfo
Log Message:
py-h11: Import py-h11-0.7.0 as wip/py-h11
This is a little HTTP/1.1 library written from scratch in Python,
heavily inspired by hyper-h2.
It's a "bring-your-own-I/O" library; h11 contains no IO code
whatsoever. This means you can hook h11 up to your favorite network
API, and that could be anything you want: synchronous, threaded,
asynchronous, or your own implementation of RFC 6214 - h11 won't
judge you. (Compare this to the current state of the art, where
every time a new network API comes along then someone gets to start
over reimplementing the entire HTTP protocol from scratch.)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=058a9b80db2647aa053043a6e7a98f2f64d70c95
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-h11/DESCR | 10 +++++++++
py-h11/Makefile | 17 ++++++++++++++
py-h11/PLIST | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
py-h11/distinfo | 6 +++++
5 files changed, 103 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9f966abf89..9936582986 100644
--- a/Makefile
+++ b/Makefile
@@ -3245,6 +3245,7 @@ SUBDIR+= py-guppy
SUBDIR+= py-gvar
SUBDIR+= py-gwpy
SUBDIR+= py-gwsurrogate
+SUBDIR+= py-h11
SUBDIR+= py-hamilton
SUBDIR+= py-hamnonlineng
SUBDIR+= py-hamopy
diff --git a/py-h11/DESCR b/py-h11/DESCR
new file mode 100644
index 0000000000..e4d92a17a3
--- /dev/null
+++ b/py-h11/DESCR
@@ -0,0 +1,10 @@
+This is a little HTTP/1.1 library written from scratch in Python,
+heavily inspired by hyper-h2.
+
+It's a "bring-your-own-I/O" library; h11 contains no IO code
+whatsoever. This means you can hook h11 up to your favorite network
+API, and that could be anything you want: synchronous, threaded,
+asynchronous, or your own implementation of RFC 6214 - h11 won't
+judge you. (Compare this to the current state of the art, where
+every time a new network API comes along then someone gets to start
+over reimplementing the entire HTTP protocol from scratch.)
diff --git a/py-h11/Makefile b/py-h11/Makefile
new file mode 100644
index 0000000000..2119b9df53
--- /dev/null
+++ b/py-h11/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.5 2017/06/21 09:57:57 adam Exp $
+
+DISTNAME= h11-0.7.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/h11/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/njsmith/h11
+COMMENT= Pure-Python, bring-your-own-I/O implementation of HTTP/1.1
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-h11/PLIST b/py-h11/PLIST
new file mode 100644
index 0000000000..5fecaf30cd
--- /dev/null
+++ b/py-h11/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/h11/__init__.py
+${PYSITELIB}/h11/__init__.pyc
+${PYSITELIB}/h11/__init__.pyo
+${PYSITELIB}/h11/_connection.py
+${PYSITELIB}/h11/_connection.pyc
+${PYSITELIB}/h11/_connection.pyo
+${PYSITELIB}/h11/_events.py
+${PYSITELIB}/h11/_events.pyc
+${PYSITELIB}/h11/_events.pyo
+${PYSITELIB}/h11/_headers.py
+${PYSITELIB}/h11/_headers.pyc
+${PYSITELIB}/h11/_headers.pyo
+${PYSITELIB}/h11/_readers.py
+${PYSITELIB}/h11/_readers.pyc
+${PYSITELIB}/h11/_readers.pyo
+${PYSITELIB}/h11/_receivebuffer.py
+${PYSITELIB}/h11/_receivebuffer.pyc
+${PYSITELIB}/h11/_receivebuffer.pyo
+${PYSITELIB}/h11/_state.py
+${PYSITELIB}/h11/_state.pyc
+${PYSITELIB}/h11/_state.pyo
+${PYSITELIB}/h11/_util.py
+${PYSITELIB}/h11/_util.pyc
+${PYSITELIB}/h11/_util.pyo
+${PYSITELIB}/h11/_version.py
+${PYSITELIB}/h11/_version.pyc
+${PYSITELIB}/h11/_version.pyo
+${PYSITELIB}/h11/_writers.py
+${PYSITELIB}/h11/_writers.pyc
+${PYSITELIB}/h11/_writers.pyo
+${PYSITELIB}/h11/tests/__init__.py
+${PYSITELIB}/h11/tests/__init__.pyc
+${PYSITELIB}/h11/tests/__init__.pyo
+${PYSITELIB}/h11/tests/data/test-file
+${PYSITELIB}/h11/tests/helpers.py
+${PYSITELIB}/h11/tests/helpers.pyc
+${PYSITELIB}/h11/tests/helpers.pyo
+${PYSITELIB}/h11/tests/test_against_stdlib_http.py
+${PYSITELIB}/h11/tests/test_against_stdlib_http.pyc
+${PYSITELIB}/h11/tests/test_against_stdlib_http.pyo
+${PYSITELIB}/h11/tests/test_connection.py
+${PYSITELIB}/h11/tests/test_connection.pyc
+${PYSITELIB}/h11/tests/test_connection.pyo
+${PYSITELIB}/h11/tests/test_events.py
+${PYSITELIB}/h11/tests/test_events.pyc
+${PYSITELIB}/h11/tests/test_events.pyo
+${PYSITELIB}/h11/tests/test_headers.py
+${PYSITELIB}/h11/tests/test_headers.pyc
+${PYSITELIB}/h11/tests/test_headers.pyo
+${PYSITELIB}/h11/tests/test_helpers.py
+${PYSITELIB}/h11/tests/test_helpers.pyc
+${PYSITELIB}/h11/tests/test_helpers.pyo
+${PYSITELIB}/h11/tests/test_io.py
+${PYSITELIB}/h11/tests/test_io.pyc
+${PYSITELIB}/h11/tests/test_io.pyo
+${PYSITELIB}/h11/tests/test_receivebuffer.py
+${PYSITELIB}/h11/tests/test_receivebuffer.pyc
+${PYSITELIB}/h11/tests/test_receivebuffer.pyo
+${PYSITELIB}/h11/tests/test_state.py
+${PYSITELIB}/h11/tests/test_state.pyc
+${PYSITELIB}/h11/tests/test_state.pyo
+${PYSITELIB}/h11/tests/test_util.py
+${PYSITELIB}/h11/tests/test_util.pyc
+${PYSITELIB}/h11/tests/test_util.pyo
diff --git a/py-h11/distinfo b/py-h11/distinfo
new file mode 100644
index 0000000000..a2abefc83c
--- /dev/null
+++ b/py-h11/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.4 2017/06/21 09:57:57 adam Exp $
+
+SHA1 (h11-0.7.0.zip) = 82dda1ecde1d8c2e5056fe329c177a8a62d13772
+RMD160 (h11-0.7.0.zip) = 549b548f195333573f7b3a6f4157af33303b0b27
+SHA512 (h11-0.7.0.zip) = abf9b8f7f12870804539049c3bfebbbe476e394636aed9967aa725d501fff983f28c7f14b4b882c17914d00fe3e74417ff8922128d0e4e07bf042a7db6d0b100
+Size (h11-0.7.0.zip) = 105979 bytes
Home |
Main Index |
Thread Index |
Old Index