commit:     ab850411d17f4bdbb5aac88aea12baf71791d4ba
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 15:36:17 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 08:42:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab850411

dev-python/txaio: Depend on dev-python/test

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/txaio/txaio-23.1.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-python/txaio/txaio-23.1.1.ebuild 
b/dev-python/txaio/txaio-23.1.1.ebuild
index 8a0c0e58ed8c..75eb9f611886 100644
--- a/dev-python/txaio/txaio-23.1.1.ebuild
+++ b/dev-python/txaio/txaio-23.1.1.ebuild
@@ -17,6 +17,14 @@ HOMEPAGE="
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+       test? (
+               dev-python/test[${PYTHON_USEDEP}]
+       )
+"
 
 distutils_enable_sphinx docs \
        '>=dev-python/sphinxcontrib-spelling-2.1.2' \

Reply via email to