mgorny 14/11/09 08:29:03
Added: 1.9-scripts-location.patch 2.3.1-shared-lib.patch
1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch
Log:
Introduce the binary packages for PyPy3.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key
EFB4464E!)
Revision Changes Path
1.1 dev-python/pypy3-bin/files/1.9-scripts-location.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pypy3-bin/files/1.9-scripts-location.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pypy3-bin/files/1.9-scripts-location.patch?rev=1.1&content-type=text/plain
Index: 1.9-scripts-location.patch
===================================================================
--- a/lib-python/3/distutils/command/install.py
+++ b/lib-python/3/distutils/command/install.py
@@ -87,7 +87,7 @@
'purelib': '$base/site-packages',
'platlib': '$base/site-packages',
'headers': '$base/include',
- 'scripts': '$base/bin',
+ 'scripts': '/usr/bin',
'data' : '$base',
},
}
1.1 dev-python/pypy3-bin/files/2.3.1-shared-lib.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pypy3-bin/files/2.3.1-shared-lib.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pypy3-bin/files/2.3.1-shared-lib.patch?rev=1.1&content-type=text/plain
Index: 2.3.1-shared-lib.patch
===================================================================
--- rpython/translator/platform/posix.py
+++ rpython/translator/platform/posix.py
@@ -180,7 +180,7 @@
'int main(int argc, char* argv[]) '
'{ return $(PYPY_MAIN_FUNCTION)(argc, argv); }" > $@')
m.rule('$(DEFAULT_TARGET)', ['$(TARGET)', 'main.o'],
- '$(CC_LINK) $(LDFLAGS_LINK) main.o -L.
-l$(SHARED_IMPORT_LIB) -o $@')
+ '$(CC_LINK) $(LDFLAGS_LINK) main.o -L.
-l$(SHARED_IMPORT_LIB) \'-Wl,-rpath,$$ORIGIN\' -o $@')
return m
1.1
dev-python/pypy3-bin/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pypy3-bin/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pypy3-bin/files/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch?rev=1.1&content-type=text/plain
Index:
1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch
===================================================================
--- a/lib-python/3/distutils/unixccompiler.py
+++ b/lib-python/3/distutils/unixccompiler.py
@@ -297,7 +297,7 @@
# this time, there's no way to determine this information from
# the configuration data stored in the Python installation, so
# we use this hack.
- compiler = os.path.basename(sysconfig.get_config_var("CC"))
+ compiler = os.path.basename(self.compiler[0])
if sys.platform[:6] == "darwin":
# MacOSX's linker doesn't understand the -R flag at all
return "-L" + dir