commit: 1b31e1107cdc62eb762205bf5e1828818c040a6d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jun 18 11:51:49 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jun 18 12:22:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b31e110
dev-libs/redland-bindings: Require redland[berkdb] for tests Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-libs/redland-bindings/redland-bindings-1.0.17.1-r1.ebuild | 8 ++++++-- 1 file 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
