[packages/python3] - up to 3.6.4

arekm arekm at pld-linux.org
Tue Dec 19 15:08:08 CET 2017


commit 380ee8da16868db143d7c8226ae3a0bbe071175f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Dec 19 15:07:59 2017 +0100

    - up to 3.6.4

 python3-multilib.patch | 19 +++++++++----------
 python3.spec           |  4 ++--
 2 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index e5a33fa..2dac225 100644
--- a/python3.spec
+++ b/python3.spec
@@ -38,13 +38,13 @@ Summary(ru.UTF-8):	Язык программирования очень высо
 Summary(tr.UTF-8):	X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python3
-Version:	%{py_ver}.3
+Version:	%{py_ver}.4
 Release:	1
 Epoch:		1
 License:	PSF
 Group:		Development/Languages/Python
 Source0:	https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5:	b9c2c36c33fb89bda1fefd37ad5af9be
+# Source0-md5:	1325134dd525b4a2c3272a1a0214dd54
 Source1:	pyconfig.h.in
 Patch0:		%{name}-pythonpath.patch
 Patch1:		%{name}-ac_fixes.patch
diff --git a/python3-multilib.patch b/python3-multilib.patch
index 3075ba4..5a9d38f 100644
--- a/python3-multilib.patch
+++ b/python3-multilib.patch
@@ -337,16 +337,15 @@ diff -dur Python-3.5.0.orig/configure.ac Python-3.5.0/configure.ac
 diff -dur Python-3.5.0.orig/setup.py Python-3.5.0/setup.py
 --- Python-3.5.0.orig/setup.py	2015-09-13 13:41:26.000000000 +0200
 +++ Python-3.5.0/setup.py	2015-12-03 17:31:03.877613811 +0100
-@@ -526,8 +526,7 @@
-         # be assumed that no additional -I,-L directives are needed.
-         if not cross_compiling:
-             lib_dirs = self.compiler.library_dirs + [
--                '/lib64', '/usr/lib64',
--                '/lib', '/usr/lib',
-+                '/' + sys.lib, '/usr/' + sys.lib
-                 ]
-             inc_dirs = self.compiler.include_dirs + ['/usr/include']
-         else:
+@@ -569,7 +569,7 @@ class PyBuildExt(build_ext):
+             add_dir_to_list(self.compiler.include_dirs,
+                             sysconfig.get_config_var("INCLUDEDIR"))
+ 
+-        system_lib_dirs = ['/lib64', '/usr/lib64', '/lib', '/usr/lib']
++        system_lib_dirs = ['/' + sys.lib, '/usr/' + sys.lib]
+         system_include_dirs = ['/usr/include']
+         # lib_dirs and inc_dirs are used to search for files;
+         # if a file is found in one of those directories, it can
 @@ -750,11 +749,11 @@
              elif curses_library:
                  readline_libs.append(curses_library)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/380ee8da16868db143d7c8226ae3a0bbe071175f



More information about the pld-cvs-commit mailing list