Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
Date: Wed, 06 Oct 2021 22:37:36
Message-Id: 1633559837.a061df2acc28d02ea217306ea0c00d87635d38aa.Alessandro-Barbieri@gentoo
1 commit: a061df2acc28d02ea217306ea0c00d87635d38aa
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Oct 6 22:37:17 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Wed Oct 6 22:37:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a061df2a
7
8 dev-python/hypercorn: EAPI 8
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 .../{hypercorn-0.11.2.ebuild => hypercorn-0.11.2-r1.ebuild} | 9 +++------
13 1 file changed, 3 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/hypercorn/hypercorn-0.11.2.ebuild b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
16 similarity index 90%
17 rename from dev-python/hypercorn/hypercorn-0.11.2.ebuild
18 rename to dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
19 index 181ee3e08..b8758ae61 100644
20 --- a/dev-python/hypercorn/hypercorn-0.11.2.ebuild
21 +++ b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
22 @@ -1,7 +1,7 @@
23 # Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=7
27 +EAPI=8
28
29 DISTUTILS_USE_SETUPTOOLS=rdepend
30 DOCS_BUILDER="sphinx"
31 @@ -10,6 +10,7 @@ DOCS_DEPEND="
32 dev-python/pydata-sphinx-theme
33 "
34 DOCS_DIR="${S}/docs"
35 +EPYTEST_DESELECT=( tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request )
36 PYTHON_COMPAT=( python3_{8..9} )
37
38 inherit distutils-r1 docs optfeature
39 @@ -29,7 +30,7 @@ KEYWORDS="~amd64"
40
41 RDEPEND="
42 dev-python/h11[${PYTHON_USEDEP}]
43 - >=dev-python/hyper-h2-3.1.0[${PYTHON_USEDEP}]
44 + >=dev-python/h2-3.1.0[${PYTHON_USEDEP}]
45 dev-python/priority[${PYTHON_USEDEP}]
46 dev-python/toml[${PYTHON_USEDEP}]
47 >=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
48 @@ -48,10 +49,6 @@ PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
49
50 distutils_enable_tests pytest
51
52 -python_test() {
53 - epytest -vv --deselect tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request || die
54 -}
55 -
56 pkg_postinst() {
57 optfeature "asyncio event loop on top of libuv" dev-python/uvloop
58 optfeature "websockets support using wsproto" dev-python/wsproto