commit: d296a6434d86a6b033369a08019987d265a6704c
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 3 15:35:03 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 08:42:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d296a643
dev-python/pyasynchat: 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/pyasynchat/pyasynchat-1.0.4.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
index ba48e9e8acdc..3ba1840d14aa 100644
--- a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
+++ b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
@@ -17,10 +17,17 @@ HOMEPAGE="
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}]
"
+BDEPEND="
+ test? (
+ dev-python/test[${PYTHON_USEDEP}]
+ )
+"
distutils_enable_tests unittest