commit:     74402352c6e28241cee03357a6d5993b9e5e3765
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 17 09:03:38 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 09:14:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74402352

dev-python/sniffio: Enable pypy3

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

 dev-python/sniffio/sniffio-1.2.0.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/sniffio/sniffio-1.2.0.ebuild 
b/dev-python/sniffio/sniffio-1.2.0.ebuild
index f6f3ddbd3664..13064b3ad091 100644
--- a/dev-python/sniffio/sniffio-1.2.0.ebuild
+++ b/dev-python/sniffio/sniffio-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Sniff out which async library your code is running under"
@@ -20,11 +20,7 @@ KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc 
x86"
 
 distutils_enable_tests pytest
 
-python_test() {
-       local deselect=(
-               # curio is not packaged
-               sniffio/_tests/test_sniffio.py::test_curio
-       )
-
-       epytest ${deselect[@]/#/--deselect }
-}
+EPYTEST_DESELECT=(
+       # curio is not packaged
+       sniffio/_tests/test_sniffio.py::test_curio
+)

Reply via email to