summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-12 09:39:25 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-12 10:36:59 +0200
commit7fd8437a4af8ae520eff384569e4a163449d3ccb (patch)
tree540ec6bdfc250018800f6c77b5ea0d2a0551a9ee /dev-python/watchdog
parentdev-python/asgiref: Enable pypy3 (diff)
downloadgentoo-7fd8437a4af8ae520eff384569e4a163449d3ccb.tar.gz
gentoo-7fd8437a4af8ae520eff384569e4a163449d3ccb.tar.bz2
gentoo-7fd8437a4af8ae520eff384569e4a163449d3ccb.zip
dev-python/watchdog: Enable pypy3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/watchdog')
-rw-r--r--dev-python/watchdog/watchdog-2.1.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-python/watchdog/watchdog-2.1.1.ebuild b/dev-python/watchdog/watchdog-2.1.1.ebuild
index 0b8865d4eefb..e022224d86e4 100644
--- a/dev-python/watchdog/watchdog-2.1.1.ebuild
+++ b/dev-python/watchdog/watchdog-2.1.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
inherit distutils-r1 optfeature
DESCRIPTION="Python API and shell utilities to monitor file system events"
@@ -30,7 +30,12 @@ src_prepare() {
}
python_test() {
- epytest -p no:django
+ local deselect=()
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=(
+ tests/test_inotify_buffer.py::test_move_internal_batch
+ )
+
+ epytest -p no:django ${deselect[@]/#/--deselect }
}
pkg_postinst() {