From 5ea03b4e2d9404c81372da945deab521da25e05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 11 Jul 2025 15:50:13 +0200 Subject: [PATCH] net-analyzer/wapiti: Fix variable order, use EPYTEST_PLUGINS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild b/net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild index b2bbd8189c223..9a6fb012834f2 100644 --- a/net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild +++ b/net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild @@ -21,6 +21,8 @@ KEYWORDS="~amd64" # Requires httpx-ntlm (to package) #IUSE="ntlm" IUSE="test" +PROPERTIES="test_network" +RESTRICT="test" # httpx requires brotli and socks, so depending on # dev-python/socksio and dev-python/brotlicffi @@ -46,19 +48,20 @@ RDEPEND=" >=dev-python/tld-0.12.5[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] >=dev-python/yaswfp-0.9.3[${PYTHON_USEDEP}] - >=net-proxy/mitmproxy-9.0.0[${PYTHON_USEDEP}]" + >=net-proxy/mitmproxy-9.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-lang/php + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/respx[${PYTHON_USEDEP}] + ) +" +EPYTEST_PLUGINS=( pytest-asyncio ) distutils_enable_tests pytest -BDEPEND+=" test? ( - dev-lang/php - dev-python/greenlet[${PYTHON_USEDEP}] - dev-python/humanize[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/respx[${PYTHON_USEDEP}] - )" -PROPERTIES="test_network" -RESTRICT="test" PATCHES=( "${FILESDIR}"/${PN}-3.1.6-setup_scripts.patch )