summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-09-30 15:56:30 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-10-07 11:11:11 -0700
commit78810b5d6aaf7d7dadc982869f573ccc911012c7 (patch)
tree153dff9e7bc44b798ea5c09895c6b59b0612908b /dev-python/hyper-h2
parentdev-python/hyperframe: New package, dependency of dev-python/hyper-h2 (diff)
downloadgentoo-78810b5d6aaf7d7dadc982869f573ccc911012c7.tar.gz
gentoo-78810b5d6aaf7d7dadc982869f573ccc911012c7.tar.bz2
gentoo-78810b5d6aaf7d7dadc982869f573ccc911012c7.zip
dev-python/hyper-h2: New package, new dependency of dev-python/twisted
Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-python/hyper-h2')
-rw-r--r--dev-python/hyper-h2/Manifest1
-rw-r--r--dev-python/hyper-h2/hyper-h2-2.4.0.ebuild31
-rw-r--r--dev-python/hyper-h2/metadata.xml24
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/hyper-h2/Manifest b/dev-python/hyper-h2/Manifest
new file mode 100644
index 000000000000..5dad240cbf79
--- /dev/null
+++ b/dev-python/hyper-h2/Manifest
@@ -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
index 000000000000..fbf71d6f3c2e
--- /dev/null
+++ b/dev-python/hyper-h2/hyper-h2-2.4.0.ebuild
@@ -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
index 000000000000..7a636dc28f20
--- /dev/null
+++ b/dev-python/hyper-h2/metadata.xml
@@ -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>