commit: 8ff56936cb29c996b041d43c0f11324cadedc604 Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> AuthorDate: Thu Mar 21 21:18:53 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Thu Mar 21 22:10:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ff56936
dev-python/pyclip: Make DOCS an array Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> dev-python/pyclip/pyclip-0.7.0-r1.ebuild | 6 ++++-- dev-python/pyclip/pyclip-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild index 85ade02ebc..88d86ecd77 100644 --- a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild +++ b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild @@ -22,16 +22,18 @@ HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" IUSE="wayland +X" +REQUIRED_USE="|| ( wayland X )" + # Needs a working xorg/wayland setup RESTRICT="test" -DOCS="${S}/docs/README.md" -REQUIRED_USE="|| ( wayland X )" RDEPEND=" wayland? ( gui-apps/wl-clipboard ) X? ( x11-misc/xclip ) " +DOCS=( docs/README.md ) + src_prepare() { # Clipboard detection should respect USE flags if use wayland && ! use X; then diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild index 85ade02ebc..88d86ecd77 100644 --- a/dev-python/pyclip/pyclip-9999.ebuild +++ b/dev-python/pyclip/pyclip-9999.ebuild @@ -22,16 +22,18 @@ HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" IUSE="wayland +X" +REQUIRED_USE="|| ( wayland X )" + # Needs a working xorg/wayland setup RESTRICT="test" -DOCS="${S}/docs/README.md" -REQUIRED_USE="|| ( wayland X )" RDEPEND=" wayland? ( gui-apps/wl-clipboard ) X? ( x11-misc/xclip ) " +DOCS=( docs/README.md ) + src_prepare() { # Clipboard detection should respect USE flags if use wayland && ! use X; then
