dev-python/hyper-h2: New package, new dependency of dev-python/twisted

Package-Manager: portage-2.3.1
This commit is contained in:
Brian Dolbec
2016-09-30 15:56:30 -07:00
parent be2b87c283
commit 78810b5d6a
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST hyper-h2-2.4.0.tar.gz 77440 SHA256 c673efad0b8ee3c3c604375dd5e0c3dbc74f3c4e0385dae120d22b7d6f6ec301 SHA512 76835d6c97d4aed515b460bdbbcb8aea1ea061a416386cadf66a0e9b3c213a9ffe67948ce49b922d99e1895615a03159aa6aed198857e1ce73eb734b8bd9a016 WHIRLPOOL 9a5c1d313f53ee842403c77a8324aa432ff3d04d3d3737f6f7da83e5ff85e51ea6794419fa8886368cf34d4a7be3ff3b7ed19eb13a74ef8318fad738a71b9ef4

View File

@@ -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}

View File

@@ -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.
Its 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>