summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-27 09:28:49 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-27 13:37:44 +0200
commitac0f3825ed665f90c8d13fc0e708dbd308e26844 (patch)
tree1d636cb166ba46ee96a18e802a74807f24d8a4a3 /dev-python/pyperclip/pyperclip-1.8.2.ebuild
parentprofiles/package.mask: more last-rite (diff)
downloadgentoo-ac0f3825ed665f90c8d13fc0e708dbd308e26844.tar.gz
gentoo-ac0f3825ed665f90c8d13fc0e708dbd308e26844.tar.bz2
gentoo-ac0f3825ed665f90c8d13fc0e708dbd308e26844.zip
dev-python/pyperclip: Skip tests requiring Wayland
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyperclip/pyperclip-1.8.2.ebuild')
-rw-r--r--dev-python/pyperclip/pyperclip-1.8.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/pyperclip/pyperclip-1.8.2.ebuild b/dev-python/pyperclip/pyperclip-1.8.2.ebuild
index 361a2543afb3..e61e7e130fd2 100644
--- a/dev-python/pyperclip/pyperclip-1.8.2.ebuild
+++ b/dev-python/pyperclip/pyperclip-1.8.2.ebuild
@@ -44,7 +44,8 @@ src_prepare() {
find -type f -exec sed -i -e 's:\r$::' {} + || die
# klipper is hard to get working, and once we make it work,
# it breaks most of the other backends
- sed -e 's:_executable_exists("klipper"):False:' \
+ # wl-copy requires wayland, not Xvfb
+ sed -e 's:_executable_exists("\(klipper\|wl-copy\)"):False:' \
-i tests/test_pyperclip.py || die
distutils-r1_src_prepare
}