Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-01-04 07:30:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3", Maintainer is "JMatejek@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2011-09-23 12:43:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-01-04 07:30:23.000000000 +0100 @@ -1,0 +2,15 @@ +Fri Dec 9 17:19:55 UTC 2011 - jmatejek@suse.com + +- license.opensuse.org-compatible license headers + +------------------------------------------------------------------- +Fri Dec 2 16:46:44 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Thu Nov 24 12:42:25 UTC 2011 - agraf@suse.com + +- fix ARM build (exclude some test cases which break for us) + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2011-09-23 12:43:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-01-04 07:30:23.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Dec 9 17:19:55 UTC 2011 - jmatejek@suse.com + +- license.opensuse.org-compatible license headers + +------------------------------------------------------------------- +Fri Dec 2 16:46:44 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-base.spec ++++++ --- /var/tmp/diff_new_pack.02ASEq/_old 2012-01-04 07:30:25.000000000 +0100 +++ /var/tmp/diff_new_pack.02ASEq/_new 2012-01-04 07:30:25.000000000 +0100 @@ -18,9 +18,9 @@ Name: python3-base -BuildRequires: fdupes pkg-config zlib-devel +BuildRequires: zlib-devel fdupes pkg-config automake Url: http://www.python.org/ -License: X11/MIT +License: Python-2.0 Group: Development/Languages/Python AutoReqProv: on Summary: Python3 Interpreter @@ -90,7 +90,7 @@ Guido van Rossum <guido@python.org> %package -n python3-tools -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} Summary: Python Utility and Demonstration Scripts Group: Development/Languages/Python @@ -104,7 +104,7 @@ %package -n python3-idle -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} python3-tk Summary: An Integrated Development Environment for Python Group: Development/Languages/Python @@ -118,7 +118,7 @@ %package -n python3-devel -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} Summary: Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python @@ -137,7 +137,7 @@ %package -n python3-xml -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} Summary: A Python XML Interface Group: Development/Libraries/Python @@ -149,7 +149,7 @@ %package -n python3-2to3 -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} Summary: Python 3.0 conversion tool Group: Development/Languages/Python @@ -160,9 +160,7 @@ purposes it appears to be identical to the one shipped with Python 2.6. %package -n libpython%{so_version} - - -License: MIT License (or similar) +License: Python-2.0 Summary: Python Interpreter shared library Group: Development/Languages/Python AutoReqProv: on @@ -182,7 +180,7 @@ %patch01 -p1 %patch02 -p1 -#%patch03 +#%%patch03 #- canonicalize disabled, needs testing whether the exploit still works %patch04 %patch05 -p1 @@ -220,6 +218,16 @@ # 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" + +# test_ctypes breaks on ARM - even on real machines +%ifarch %arm +EXCLUDE="$EXCLUDE -x test_ctypes" +%endif +# some tests break in QEMU +%if 0%{?qemu_user_space_build} > 0 +EXCLUDE="$EXCLUDE -x test_threading test_threadedtempfile test_io test_ioctl test_mmap test_openpty test_pty" +%endif + # 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.02ASEq/_old 2012-01-04 07:30:25.000000000 +0100 +++ /var/tmp/diff_new_pack.02ASEq/_new 2012-01-04 07:30:25.000000000 +0100 @@ -19,7 +19,7 @@ Name: python3-doc Url: http://www.python.org/ -License: Python .. +License: Python-2.0 Group: Development/Languages/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Additional Package Documentation for Python. @@ -45,7 +45,7 @@ %package pdf -License: Python .. +License: Python-2.0 Provides: pyth_pdf Obsoletes: pyth_pdf Summary: Python PDF Documentation ++++++ python3.spec ++++++ --- /var/tmp/diff_new_pack.02ASEq/_old 2012-01-04 07:30:25.000000000 +0100 +++ /var/tmp/diff_new_pack.02ASEq/_new 2012-01-04 07:30:25.000000000 +0100 @@ -18,14 +18,14 @@ Name: python3 -BuildRequires: db-devel fdupes gcc-c++ gdbm-devel gettext-tools gmp-devel intltool libbz2-devel libopenssl-devel ncurses-devel readline-devel sqlite-devel tk-devel xorg-x11-devel +BuildRequires: db-devel fdupes gcc-c++ gdbm-devel gettext-tools gmp-devel intltool libbz2-devel libopenssl-devel ncurses-devel readline-devel sqlite-devel tk-devel xorg-x11-devel automake Url: http://www.python.org/ -License: X11/MIT +License: Python-2.0 Group: Development/Languages/Python AutoReqProv: on Summary: Python3 Interpreter Version: 3.2.1 -Release: 3 +Release: 2 %define tarversion %{version} %define tarname Python-%{tarversion} @@ -67,7 +67,7 @@ %package tk -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} Summary: TkInter - Python Tk Interface Group: Development/Libraries/Python @@ -79,7 +79,7 @@ %package curses -License: Python Copyright +License: Python-2.0 Requires: %{name} = %{version} Summary: Python Interface to the (N)Curses Library Group: Development/Libraries/Python @@ -91,7 +91,7 @@ %package dbm -License: X11/MIT +License: Python-2.0 Requires: %{name} = %{version} Summary: Python Interface to the GDBM Library Group: Development/Languages/Python @@ -142,6 +142,7 @@ TESTS="test_dbm_gnu test_dbm_ndbm test_readline test_ssl test_tcl test_tk test_ttk_guionly test_ttk_textonly test_curses test_socketserver test_sqlite test_hashlib" make test TESTOPTS="-l $TESTS $EXCLUDE" + %install # replace rest of /usr/local/bin/python or /usr/bin/python2.5 with /usr/bin/python3 find . -path "./Parser" -prune -o -path "./Python/makeopcodetargets.py" -prune -o -name '*.py' -type f -print0 | xargs -0 grep -lE '^#! *(/usr/.*bin/(env +)?)?python' | xargs sed -r -i -e '1s@^#![[:space:]]*(/usr/(local/)?bin/(env +)?)?python([0-9]+(.[0-9]+)?)?@#!/usr/bin/python3@' @@ -188,6 +189,7 @@ %fdupes $RPM_BUILD_ROOT/%{_libdir}/python%{python_version} + %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}.so %files tk -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org