From 1a7ba844ad2c84ac4ba0d37f510285e778c7ffc4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 27 Jul 2023 16:34:32 +0100 Subject: gentoo auto-resync : 27:07:2023 - 16:34:32 --- sys-libs/ldb/ldb-2.7.2.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys-libs/ldb/ldb-2.7.2.ebuild') diff --git a/sys-libs/ldb/ldb-2.7.2.ebuild b/sys-libs/ldb/ldb-2.7.2.ebuild index 76e28c619894..959a12c27046 100644 --- a/sys-libs/ldb/ldb-2.7.2.ebuild +++ b/sys-libs/ldb/ldb-2.7.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="threads(+)" inherit python-single-r1 waf-utils multilib-minimal @@ -13,11 +13,11 @@ SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0/${PV}" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="doc ldap +lmdb python test" REQUIRED_USE="${PYTHON_REQUIRED_USE} - test? ( lmdb python )" + test? ( lmdb )" RESTRICT="!test? ( test )" @@ -99,6 +99,12 @@ src_prepare() { check_samba_dep_versions + if use test && ! use python ; then + # We want to be able to run tests w/o Python as it makes + # automated testing much easier (as USE=python isn't default-enabled). + truncate -s0 tests/python/{repack,index,api,crash}.py || die + fi + multilib_copy_sources } -- cgit v1.2.3