mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/priority: New package, new dep of twisted
CVE-2016-6580: All versions of this library prior to 1.2.0 are vulnerable to a denial of service attack... Package-Manager: portage-2.3.1_p8
This commit is contained in:
1
dev-python/priority/Manifest
Normal file
1
dev-python/priority/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST priority-1.2.0.tar.gz 12064 SHA256 70468e7f43c4bb19cd966d63f78367d8c5af68828611aa3f3e5d77b8948cd2d4 SHA512 00cac802a7d4a6960e71d6d5552c2649becb07e9bd124421b8a391f3681ecdfcc4928725cfffe1011143789b75b8660bd178dbef1f7ebfadd25057d9d7f22dee WHIRLPOOL b1a2d5d9f64e22f341d6ee8f0e0dc43e4fdd2cebb0330ff186be12dbf3e676a20e17b1e27dae1eb7679e6debffaed92eeb2cc88f45fc8180bbc13cca8df2b7e4
|
||||
25
dev-python/priority/metadata.xml
Normal file
25
dev-python/priority/metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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">priority</remote-id>
|
||||
</upstream>
|
||||
<longdescription>Priority is a pure-Python implementation of the priority
|
||||
logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority).
|
||||
This logic allows for clients to express a preference for how the
|
||||
server allocates its (limited) resources to the many outstanding HTTP
|
||||
requests that may be running over a single HTTP/2 connection.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
33
dev-python/priority/priority-1.2.0.ebuild
Normal file
33
dev-python/priority/priority-1.2.0.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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
|
||||
|
||||
DESCRIPTION="A pure-Python implementation of the HTTP/2 priority tree"
|
||||
HOMEPAGE="http://python-hyper.org/priority https://github.com/python-hyper/priority https://pypi.python.org/pypi/priority"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
>=dev-python/pytest-2.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-cov-2.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-1.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}/test:${BUILD_DIR}/lib" py.test -v || die "Tests failed under ${EPYTHON}"
|
||||
cd test
|
||||
}
|
||||
Reference in New Issue
Block a user