From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3FD08138330 for ; Fri, 7 Oct 2016 18:11:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 200DF21C170; Fri, 7 Oct 2016 18:11:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D574521C170 for ; Fri, 7 Oct 2016 18:11:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A87C341417 for ; Fri, 7 Oct 2016 18:11:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A494F24AB for ; Fri, 7 Oct 2016 18:11:28 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1475863872.8b8f631701d6633dbaf6e80b21375272eb14d716.dolsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/priority/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/priority/Manifest dev-python/priority/metadata.xml dev-python/priority/priority-1.2.0.ebuild X-VCS-Directories: dev-python/priority/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 8b8f631701d6633dbaf6e80b21375272eb14d716 X-VCS-Branch: master Date: Fri, 7 Oct 2016 18:11:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 90264138-701a-4460-93e4-ace792a635c9 X-Archives-Hash: 495612983ec132c278c9c7a6a62b065e commit: 8b8f631701d6633dbaf6e80b21375272eb14d716 Author: Brian Dolbec gentoo org> AuthorDate: Fri Sep 30 22:57:52 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Fri Oct 7 18:11:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8f6317 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 dev-python/priority/Manifest | 1 + dev-python/priority/metadata.xml | 25 +++++++++++++++++++++++ dev-python/priority/priority-1.2.0.ebuild | 33 +++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/priority/Manifest b/dev-python/priority/Manifest new file mode 100644 index 00000000..f15a8e2 --- /dev/null +++ b/dev-python/priority/Manifest @@ -0,0 +1 @@ +DIST priority-1.2.0.tar.gz 12064 SHA256 70468e7f43c4bb19cd966d63f78367d8c5af68828611aa3f3e5d77b8948cd2d4 SHA512 00cac802a7d4a6960e71d6d5552c2649becb07e9bd124421b8a391f3681ecdfcc4928725cfffe1011143789b75b8660bd178dbef1f7ebfadd25057d9d7f22dee WHIRLPOOL b1a2d5d9f64e22f341d6ee8f0e0dc43e4fdd2cebb0330ff186be12dbf3e676a20e17b1e27dae1eb7679e6debffaed92eeb2cc88f45fc8180bbc13cca8df2b7e4 diff --git a/dev-python/priority/metadata.xml b/dev-python/priority/metadata.xml new file mode 100644 index 00000000..b087972 --- /dev/null +++ b/dev-python/priority/metadata.xml @@ -0,0 +1,25 @@ + + + + + dol-sen@gentoo.org + Primary maintainer + + + python@gentoo.org + Python + + + + cory@lukasa.co.uk + Cory Benfield + + priority + + 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. + + diff --git a/dev-python/priority/priority-1.2.0.ebuild b/dev-python/priority/priority-1.2.0.ebuild new file mode 100644 index 00000000..e7b9d0d --- /dev/null +++ b/dev-python/priority/priority-1.2.0.ebuild @@ -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 +}