diff options
author | James Le Cuirot <chewi@gentoo.org> | 2023-07-29 20:01:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-02 19:21:34 +0100 |
commit | 9e4dc068a3066434bfbfa3a0f979ec5d6d8020eb (patch) | |
tree | f5c47635345614ab39bd47f4277fec44b7105ff7 /eclass | |
parent | dev-ruby/test-unit: Stabilize 3.6.0 hppa, #911006 (diff) | |
download | gentoo-9e4dc068a3066434bfbfa3a0f979ec5d6d8020eb.tar.gz gentoo-9e4dc068a3066434bfbfa3a0f979ec5d6d8020eb.tar.bz2 gentoo-9e4dc068a3066434bfbfa3a0f979ec5d6d8020eb.zip |
python-utils-r1.eclass: Remove old EAPI hack for exporting PYTHON
This eclass is EAPI 7+ now, so we can assume that BROOT is available.
This was broken anyway because it seems that Portage doesn't set BROOT
when it's empty.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a883135eaa41..56b1b81edd2e 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -338,7 +338,7 @@ _python_export() { debug-print "${FUNCNAME}: EPYTHON = ${EPYTHON}" ;; PYTHON) - export PYTHON=${BROOT-${EPREFIX}}/usr/bin/${impl} + export PYTHON=${BROOT}/usr/bin/${impl} debug-print "${FUNCNAME}: PYTHON = ${PYTHON}" ;; PYTHON_SITEDIR) |