dev-python/hyper-h2: New package, new dependency of dev-python/twisted
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 30 Sep 2016 22:56:30 +0000 (15:56 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Fri, 7 Oct 2016 18:11:11 +0000 (11:11 -0700)
Package-Manager: portage-2.3.1

dev-python/hyper-h2/Manifest [new file with mode: 0644]
dev-python/hyper-h2/hyper-h2-2.4.0.ebuild [new file with mode: 0644]
dev-python/hyper-h2/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/hyper-h2/Manifest b/dev-python/hyper-h2/Manifest
new file mode 100644 (file)
index 0000000..5dad240
--- /dev/null
@@ -0,0 +1 @@
+DIST hyper-h2-2.4.0.tar.gz 77440 SHA256 c673efad0b8ee3c3c604375dd5e0c3dbc74f3c4e0385dae120d22b7d6f6ec301 SHA512 76835d6c97d4aed515b460bdbbcb8aea1ea061a416386cadf66a0e9b3c213a9ffe67948ce49b922d99e1895615a03159aa6aed198857e1ce73eb734b8bd9a016 WHIRLPOOL 9a5c1d313f53ee842403c77a8324aa432ff3d04d3d3737f6f7da83e5ff85e51ea6794419fa8886368cf34d4a7be3ff3b7ed19eb13a74ef8318fad738a71b9ef4
diff --git a/dev-python/hyper-h2/hyper-h2-2.4.0.ebuild b/dev-python/hyper-h2/hyper-h2-2.4.0.ebuild
new file mode 100644 (file)
index 0000000..fbf71d6
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy)
+
+inherit distutils-r1
+
+MY_PN="h2"
+
+DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
+HOMEPAGE="http://python-hyper.org/h2 https://pypi.python.org/pypi/h2"
+SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       >=dev-python/hyperframe-4.0.1[${PYTHON_USEDEP}]
+       <dev-python/hyperframe-5.0.0[${PYTHON_USEDEP}]
+       >=dev-python/hpack-2.2.0[${PYTHON_USEDEP}]
+       <dev-python/hpack-3.0.0[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' python2_7)
+       $(python_gen_cond_dep '<dev-python/enum34-2.0.0[${PYTHON_USEDEP}]' python2_7)
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}-${PV}
diff --git a/dev-python/hyper-h2/metadata.xml b/dev-python/hyper-h2/metadata.xml
new file mode 100644 (file)
index 0000000..7a636dc
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>dol-sen@gentoo.org</email>
+               <description>Primary maintainer</description>
+       </maintainer>
+       <maintainer type="project">
+               <email>python@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
+       <upstream>
+               <maintainer>
+                       <email>cory@lukasa.co.uk</email>
+                       <name>Cory Benfield</name>
+               </maintainer>
+               <remote-id type="pypi">h2</remote-id>
+       </upstream>
+       <longdescription>A pure-Python implementation of a HTTP/2 protocol stack.
+               It’s written from the ground up to be embeddable in whatever program
+               you choose to use, ensuring that you can speak HTTP/2 regardless of
+               your programming paradigm.
+       </longdescription>
+</pkgmetadata>