dev-python/pyclip: Make DOCS an array

Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
Esteve Varela Colominas
2024-03-21 22:18:53 +01:00
parent 0e04079e32
commit 8ff56936cb
2 changed files with 8 additions and 4 deletions

View File

@@ -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

View File

@@ -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