From 88d027efd2c6f3fe35fc42dc09ebfadbab72e2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 14 Feb 2024 17:23:54 +0100 Subject: [PATCH] dev-python/txrequests: Fix running tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/txrequests/txrequests-0.9.6-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/txrequests/txrequests-0.9.6-r1.ebuild b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild index 035df39222d84..34f717029574b 100644 --- a/dev-python/txrequests/txrequests-0.9.6-r1.ebuild +++ b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,8 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv ~x86" IUSE="test" -RESTRICT="!test? ( test )" +PROPERTIES="test_network" +RESTRICT="test" RDEPEND=" >=dev-python/requests-1.2.0[${PYTHON_USEDEP}] @@ -31,5 +32,6 @@ BDEPEND=" " python_test() { - "${EPYTHON}" -m twisted.trial txrequests || die "Tests failed with ${EPYTHON}" + "${EPYTHON}" -m twisted.trial test_txrequests || + die "Tests failed for ${EPYTHON}" }