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/hyper-h2-2.4.0.ebuild
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/hyper-h2-2.4.0.ebuild')
-rw-r--r--dev-python/hyper-h2/hyper-h2-2.4.0.ebuild31
1 files changed, 31 insertions, 0 deletions
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}