summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-02-14 08:17:54 -0600
committerBen Kohler <bkohler@gentoo.org>2020-02-14 08:18:08 -0600
commit2098d55382eb7b4e2585d9947f2a28496b7a74cc (patch)
treea35f9315683c9aeaa83db19dc83ab66d520ff548 /sys-libs/ldb
parentsys-power/thermald: drop old (diff)
downloadgentoo-2098d55382eb7b4e2585d9947f2a28496b7a74cc.tar.gz
gentoo-2098d55382eb7b4e2585d9947f2a28496b7a74cc.tar.bz2
gentoo-2098d55382eb7b4e2585d9947f2a28496b7a74cc.zip
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@gentoo.org>
Diffstat (limited to 'sys-libs/ldb')
-rw-r--r--sys-libs/ldb/ldb-2.0.8.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/ldb/ldb-2.0.8.ebuild b/sys-libs/ldb/ldb-2.0.8.ebuild
index 0b0fd52ea9c6..714949be4e5a 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}] )