commit: a061df2acc28d02ea217306ea0c00d87635d38aa
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Oct 6 22:37:17 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Oct 6 22:37:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a061df2a
dev-python/hypercorn: EAPI 8
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../{hypercorn-0.11.2.ebuild => hypercorn-0.11.2-r1.ebuild} | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dev-python/hypercorn/hypercorn-0.11.2.ebuild
b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
similarity index 90%
rename from dev-python/hypercorn/hypercorn-0.11.2.ebuild
rename to dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
index 181ee3e08..b8758ae61 100644
--- a/dev-python/hypercorn/hypercorn-0.11.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DISTUTILS_USE_SETUPTOOLS=rdepend
DOCS_BUILDER="sphinx"
@@ -10,6 +10,7 @@ DOCS_DEPEND="
dev-python/pydata-sphinx-theme
"
DOCS_DIR="${S}/docs"
+EPYTEST_DESELECT=(
tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request )
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 docs optfeature
@@ -29,7 +30,7 @@ KEYWORDS="~amd64"
RDEPEND="
dev-python/h11[${PYTHON_USEDEP}]
- >=dev-python/hyper-h2-3.1.0[${PYTHON_USEDEP}]
+ >=dev-python/h2-3.1.0[${PYTHON_USEDEP}]
dev-python/priority[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
@@ -48,10 +49,6 @@ PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
distutils_enable_tests pytest
-python_test() {
- epytest -vv --deselect
tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request || die
-}
-
pkg_postinst() {
optfeature "asyncio event loop on top of libuv" dev-python/uvloop
optfeature "websockets support using wsproto" dev-python/wsproto