commit:     f2f41ef9f0a29459c32d0a93ca636c085f7b5bec
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  4 22:16:06 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug  4 22:23:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f41ef9

dev-lang/pypy: Move ensurepip deps to PDEPEND, to avoid cyclic dep

Followup to commit 0d712ad5a66b1b4ae882babb8a7a05a3b5f39a38 which
handled this for dev-lang/python.

Bug: https://bugs.gentoo.org/960054
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-lang/pypy/pypy-3.11.7.3.20_p2.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-lang/pypy/pypy-3.11.7.3.20_p2.ebuild 
b/dev-lang/pypy/pypy-3.11.7.3.20_p2.ebuild
index 733050cef0cc..5cd1054efa62 100644
--- a/dev-lang/pypy/pypy-3.11.7.3.20_p2.ebuild
+++ b/dev-lang/pypy/pypy-3.11.7.3.20_p2.ebuild
@@ -42,10 +42,6 @@ RDEPEND="
        dev-lang/python-exec[python_targets_pypy${PYVER/./_}(-)]
        dev-libs/openssl:0=
        dev-python/gentoo-common
-       ensurepip? (
-               dev-python/ensurepip-pip
-               dev-python/ensurepip-setuptools
-       )
        gdbm? ( sys-libs/gdbm:0= )
        sqlite? ( dev-db/sqlite:3= )
        tk? (
@@ -61,6 +57,13 @@ DEPEND="
        ${RDEPEND}
 "
 
+PDEPEND="
+       ensurepip? (
+               dev-python/ensurepip-pip
+               dev-python/ensurepip-setuptools
+       )
+"
+
 src_prepare() {
        local PATCHES=(
                "${WORKDIR}/${PATCHSET}"

Reply via email to