commit: 64d14663a319d591729ab35414eda9354de05de3
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 3 15:34:00 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 08:42:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d14663
dev-python/pyasyncore: Depend on dev-python/test
Copy of the stdlib, and the stdlib tests, from pre-3.12
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyasyncore/pyasyncore-1.0.4.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild
b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild
index 0cb8d3d610b3..ce24a3a3dd8c 100644
--- a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild
+++ b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild
@@ -17,6 +17,14 @@ HOMEPAGE="
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ dev-python/test[${PYTHON_USEDEP}]
+ )
+"
python_test() {
# Can't use d_e_t unittest (bug #926964)