diff --git a/dev-python/pyperclip/pyperclip-1.7.0.ebuild b/dev-python/pyperclip/pyperclip-1.7.0.ebuild index 5736bc02ac0a1..8e4042f67f1f4 100644 --- a/dev-python/pyperclip/pyperclip-1.7.0.ebuild +++ b/dev-python/pyperclip/pyperclip-1.7.0.ebuild @@ -46,6 +46,10 @@ PATCHES=( src_prepare() { # stupid windows 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:' \ + -i tests/test_pyperclip.py || die distutils-r1_src_prepare }