pkgsrc-WIP-changes archive

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

py-aioh2: Import py-aioh2-0.2.2 as wip/py-aioh2



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <iamleot%gmail.com@localhost>
Pushed By:	leot
Date:		Thu Jun 28 01:23:24 2018 +0200
Changeset:	261a4af9a5b4336343596e554f5d8b4a9ca513fa

Modified Files:
	Makefile
Added Files:
	py-aioh2/DESCR
	py-aioh2/Makefile
	py-aioh2/PLIST
	py-aioh2/distinfo
	py-aioh2/patches/patch-setup.py

Log Message:
py-aioh2: Import py-aioh2-0.2.2 as wip/py-aioh2

HTTP/2 implementation with hyper-h2 on Python 3 asyncio.

Features:
* Asynchronous HTTP/2 client and server
* Multiplexing streams of data with managed flow and priority control
* Optional tickless health check
* More to come

Non-features:
* Request/Response wrappers
* Web server, dispatcher, cookie, etc
* HTTP/2 upgrade

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=261a4af9a5b4336343596e554f5d8b4a9ca513fa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                        |  1 +
 py-aioh2/DESCR                  | 12 ++++++++++++
 py-aioh2/Makefile               | 21 +++++++++++++++++++++
 py-aioh2/PLIST                  | 19 +++++++++++++++++++
 py-aioh2/distinfo               |  7 +++++++
 py-aioh2/patches/patch-setup.py | 17 +++++++++++++++++
 6 files changed, 77 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 59947603c2..8cce479aae 100644
--- a/Makefile
+++ b/Makefile
@@ -2880,6 +2880,7 @@ SUBDIR+=	py-agaro
 SUBDIR+=	py-ahoy
 SUBDIR+=	py-aigo
 SUBDIR+=	py-aikif
+SUBDIR+=	py-aioh2
 SUBDIR+=	py-aipy
 SUBDIR+=	py-albatross
 SUBDIR+=	py-alfanous
diff --git a/py-aioh2/DESCR b/py-aioh2/DESCR
new file mode 100644
index 0000000000..109f381ee5
--- /dev/null
+++ b/py-aioh2/DESCR
@@ -0,0 +1,12 @@
+HTTP/2 implementation with hyper-h2 on Python 3 asyncio.
+
+Features:
+* Asynchronous HTTP/2 client and server
+* Multiplexing streams of data with managed flow and priority control
+* Optional tickless health check
+* More to come
+
+Non-features:
+* Request/Response wrappers
+* Web server, dispatcher, cookie, etc
+* HTTP/2 upgrade
diff --git a/py-aioh2/Makefile b/py-aioh2/Makefile
new file mode 100644
index 0000000000..b6101e4243
--- /dev/null
+++ b/py-aioh2/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	aioh2-0.2.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	www python
+MASTER_SITES=	${MASTER_SITE_PYPI:=a/aioh2/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/decentfox/aioh2
+COMMENT=	HTTP/2 implementation with hyper-h2 on Python 3 asyncio
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+DEPENDS+=	${PYPKGPREFIX}-h2>=3:../../www/py-h2
+DEPENDS+=	${PYPKGPREFIX}-priority>=1.3.0:../../wip/py-priority
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-aioh2/PLIST b/py-aioh2/PLIST
new file mode 100644
index 0000000000..b44cdcca14
--- /dev/null
+++ b/py-aioh2/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aioh2/__init__.py
+${PYSITELIB}/aioh2/__init__.pyc
+${PYSITELIB}/aioh2/__init__.pyo
+${PYSITELIB}/aioh2/exceptions.py
+${PYSITELIB}/aioh2/exceptions.pyc
+${PYSITELIB}/aioh2/exceptions.pyo
+${PYSITELIB}/aioh2/helper.py
+${PYSITELIB}/aioh2/helper.pyc
+${PYSITELIB}/aioh2/helper.pyo
+${PYSITELIB}/aioh2/protocol.py
+${PYSITELIB}/aioh2/protocol.pyc
+${PYSITELIB}/aioh2/protocol.pyo
diff --git a/py-aioh2/distinfo b/py-aioh2/distinfo
new file mode 100644
index 0000000000..257348d93f
--- /dev/null
+++ b/py-aioh2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (aioh2-0.2.2.tar.gz) = 03f9bc58f8fc37a3a517cd8d06468c70339178ba
+RMD160 (aioh2-0.2.2.tar.gz) = 86ffaef78bdd140420f040a4c2d1f1951f29def5
+SHA512 (aioh2-0.2.2.tar.gz) = a9a7c1fdbf6def7840ec928adbe7926990c763db5efaa28d3b6809d8b340eccbbaf4b98e3c738085abb8491b7c7a0d1185ca4feefaca4c95964ffdacb4d91fc8
+Size (aioh2-0.2.2.tar.gz) = 24585 bytes
+SHA1 (patch-setup.py) = b115e9e49b7c4162242eace49374add709f7b930
diff --git a/py-aioh2/patches/patch-setup.py b/py-aioh2/patches/patch-setup.py
new file mode 100644
index 0000000000..708eaab5a7
--- /dev/null
+++ b/py-aioh2/patches/patch-setup.py
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Avoid too strict version requirements.
+
+--- setup.py.orig	2018-02-05 02:32:51.000000000 +0000
++++ setup.py
+@@ -12,8 +12,8 @@ with open('HISTORY.rst') as history_file
+     history = history_file.read()
+ 
+ requirements = [
+-    'h2 >=3, <4',
+-    'priority==1.3.0',
++    'h2 >=3',
++    'priority >=1.3.0',
+ ]
+ 
+ test_requirements = [


Home | Main Index | Thread Index | Old Index