pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-h11 py-h11: Import py-h11-0.7.0 as www/py-h11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ded7da535ecd
branches:  trunk
changeset: 376169:ded7da535ecd
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Feb 26 12:06:13 2018 +0000

description:
py-h11: Import py-h11-0.7.0 as www/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.)

diffstat:

 www/py-h11/DESCR    |  10 +++++++
 www/py-h11/Makefile |  17 +++++++++++++
 www/py-h11/PLIST    |  69 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 www/py-h11/distinfo |   6 ++++
 4 files changed, 102 insertions(+), 0 deletions(-)

diffs (118 lines):

diff -r b129758306ae -r ded7da535ecd www/py-h11/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-h11/DESCR  Mon Feb 26 12:06:13 2018 +0000
@@ -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 -r b129758306ae -r ded7da535ecd www/py-h11/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-h11/Makefile       Mon Feb 26 12:06:13 2018 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/02/26 12:06:13 leot 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 -r b129758306ae -r ded7da535ecd www/py-h11/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-h11/PLIST  Mon Feb 26 12:06:13 2018 +0000
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/26 12:06:13 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}/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 -r b129758306ae -r ded7da535ecd www/py-h11/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-h11/distinfo       Mon Feb 26 12:06:13 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/26 12:06:13 leot 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