commit:     84c1c6ba650d5d79271c86a509633ce693b23686
Author:     Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
AuthorDate: Tue Jun  1 04:45:47 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 05:40:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c1c6ba

x11-libs/xapps: fix prefix install

PYTHON_GI_OVERRIDESDIR contains the fully qualified python
path, so no need to prefix it with $ED.

Closes: https://bugs.gentoo.org/793092
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
Closes: https://github.com/gentoo/gentoo/pull/21079
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-libs/xapps/xapps-2.0.6.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-libs/xapps/xapps-2.0.6.ebuild 
b/x11-libs/xapps/xapps-2.0.6.ebuild
index b62fa4e6f2c..bade1ef0d30 100644
--- a/x11-libs/xapps/xapps-2.0.6.ebuild
+++ b/x11-libs/xapps/xapps-2.0.6.ebuild
@@ -74,9 +74,9 @@ src_install() {
        install_pygobject_override() {
                PYTHON_GI_OVERRIDESDIR=$("${EPYTHON}" -c 'import 
gi;print(gi._overridesdir)' || die)
                einfo "gobject overrides directory: ${PYTHON_GI_OVERRIDESDIR}"
-               mkdir -p "${ED}/${PYTHON_GI_OVERRIDESDIR}/" || die
-               cp -r "${D}"/pygobject/* "${ED}/${PYTHON_GI_OVERRIDESDIR}/" || 
die
-               python_optimize "${ED}/${PYTHON_GI_OVERRIDESDIR}/"
+               mkdir -p "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die
+               cp -r "${D}"/pygobject/* "${D}/${PYTHON_GI_OVERRIDESDIR}/" || 
die
+               python_optimize "${D}/${PYTHON_GI_OVERRIDESDIR}/"
        }
        python_foreach_impl install_pygobject_override
        rm -r "${D}/pygobject" || die

Reply via email to