commit: 1c936ccb2e3280227632aa7bf7d73df09432379d
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 13:55:04 2026 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 14:01:09 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c936ccb
media-libs/lilv: do not depend on python when USE="-python"
Long ago while porting from waf to meson, a USE flag was added for the
(formerly mandatory) python bindings. At the time, the python RDEPEND /
REQUIRED_USE for those bindings, neglected to be made USE-conditional.
Add that now.
Fixes: e7395dfd755a1a50401252e66ebf625cdd23741f
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
.../lilv/{lilv-0.24.26.ebuild => lilv-0.24.26-r1.ebuild} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/media-libs/lilv/lilv-0.24.26.ebuild
b/media-libs/lilv/lilv-0.24.26-r1.ebuild
similarity index 89%
rename from media-libs/lilv/lilv-0.24.26.ebuild
rename to media-libs/lilv/lilv-0.24.26-r1.ebuild
index b09e2e5ff79c..7ab608b9c37f 100644
--- a/media-libs/lilv/lilv-0.24.26.ebuild
+++ b/media-libs/lilv/lilv-0.24.26-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc
x86"
IUSE="doc python test tools"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="!test? ( test )"
BDEPEND="
@@ -30,7 +30,7 @@ BDEPEND="
"
# Take care on bumps to check minimum versions!
RDEPEND="
- ${PYTHON_DEPS}
+ python? ( ${PYTHON_DEPS} )
>=dev-libs/serd-0.30.10[${MULTILIB_USEDEP}]
>=dev-libs/sord-0.16.16[${MULTILIB_USEDEP}]
>=dev-libs/zix-0.6.0[${MULTILIB_USEDEP}]
@@ -41,7 +41,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
pkg_setup() {
- python_setup
+ use python && python-single-r1_python_setup
}
src_prepare() {
@@ -64,7 +64,7 @@ multilib_src_configure() {
multilib_src_install() {
meson_src_install
- python_optimize
+ use python && python_optimize
}
multilib_src_install_all() {