summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2021-02-22 21:51:59 +0100
committerSebastian Pipping <sping@gentoo.org>2021-02-22 21:51:59 +0100
commite992d85259df64b44aa3e1b0688992fc3ba717be (patch)
tree6e188b5b4fc0fe3167c644d4ee32f8c9ef70c625 /x11-plugins
parentnet-libs/libomemo: Fix tests (diff)
downloadgentoo-e992d85259df64b44aa3e1b0688992fc3ba717be.tar.gz
gentoo-e992d85259df64b44aa3e1b0688992fc3ba717be.tar.bz2
gentoo-e992d85259df64b44aa3e1b0688992fc3ba717be.zip
x11-plugins/lurch: Fix tests
Closes: https://bugs.gentoo.org/772026 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/lurch/lurch-0.7.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11-plugins/lurch/lurch-0.7.0.ebuild b/x11-plugins/lurch/lurch-0.7.0.ebuild
index d2208cd2b120..12f3106c5cca 100644
--- a/x11-plugins/lurch/lurch-0.7.0.ebuild
+++ b/x11-plugins/lurch/lurch-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/gkdr/lurch/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3" # likely not GPL-3+, https://github.com/gkdr/lurch/issues/165
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
# NOTE: Some of these dependencies seem like leftovers in the build system
# and can probably be dropped with lurch >=0.7.1
@@ -31,8 +31,11 @@ RDEPEND="
DEPEND="
${RDEPEND}
virtual/pkgconfig
+ test? ( dev-util/cmocka )
"
+RESTRICT="!test? ( test )"
+
src_prepare() {
rm -Rv lib/{axc,libomemo} || die # unbundle
default