Accepting request 37272 from devel:languages:python:Factory
Copy from devel:languages:python:Factory/python based on submit request 37272 from user matejcik OBS-URL: https://build.opensuse.org/request/show/37272 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=47
This commit is contained in:
parent
d67b003539
commit
a753be95a9
3
Python-2.6.5.tar.bz2
Normal file
3
Python-2.6.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:62da62eb685621ede2be1275f11b89fa0e0be578db8daa5320d0a7855c0a9ebc
|
||||
size 11095581
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cba953966c4c64244b850537a9afc9ca2abf1e06a7bce48405d453d660d0fcfe
|
||||
size 11097255
|
29
python-2.6.5-distutils_test_path.patch
Normal file
29
python-2.6.5-distutils_test_path.patch
Normal file
@ -0,0 +1,29 @@
|
||||
Index: Python-2.6.5/Lib/distutils/tests/test_build_ext.py
|
||||
===================================================================
|
||||
--- Python-2.6.5.orig/Lib/distutils/tests/test_build_ext.py
|
||||
+++ Python-2.6.5/Lib/distutils/tests/test_build_ext.py
|
||||
@@ -253,20 +253,14 @@ class BuildExtTestCase(support.TempdirMa
|
||||
|
||||
# issue #5977 : distutils build_ext.get_outputs
|
||||
# returns wrong result with --inplace
|
||||
- other_tmp_dir = os.path.realpath(self.mkdtemp())
|
||||
- old_wd = os.getcwd()
|
||||
- os.chdir(other_tmp_dir)
|
||||
- try:
|
||||
- cmd.inplace = 1
|
||||
- cmd.run()
|
||||
- so_file = cmd.get_outputs()[0]
|
||||
- finally:
|
||||
- os.chdir(old_wd)
|
||||
+ cmd.inplace = 1
|
||||
+ cmd.run()
|
||||
+ so_file = cmd.get_outputs()[0]
|
||||
self.assert_(os.path.exists(so_file))
|
||||
self.assertEquals(os.path.splitext(so_file)[-1],
|
||||
sysconfig.get_config_var('SO'))
|
||||
so_dir = os.path.dirname(so_file)
|
||||
- self.assertEquals(so_dir, other_tmp_dir)
|
||||
+ self.assertEquals(so_dir, os.getcwd())
|
||||
cmd.compiler = None
|
||||
cmd.inplace = 0
|
||||
cmd.run()
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 20:35:26 CEST 2010 - matejcik@suse.cz
|
||||
|
||||
- update to 2.6.5 (rpm version 2.6.5)
|
||||
- patched test_distutils to work
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 18:13:05 CET 2010 - matejcik@suse.cz
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-base (Version 2.6.4.92)
|
||||
# spec file for package python-base (Version 2.6.5)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -32,10 +32,9 @@ Obsoletes: python-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: Python Interpreter base package
|
||||
Version: 2.6.4.92
|
||||
Version: 2.6.5
|
||||
Release: 1
|
||||
#%define tarversion %{version}
|
||||
%define tarversion 2.6.5rc2
|
||||
%define tarversion %{version}
|
||||
%define tarname Python-%{tarversion}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
Source1: macros.python
|
||||
@ -49,6 +48,7 @@ Patch21: Python-2.6.2-multilib.patch
|
||||
Patch25: python-2.6b1-canonicalize2.patch
|
||||
Patch35: python-2.5.2-configure.patch
|
||||
Patch38: python-2.6-gettext-plurals.patch
|
||||
Patch39: python-2.6.5-distutils_test_path.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define python_version %(echo %{version} | head -c 3)
|
||||
@ -134,6 +134,7 @@ Authors:
|
||||
%patch25
|
||||
%patch35
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
|
||||
# some cleanup
|
||||
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
|
||||
@ -189,8 +190,6 @@ EXCLUDE="$EXCLUDE -x test_nis -x test_threading"
|
||||
# test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build.
|
||||
EXCLUDE="$EXCLUDE -x test_smtplib"
|
||||
%endif
|
||||
# TODO remove this exclude at release: test_distutils fails in 2.6.5rc1 for some unrelated reason
|
||||
EXCLUDE="$EXCLUDE -x test_distutils"
|
||||
# Limit virtual memory to avoid spurious failures
|
||||
if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
|
||||
ulimit -v 10000000 || :
|
||||
|
@ -24,8 +24,8 @@ Group: Development/Languages/Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Additional Package Documentation for Python.
|
||||
Version: 2.6
|
||||
Release: 21
|
||||
%define pyver 2.6.5rc2
|
||||
Release: 22
|
||||
%define pyver 2.6.5
|
||||
BuildArch: noarch
|
||||
%define tarname Python-%{pyver}
|
||||
%define pyname python
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 20:36:11 CEST 2010 - matejcik@suse.cz
|
||||
|
||||
- update to 2.6.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 16:07:54 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python (Version 2.6.4.92)
|
||||
# spec file for package python (Version 2.6.5)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -34,11 +34,10 @@ Obsoletes: python-64bit
|
||||
#
|
||||
Obsoletes: python-nothreads python21 python-elementtree python-sqlite
|
||||
Summary: Python Interpreter
|
||||
Version: 2.6.4.92
|
||||
Version: 2.6.5
|
||||
Release: 1
|
||||
Requires: python-base = %{version}
|
||||
#%define tarversion %{version}
|
||||
%define tarversion 2.6.5rc2
|
||||
%define tarversion %{version}
|
||||
%define tarname Python-%{tarversion}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
Source6: README.SUSE
|
||||
|
Loading…
Reference in New Issue
Block a user