commit:     104087516f58a957ab485e0390f77fd3682d3f53
Author:     Shaoyu Tseng <1over137 <AT> anche <DOT> no>
AuthorDate: Mon Apr 11 18:38:25 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Mon Apr 11 18:39:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10408751

dev-python/orjson-bin: fix EPREFIX duplication

Signed-off-by: Shaoyu Tseng <1over137 <AT> anche.no>

 dev-python/orjson-bin/orjson-bin-3.6.7.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
index 5f82cd792..0f0422ad0 100644
--- a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
+++ b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
@@ -47,7 +47,9 @@ src_install() {
                ARCH="aarch64"
        fi
        do_install() {
-               insinto "$(python_get_sitedir)"
+               local my_installdir="$(python_get_sitedir)"
+               my_installdir="${my_installdir##${EPREFIX}/}"
+               insinto "${my_installdir}"
                # Even though the soname is compatible, the python version has 
to be
                # corrected in order for it to work
                newins orjson/${PN//-bin}.cpython-310-${ARCH}-linux-gnu.so 
${PN//-bin}.cpython-3${EPYTHON##python3.}-${ARCH}-linux-gnu.so

Reply via email to