summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-18 13:51:49 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-18 14:22:46 +0200
commit1b31e1107cdc62eb762205bf5e1828818c040a6d (patch)
treedbd525108ef8f1f5f76a255fd9bc2839326d7200 /dev-libs/redland-bindings
parentdev-python/bsddb3: Port to py3.9 (diff)
downloadgentoo-1b31e1107cdc62eb762205bf5e1828818c040a6d.tar.gz
gentoo-1b31e1107cdc62eb762205bf5e1828818c040a6d.tar.bz2
gentoo-1b31e1107cdc62eb762205bf5e1828818c040a6d.zip
dev-libs/redland-bindings: Require redland[berkdb] for tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/redland-bindings')
-rw-r--r--dev-libs/redland-bindings/redland-bindings-1.0.17.1-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r1.ebuild b/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r1.ebuild
index 6cf96497da4..29a75a63c57 100644
--- a/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r1.ebuild
+++ b/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r1.ebuild
@@ -21,8 +21,9 @@ SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos"
-IUSE="lua perl python php ruby"
+IUSE="lua perl python php ruby test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
BDEPEND="sys-apps/sed
virtual/pkgconfig"
@@ -39,7 +40,10 @@ RDEPEND=">=dev-libs/redland-1.0.14
)"
DEPEND="${RDEPEND}
- >=dev-lang/swig-2"
+ >=dev-lang/swig-2
+ test? (
+ >=dev-libs/redland-1.0.14[berkdb]
+ )"
PATCHES=(
"${FILESDIR}"/${P}-bool.patch