commit:     2098d55382eb7b4e2585d9947f2a28496b7a74cc
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 14:17:54 2020 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 14:18:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2098d553

sys-libs/ldb: require USE=python for tests

Closes: https://bugs.gentoo.org/684564
Closes: https://bugs.gentoo.org/709600
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 sys-libs/ldb/ldb-2.0.8.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-libs/ldb/ldb-2.0.8.ebuild b/sys-libs/ldb/ldb-2.0.8.ebuild
index 0b0fd52ea9c..714949be4e5 100644
--- a/sys-libs/ldb/ldb-2.0.8.ebuild
+++ b/sys-libs/ldb/ldb-2.0.8.ebuild
@@ -14,7 +14,10 @@ SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz";
 LICENSE="LGPL-3"
 SLOT="0/${PV}"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86"
-IUSE="doc +ldap +lmdb python"
+IUSE="doc +ldap +lmdb python test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( python )"
 
 RDEPEND="
        !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )

Reply via email to