commit:     a28435607e2fc12d05ff25b8b2c34ff51195da46
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  8 16:25:24 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  9 09:57:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2843560

sys-apps/portage: Fix BDEPEND/DEPEND split

Correct the split of build-time dependencies between `BDEPEND`
and `DEPEND`.  None of the listed dependencies seem to be specific
to C extension builds, and they all seem to belong to `BDEPEND`.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-apps/portage/portage-9999.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/sys-apps/portage/portage-9999.ebuild 
b/sys-apps/portage/portage-9999.ebuild
index 834b9af7a549..f0cf8ed988bb 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -35,6 +35,7 @@ RESTRICT="!test? ( test )"
 # >=meson-1.2.1-r1 for bug #912051
 BDEPEND="
        ${PYTHON_DEPS}
+       >=app-arch/tar-1.27
        >=dev-build/meson-1.2.1-r1
        || (
                >=dev-build/meson-1.3.0-r1
@@ -43,15 +44,6 @@ BDEPEND="
        $(python_gen_cond_dep '
                dev-python/setuptools[${PYTHON_USEDEP}]
        ' python3_12)
-       test? (
-               dev-python/pytest-xdist[${PYTHON_USEDEP}]
-               dev-vcs/git
-       )
-"
-DEPEND="
-       ${PYTHON_DEPS}
-       >=app-arch/tar-1.27
-       dev-lang/python-exec:2
        >=sys-apps/sed-4.0.5
        sys-devel/patch
        !build? ( $(python_gen_impl_dep 'ssl(+)') )
@@ -63,6 +55,10 @@ DEPEND="
                ~app-text/docbook-xml-dtd-4.4
                app-text/xmlto
        )
+       test? (
+               dev-python/pytest-xdist[${PYTHON_USEDEP}]
+               dev-vcs/git
+       )
 "
 # Require sandbox-2.2 for bug #288863.
 # For whirlpool hash, require python[ssl] (bug #425046).

Reply via email to