Hello community,

here is the log from the commit of package python3 for openSUSE:Factory
checked in at Mon Sep 5 17:08:49 CEST 2011.



--------
--- python3/python3-base.changes        2011-07-18 19:14:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/python3/python3-base.changes   2011-08-16 
19:05:33.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug 16 17:02:22 UTC 2011 - [email protected]
+
+- use sysconfig module to get py3_incdir, py3_abiflags,
+  py3_soflags, python3_sitelib and python3_sitearch
+
+-------------------------------------------------------------------
--- python3/python3.changes     2011-07-18 18:24:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/python3/python3.changes        2011-09-02 
12:40:28.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep  2 10:40:01 UTC 2011 - [email protected]
+
+- fix baselibs.conf
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-base.spec ++++++
--- /var/tmp/diff_new_pack.qRsRAI/_old  2011-09-05 17:08:19.000000000 +0200
+++ /var/tmp/diff_new_pack.qRsRAI/_new  2011-09-05 17:08:19.000000000 +0200
@@ -25,7 +25,7 @@
 AutoReqProv:    on
 Summary:        Python3 Interpreter
 Version:        3.2.1
-Release:        1
+Release:        2
 %define         tarversion %{version}
 %define         tarname        Python-%{tarversion}
 
@@ -161,6 +161,7 @@
 
 %package -n libpython%{so_version}
 
+
 License:        MIT License (or similar)
 Summary:        Python Interpreter shared library
 Group:          Development/Languages/Python
@@ -218,7 +219,7 @@
 %check
 # test_file fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. 
probably an issue with autobuild's stdin
 # test_nis fails in autobuild env. probably a misconfiguration of mbuild 
servers
-EXCLUDE="-x test_file -x test_nis"
+#EXCLUDE="-x test_file -x test_nis"
 # Limit virtual memory to avoid spurious failures
 if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
   ulimit -v 10000000 || :

++++++ python3-doc.spec ++++++
--- /var/tmp/diff_new_pack.qRsRAI/_old  2011-09-05 17:08:19.000000000 +0200
+++ /var/tmp/diff_new_pack.qRsRAI/_new  2011-09-05 17:08:19.000000000 +0200
@@ -24,7 +24,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Additional Package Documentation for Python.
 Version:        3.2
-Release:        2
+Release:        3
 %define pyver   3.2.1
 BuildArch:      noarch
 %define       tarname        Python-%{pyver}

++++++ python3.spec ++++++
--- /var/tmp/diff_new_pack.qRsRAI/_old  2011-09-05 17:08:19.000000000 +0200
+++ /var/tmp/diff_new_pack.qRsRAI/_new  2011-09-05 17:08:19.000000000 +0200
@@ -25,7 +25,7 @@
 AutoReqProv:    on
 Summary:        Python3 Interpreter
 Version:        3.2.1
-Release:        1
+Release:        3
 %define         tarversion %{version}
 %define         tarname        Python-%{tarversion}
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.qRsRAI/_old  2011-09-05 17:08:19.000000000 +0200
+++ /var/tmp/diff_new_pack.qRsRAI/_new  2011-09-05 17:08:19.000000000 +0200
@@ -1 +1,2 @@
 python3
+libpython3_2mu1_0

++++++ macros.python3.py ++++++
--- /var/tmp/diff_new_pack.qRsRAI/_old  2011-09-05 17:08:20.000000000 +0200
+++ /var/tmp/diff_new_pack.qRsRAI/_new  2011-09-05 17:08:20.000000000 +0200
@@ -3,16 +3,18 @@
 """ generate macros.python3 file from known values """
 
 import sys,os
-from distutils.sysconfig import get_python_lib
+from sysconfig import get_path, get_config_var
 
 version = "{}.{}".format(*sys.version_info)
 
 macros = {
     "py3_ver":          version,
     "py3_prefix":       sys.prefix,
-    "py3_incdir":       os.path.join(sys.prefix, "include", "python" + 
version),
-    "python3_sitelib":  get_python_lib(),
-    "python3_sitearch": get_python_lib(True),
+    "py3_incdir":       get_path("include"),
+    "py3_abiflags":     get_config_var("ABIFLAGS"),
+    "py3_soflags":      get_config_var("SOABI"),
+    "python3_sitelib":  get_path("purelib"),
+    "python3_sitearch": get_path("platlib"),
     "py3_compile(O)": """
 find %1 -name '*.pyc' -exec rm -f {} ";"
 python3 -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to