commit:     4c25495ce8deb95c0645ac182458b32bc1afa545
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 27 03:17:27 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 06:02:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c25495c

app-portage/smart-live-rebuild: add missing dep on portage

Despite nominally using gentoopm as an abstraction, it still relies
directly on portage._sets.base.PackageSet and crashes if built for
gentoopm+pkgcore using one python impl, when portage is built for a
different impl.

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

 ...-live-rebuild-1.4.1.ebuild => smart-live-rebuild-1.4.1-r1.ebuild} | 5 ++++-
 app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild        | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1.ebuild 
b/app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1-r1.ebuild
similarity index 89%
rename from app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1.ebuild
rename to app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1-r1.ebuild
index 9bf1510faf9e..d9adeea3bed2 100644
--- a/app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1.ebuild
+++ b/app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1-r1.ebuild
@@ -16,7 +16,10 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~sparc x86 ~x64-macos"
 
-RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]"
+RDEPEND="
+       >=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]
+       sys-apps/portage[${PYTHON_USEDEP}]
+"
 
 distutils_enable_tests pytest
 

diff --git a/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild 
b/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild
index 5e102332f98b..5e42a55c9ee3 100644
--- a/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild
+++ b/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild
@@ -15,7 +15,10 @@ EGIT_REPO_URI="https://github.com/gentoo/${PN}.git";
 LICENSE="BSD-2"
 SLOT="0"
 
-RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]"
+RDEPEND="
+       >=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]
+       sys-apps/portage[${PYTHON_USEDEP}]
+"
 
 distutils_enable_tests pytest
 

Reply via email to