summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-02-02 00:46:54 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-02-02 00:47:14 +0100
commit303c30dff0be2d25f87bc946b9eebbc57786e4de (patch)
treeb9f33d8a6714f251eb5787682b2edb0bb78ebbf1 /net-analyzer
parentnet-analyzer/wapiti: add 3.1.6 (diff)
downloadgentoo-303c30dff0be2d25f87bc946b9eebbc57786e4de.tar.gz
gentoo-303c30dff0be2d25f87bc946b9eebbc57786e4de.tar.bz2
gentoo-303c30dff0be2d25f87bc946b9eebbc57786e4de.zip
net-analyzer/wapiti: enable py3.11
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/wapiti/wapiti-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-analyzer/wapiti/wapiti-9999.ebuild b/net-analyzer/wapiti/wapiti-9999.ebuild
index 979d31139bd6..462342ee254f 100644
--- a/net-analyzer/wapiti/wapiti-9999.ebuild
+++ b/net-analyzer/wapiti/wapiti-9999.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE='xml(+)'
inherit distutils-r1 git-r3
@@ -17,6 +18,7 @@ SLOT="0"
KEYWORDS=""
# Requires httpx-ntlm (to package)
#IUSE="ntlm"
+IUSE="test"
# httpx requires brotli and socks, so depending on
# dev-python/socksio and dev-python/brotlicffi
@@ -30,7 +32,7 @@ RDEPEND="dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/tld[${PYTHON_USEDEP}]
dev-python/yaswfp[${PYTHON_USEDEP}]"
-distutils_enable_tests --install pytest
+distutils_enable_tests pytest
# Tests also require unpackaged respx
BDEPEND+=" test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]