commit:     4f1dd02f47a8605c40ef928226222d5b1984e0aa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 19:58:54 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr  8 05:42:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f1dd02f

dev-python/pypy3: Use usession*-0 rather than -current

Use the usession*-0 directory directly rather than relying on the
usession*-current symlink. As maffblaster reports, under some
circumstances the symlink is called differently which seems to render
the -0 name safer.

 dev-python/pypy3/pypy3-5.5.0_alpha.ebuild | 4 ++--
 dev-python/pypy3/pypy3-9999.ebuild        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/pypy3/pypy3-5.5.0_alpha.ebuild 
b/dev-python/pypy3/pypy3-5.5.0_alpha.ebuild
index 1a436991436..3c4ac7df716 100644
--- a/dev-python/pypy3/pypy3-5.5.0_alpha.ebuild
+++ b/dev-python/pypy3/pypy3-5.5.0_alpha.ebuild
@@ -160,10 +160,10 @@ src_configure() {
 }
 
 src_compile() {
-       emake -C "${T}"/usession*-current/testing_1
+       emake -C "${T}"/usession*-0/testing_1
 
        # copy back to make sys.prefix happy
-       cp -p "${T}"/usession*-current/testing_1/{pypy-c,libpypy-c.so} . || die
+       cp -p "${T}"/usession*-0/testing_1/{pypy-c,libpypy-c.so} . || die
        pax-mark m pypy-c libpypy-c.so
 
        #use doc && emake -C pypy/doc html

diff --git a/dev-python/pypy3/pypy3-9999.ebuild 
b/dev-python/pypy3/pypy3-9999.ebuild
index b399af1a9d4..8c0e93878b2 100644
--- a/dev-python/pypy3/pypy3-9999.ebuild
+++ b/dev-python/pypy3/pypy3-9999.ebuild
@@ -169,10 +169,10 @@ src_configure() {
 }
 
 src_compile() {
-       emake -C "${T}"/usession*-current/testing_1
+       emake -C "${T}"/usession*-0/testing_1
 
        # copy back to make sys.prefix happy
-       cp -p "${T}"/usession*-current/testing_1/{pypy-c,libpypy-c.so} . || die
+       cp -p "${T}"/usession*-0/testing_1/{pypy-c,libpypy-c.so} . || die
        pax-mark m pypy-c libpypy-c.so
 
        #use doc && emake -C pypy/doc html

Reply via email to