commit:     b7bcb34f8bebe157a99316b72472f7c172d45d04
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 18 13:13:43 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 15:45:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7bcb34f

dev-python/blinker: Add missing pytest-asyncio dep

Closes: https://bugs.gentoo.org/930185
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/blinker/blinker-1.7.0.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-python/blinker/blinker-1.7.0.ebuild 
b/dev-python/blinker/blinker-1.7.0.ebuild
index caa91f2b57eb..c965ec466d37 100644
--- a/dev-python/blinker/blinker-1.7.0.ebuild
+++ b/dev-python/blinker/blinker-1.7.0.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,4 +18,15 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 
+BDEPEND="
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+       )
+"
+
 distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -p asyncio
+}

Reply via email to