commit:     685b33658869a58a813bcd8658224643977a2008
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 07:00:10 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 07:16:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685b3365

media-libs/lvtk: fix horribly confused runtime python deps

Since gentoo-historical-2.git:
```
CommitDate: Sat Jul 25 04:17:03 2015

    Initial import. Ebuild updated from proaudio overlay.
```

this has used python-single, to run a waf build system. Later for QA
reasons the python rdep was added routinely, instead of fixing the
eclass misuse in a targeetd way. Just under a decade later, we finally
fix this mistake by using python-any.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../{lvtk-1.2.0-r2.ebuild => lvtk-1.2.0-r3.ebuild}    | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/media-libs/lvtk/lvtk-1.2.0-r2.ebuild 
b/media-libs/lvtk/lvtk-1.2.0-r3.ebuild
similarity index 89%
rename from media-libs/lvtk/lvtk-1.2.0-r2.ebuild
rename to media-libs/lvtk/lvtk-1.2.0-r3.ebuild
index bb4bb250aebd..96de80f962ad 100644
--- a/media-libs/lvtk/lvtk-1.2.0-r2.ebuild
+++ b/media-libs/lvtk/lvtk-1.2.0-r3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..13} )
 PYTHON_REQ_USE="threads(+)"
 
-inherit dot-a python-single-r1 waf-utils
+inherit dot-a python-any-r1 waf-utils
 
 WAF_VER=2.0.20
 
@@ -19,16 +19,21 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="debug doc examples +gtk2 +tools"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="media-libs/lv2
+RDEPEND="
+       media-libs/lv2
        dev-libs/boost
-       ${PYTHON_DEPS}
-       gtk2? ( dev-cpp/gtkmm:2.4 )"
-DEPEND="${RDEPEND}
+       gtk2? ( dev-cpp/gtkmm:2.4 )
+"
+DEPEND="
+       ${RDEPEND}
        doc? ( app-text/doxygen
                media-gfx/graphviz )
-       virtual/pkgconfig"
+"
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+"
 
 PATCHES=(
        "${FILESDIR}/${P}-boost-system-underlinking.patch"

Reply via email to