dev-python/pypy3: Fix Gentoo path fix to check for correct PyPy3 dir
authorMichał Górny <mgorny@gentoo.org>
Sat, 6 Feb 2016 22:39:53 +0000 (23:39 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 6 Feb 2016 22:45:07 +0000 (23:45 +0100)
dev-python/pypy3/files/4.0.0-gentoo-path.patch

index 1c0270d93bae6c7b145c5a33dc31260e01fa0cc6..cf96d3fb2a53dfebff11b7376e910a83095a93a4 100644 (file)
@@ -37,7 +37,7 @@ index fc43951..fed5218 100644
          if (hasattr(sys, 'pypy_version_info') and
              not name.endswith(('_user', '_home'))):
 -            name = 'pypy'
-+            if self.install_base == os.path.normpath('@EPREFIX@/usr/@libdir@/pypy'):
++            if self.install_base == os.path.normpath('@EPREFIX@/usr/@libdir@/pypy3'):
 +                # override paths for system-wide install
 +                name = 'gentoo'
 +            else: