diff options
Diffstat (limited to 'dev-python/hyper-h2/hyper-h2-2.5.1.ebuild')
-rw-r--r-- | dev-python/hyper-h2/hyper-h2-2.5.1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/hyper-h2/hyper-h2-2.5.1.ebuild b/dev-python/hyper-h2/hyper-h2-2.5.1.ebuild new file mode 100644 index 000000000000..41c3c6f756e0 --- /dev/null +++ b/dev-python/hyper-h2/hyper-h2-2.5.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) + +inherit distutils-r1 + +MY_PN="h2" + +DESCRIPTION="HTTP/2 State-Machine based protocol implementation" +HOMEPAGE="https://python-hyper.org/h2/en/stable + https://github.com/python-hyper/hyper-h2 + https://pypi.org/project/h2/" +SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND=" + >=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) +" +DEPEND="${RDEPEND} +" + +S=${WORKDIR}/${MY_PN}-${PV} |