This commit is contained in:
commit
6a38c9be60
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
21
Python-2.3.3-dirs.patch
Normal file
21
Python-2.3.3-dirs.patch
Normal file
@ -0,0 +1,21 @@
|
||||
# force use of directories passed to configure script
|
||||
|
||||
--- Makefile.pre.in 2003-09-20 12:50:28.000000000 +0200
|
||||
+++ Makefile.pre.in 2003-10-02 11:05:14.000000000 +0200
|
||||
@@ -78,12 +78,12 @@
|
||||
exec_prefix= @exec_prefix@
|
||||
|
||||
# Expanded directories
|
||||
-BINDIR= $(exec_prefix)/bin
|
||||
-LIBDIR= $(exec_prefix)/lib
|
||||
+BINDIR= @bindir@
|
||||
+LIBDIR= @libdir@
|
||||
MANDIR= @mandir@
|
||||
INCLUDEDIR= @includedir@
|
||||
-CONFINCLUDEDIR= $(exec_prefix)/include
|
||||
-SCRIPTDIR= $(prefix)/lib
|
||||
+CONFINCLUDEDIR= @includedir@
|
||||
+SCRIPTDIR= @libdir@
|
||||
|
||||
# Detailed destination directories
|
||||
BINLIBDEST= $(LIBDIR)/python$(VERSION)
|
37
Python-2.4-readline.patch
Normal file
37
Python-2.4-readline.patch
Normal file
@ -0,0 +1,37 @@
|
||||
--- configure.in.orig 2004-11-07 02:24:11.000000000 +0100
|
||||
+++ configure.in 2004-12-06 12:10:32.624789124 +0100
|
||||
@@ -2822,10 +2822,18 @@
|
||||
[Define this if you have flockfile(), getc_unlocked(), and funlockfile()])
|
||||
fi
|
||||
|
||||
+# what library does readline need to be linked with
|
||||
+READLINE_SHARED_LIBADD=""
|
||||
+AC_CHECK_LIB(ncurses, tgetent, [READLINE_SHARED_LIBADD="-lncurses"],
|
||||
+ AC_CHECK_LIB(curses, tgetent, [READLINE_SHARED_LIBADD="-lcurses"],
|
||||
+ AC_CHECK_LIB(ncurses, tgetent, [READLINE_SHARED_LIBADD="-lncurses"])
|
||||
+ )
|
||||
+ )
|
||||
+
|
||||
# check for readline 2.1
|
||||
AC_CHECK_LIB(readline, rl_callback_handler_install,
|
||||
AC_DEFINE(HAVE_RL_CALLBACK, 1,
|
||||
- [Define if you have readline 2.1]), , -ltermcap)
|
||||
+ [Define if you have readline 2.1]), , $READLINE_SHARED_LIBADD)
|
||||
|
||||
# check for readline 2.2
|
||||
AC_TRY_CPP([#include <readline/readline.h>],
|
||||
@@ -2841,12 +2849,12 @@
|
||||
# check for readline 4.0
|
||||
AC_CHECK_LIB(readline, rl_pre_input_hook,
|
||||
AC_DEFINE(HAVE_RL_PRE_INPUT_HOOK, 1,
|
||||
- [Define if you have readline 4.0]), , -ltermcap)
|
||||
+ [Define if you have readline 4.0]), , $READLINE_SHARED_LIBADD)
|
||||
|
||||
# check for readline 4.2
|
||||
AC_CHECK_LIB(readline, rl_completion_matches,
|
||||
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1,
|
||||
- [Define if you have readline 4.2]), , -ltermcap)
|
||||
+ [Define if you have readline 4.2]), , $READLINE_SHARED_LIBADD)
|
||||
|
||||
# also in readline 4.2
|
||||
AC_TRY_CPP([#include <readline/readline.h>],
|
3
Python-2.5.tar.bz2
Normal file
3
Python-2.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:584fce420e39218312c86b6abb242a14b1b0c1d215e2667b0f491893e41cc236
|
||||
size 9357099
|
336
Python-2.5c1-multilib.patch
Normal file
336
Python-2.5c1-multilib.patch
Normal file
@ -0,0 +1,336 @@
|
||||
--- Python-2.5c1/Include/pythonrun.h
|
||||
+++ Python-2.5c1/Include/pythonrun.h
|
||||
@@ -107,6 +107,8 @@
|
||||
/* In their own files */
|
||||
PyAPI_FUNC(const char *) Py_GetVersion(void);
|
||||
PyAPI_FUNC(const char *) Py_GetPlatform(void);
|
||||
+PyAPI_FUNC(const char *) Py_GetArch(void);
|
||||
+PyAPI_FUNC(const char *) Py_GetLib(void);
|
||||
PyAPI_FUNC(const char *) Py_GetCopyright(void);
|
||||
PyAPI_FUNC(const char *) Py_GetCompiler(void);
|
||||
PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
|
||||
--- Python-2.5c1/Lib/distutils/command/install.py
|
||||
+++ Python-2.5c1/Lib/distutils/command/install.py
|
||||
@@ -19,6 +19,8 @@
|
||||
from distutils.errors import DistutilsOptionError
|
||||
from glob import glob
|
||||
|
||||
+libname = sys.lib
|
||||
+
|
||||
if sys.version < "2.2":
|
||||
WINDOWS_SCHEME = {
|
||||
'purelib': '$base',
|
||||
@@ -38,15 +40,15 @@
|
||||
|
||||
INSTALL_SCHEMES = {
|
||||
'unix_prefix': {
|
||||
- 'purelib': '$base/lib/python$py_version_short/site-packages',
|
||||
- 'platlib': '$platbase/lib/python$py_version_short/site-packages',
|
||||
+ 'purelib': '$base/'+libname+'/python$py_version_short/site-packages',
|
||||
+ 'platlib': '$platbase/'+libname+'/python$py_version_short/site-packages',
|
||||
'headers': '$base/include/python$py_version_short/$dist_name',
|
||||
'scripts': '$base/bin',
|
||||
'data' : '$base',
|
||||
},
|
||||
'unix_home': {
|
||||
- 'purelib': '$base/lib/python',
|
||||
- 'platlib': '$base/lib/python',
|
||||
+ 'purelib': '$base/'+libname+'/python',
|
||||
+ 'platlib': '$base/'+libname+'/python',
|
||||
'headers': '$base/include/python/$dist_name',
|
||||
'scripts': '$base/bin',
|
||||
'data' : '$base',
|
||||
--- Python-2.5c1/Lib/distutils/sysconfig.py
|
||||
+++ Python-2.5c1/Lib/distutils/sysconfig.py
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
if os.name == "posix":
|
||||
libpython = os.path.join(prefix,
|
||||
- "lib", "python" + get_python_version())
|
||||
+ sys.lib, "python" + get_python_version())
|
||||
if standard_lib:
|
||||
return libpython
|
||||
else:
|
||||
--- Python-2.5c1/Lib/distutils/tests/test_install.py
|
||||
+++ Python-2.5c1/Lib/distutils/tests/test_install.py
|
||||
@@ -1,6 +1,7 @@
|
||||
"""Tests for distutils.command.install."""
|
||||
|
||||
import os
|
||||
+import sys
|
||||
import unittest
|
||||
|
||||
from distutils.command.install import install
|
||||
@@ -23,7 +24,7 @@
|
||||
dist.script_name = os.path.join(builddir, "setup.py")
|
||||
dist.command_obj["build"] = support.DummyCommand(
|
||||
build_base=builddir,
|
||||
- build_lib=os.path.join(builddir, "lib"),
|
||||
+ build_lib=os.path.join(builddir, sys.lib),
|
||||
)
|
||||
|
||||
cmd = install(dist)
|
||||
@@ -38,7 +39,7 @@
|
||||
expected = os.path.normpath(expected)
|
||||
self.assertEqual(got, expected)
|
||||
|
||||
- libdir = os.path.join(destination, "lib", "python")
|
||||
+ libdir = os.path.join(destination, sys.lib, "python")
|
||||
check_path(cmd.install_lib, libdir)
|
||||
check_path(cmd.install_platlib, libdir)
|
||||
check_path(cmd.install_purelib, libdir)
|
||||
--- Python-2.5c1/Lib/pydoc.py
|
||||
+++ Python-2.5c1/Lib/pydoc.py
|
||||
@@ -347,7 +347,7 @@
|
||||
|
||||
docloc = os.environ.get("PYTHONDOCS",
|
||||
"http://www.python.org/doc/current/lib")
|
||||
- basedir = os.path.join(sys.exec_prefix, "lib",
|
||||
+ basedir = os.path.join(sys.exec_prefix, sys.lib,
|
||||
"python"+sys.version[0:3])
|
||||
if (isinstance(object, type(os)) and
|
||||
(object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
|
||||
--- Python-2.5c1/Lib/site.py
|
||||
+++ Python-2.5c1/Lib/site.py
|
||||
@@ -182,12 +182,12 @@
|
||||
sitedirs = [os.path.join(prefix, "Lib", "site-packages")]
|
||||
elif os.sep == '/':
|
||||
sitedirs = [os.path.join(prefix,
|
||||
- "lib",
|
||||
+ sys.lib,
|
||||
"python" + sys.version[:3],
|
||||
"site-packages"),
|
||||
- os.path.join(prefix, "lib", "site-python")]
|
||||
+ os.path.join(prefix, sys.lib, "site-python")]
|
||||
else:
|
||||
- sitedirs = [prefix, os.path.join(prefix, "lib", "site-packages")]
|
||||
+ sitedirs = [prefix, os.path.join(prefix, sys.lib, "site-packages")]
|
||||
if sys.platform == 'darwin':
|
||||
# for framework builds *only* we add the standard Apple
|
||||
# locations. Currently only per-user, but /Library and
|
||||
--- Python-2.5c1/Lib/test/test_dl.py
|
||||
+++ Python-2.5c1/Lib/test/test_dl.py
|
||||
@@ -4,11 +4,12 @@
|
||||
"""
|
||||
|
||||
import dl
|
||||
+import sys
|
||||
from test.test_support import verbose,TestSkipped
|
||||
|
||||
sharedlibs = [
|
||||
- ('/usr/lib/libc.so', 'getpid'),
|
||||
- ('/lib/libc.so.6', 'getpid'),
|
||||
+ ('/usr/' + sys.lib + '/libc.so', 'getpid'),
|
||||
+ ('/' + sys.lib + '/libc.so.6', 'getpid'),
|
||||
('/usr/bin/cygwin1.dll', 'getpid'),
|
||||
('/usr/lib/libc.dylib', 'getpid'),
|
||||
]
|
||||
--- Python-2.5c1/Lib/trace.py
|
||||
+++ Python-2.5c1/Lib/trace.py
|
||||
@@ -736,10 +736,10 @@
|
||||
# should I also call expanduser? (after all, could use $HOME)
|
||||
|
||||
s = s.replace("$prefix",
|
||||
- os.path.join(sys.prefix, "lib",
|
||||
+ os.path.join(sys.prefix, sys.lib,
|
||||
"python" + sys.version[:3]))
|
||||
s = s.replace("$exec_prefix",
|
||||
- os.path.join(sys.exec_prefix, "lib",
|
||||
+ os.path.join(sys.exec_prefix, sys.lib,
|
||||
"python" + sys.version[:3]))
|
||||
s = os.path.normpath(s)
|
||||
ignore_dirs.append(s)
|
||||
--- Python-2.5c1/Makefile.pre.in
|
||||
+++ Python-2.5c1/Makefile.pre.in
|
||||
@@ -75,6 +75,8 @@
|
||||
|
||||
# Machine-dependent subdirectories
|
||||
MACHDEP= @MACHDEP@
|
||||
+LIB= @LIB@
|
||||
+ARCH= @ARCH@
|
||||
|
||||
# Install prefix for architecture-independent files
|
||||
prefix= @prefix@
|
||||
@@ -463,6 +465,7 @@
|
||||
-DEXEC_PREFIX='"$(exec_prefix)"' \
|
||||
-DVERSION='"$(VERSION)"' \
|
||||
-DVPATH='"$(VPATH)"' \
|
||||
+ -DARCH='"$(ARCH)"' -DLIB='"$(LIB)"' \
|
||||
-o $@ $(srcdir)/Modules/getpath.c
|
||||
|
||||
Modules/python.o: $(srcdir)/Modules/python.c
|
||||
@@ -491,7 +494,7 @@
|
||||
Python/compile.o Python/symtable.o: $(GRAMMAR_H) $(AST_H)
|
||||
|
||||
Python/getplatform.o: $(srcdir)/Python/getplatform.c
|
||||
- $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
|
||||
+ $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -DARCH='"$(ARCH)"' -DLIB='"$(LIB)"' -o $@ $(srcdir)/Python/getplatform.c
|
||||
|
||||
Python/importdl.o: $(srcdir)/Python/importdl.c
|
||||
$(CC) -c $(PY_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
|
||||
--- Python-2.5c1/Modules/getpath.c
|
||||
+++ Python-2.5c1/Modules/getpath.c
|
||||
@@ -116,9 +116,11 @@
|
||||
#define EXEC_PREFIX PREFIX
|
||||
#endif
|
||||
|
||||
+#define LIB_PYTHON LIB "/python" VERSION
|
||||
+
|
||||
#ifndef PYTHONPATH
|
||||
-#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \
|
||||
- EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
|
||||
+#define PYTHONPATH PREFIX "/" LIB_PYTHON ":" \
|
||||
+ EXEC_PREFIX "/" LIB_PYTHON "/lib-dynload"
|
||||
#endif
|
||||
|
||||
#ifndef LANDMARK
|
||||
@@ -129,7 +131,7 @@
|
||||
static char exec_prefix[MAXPATHLEN+1];
|
||||
static char progpath[MAXPATHLEN+1];
|
||||
static char *module_search_path = NULL;
|
||||
-static char lib_python[] = "lib/python" VERSION;
|
||||
+static char lib_python[] = LIB_PYTHON;
|
||||
|
||||
static void
|
||||
reduce(char *dir)
|
||||
--- Python-2.5c1/Python/getplatform.c
|
||||
+++ Python-2.5c1/Python/getplatform.c
|
||||
@@ -10,3 +10,23 @@
|
||||
{
|
||||
return PLATFORM;
|
||||
}
|
||||
+
|
||||
+#ifndef ARCH
|
||||
+#define ARCH "unknown"
|
||||
+#endif
|
||||
+
|
||||
+const char *
|
||||
+Py_GetArch(void)
|
||||
+{
|
||||
+ return ARCH;
|
||||
+}
|
||||
+
|
||||
+#ifndef LIB
|
||||
+#define LIB "lib"
|
||||
+#endif
|
||||
+
|
||||
+const char *
|
||||
+Py_GetLib(void)
|
||||
+{
|
||||
+ return LIB;
|
||||
+}
|
||||
--- Python-2.5c1/Python/sysmodule.c
|
||||
+++ Python-2.5c1/Python/sysmodule.c
|
||||
@@ -1155,6 +1155,10 @@
|
||||
PyString_FromString(Py_GetCopyright()));
|
||||
SET_SYS_FROM_STRING("platform",
|
||||
PyString_FromString(Py_GetPlatform()));
|
||||
+ SET_SYS_FROM_STRING("arch",
|
||||
+ PyString_FromString(Py_GetArch()));
|
||||
+ SET_SYS_FROM_STRING("lib",
|
||||
+ PyString_FromString(Py_GetLib()));
|
||||
SET_SYS_FROM_STRING("executable",
|
||||
PyString_FromString(Py_GetProgramFullPath()));
|
||||
SET_SYS_FROM_STRING("prefix",
|
||||
--- Python-2.5c1/configure.in
|
||||
+++ Python-2.5c1/configure.in
|
||||
@@ -503,6 +503,41 @@
|
||||
;;
|
||||
esac
|
||||
|
||||
+AC_SUBST(ARCH)
|
||||
+AC_MSG_CHECKING(ARCH)
|
||||
+ARCH=`uname -m`
|
||||
+case $ARCH in
|
||||
+i?86) ARCH=i386;;
|
||||
+esac
|
||||
+AC_MSG_RESULT($ARCH)
|
||||
+
|
||||
+AC_SUBST(LIB)
|
||||
+AC_MSG_CHECKING(LIB)
|
||||
+case $ac_sys_system in
|
||||
+Linux*)
|
||||
+ # Test if the compiler is 64bit
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ python_cv_cc_64bit_output=no
|
||||
+ if AC_TRY_EVAL(ac_compile); then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *"ELF 64"*)
|
||||
+ python_cv_cc_64bit_output=yes
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+case $ARCH:$python_cv_cc_64bit_output in
|
||||
+ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
|
||||
+ LIB="lib64"
|
||||
+ ;;
|
||||
+*:*)
|
||||
+ LIB="lib"
|
||||
+ ;;
|
||||
+esac
|
||||
+AC_MSG_RESULT($LIB)
|
||||
|
||||
AC_SUBST(LIBRARY)
|
||||
AC_MSG_CHECKING(LIBRARY)
|
||||
--- Python-2.5c1/setup.py
|
||||
+++ Python-2.5c1/setup.py
|
||||
@@ -244,7 +244,7 @@
|
||||
|
||||
def detect_modules(self):
|
||||
# Ensure that /usr/local is always used
|
||||
- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
|
||||
+ add_dir_to_list(self.compiler.library_dirs, '/usr/local/' + sys.lib)
|
||||
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
|
||||
|
||||
# Add paths specified in the environment variables LDFLAGS and
|
||||
@@ -294,8 +294,7 @@
|
||||
# if a file is found in one of those directories, it can
|
||||
# be assumed that no additional -I,-L directives are needed.
|
||||
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']
|
||||
exts = []
|
||||
@@ -496,11 +495,11 @@
|
||||
elif self.compiler.find_library_file(lib_dirs, 'curses'):
|
||||
readline_libs.append('curses')
|
||||
elif self.compiler.find_library_file(lib_dirs +
|
||||
- ['/usr/lib/termcap'],
|
||||
+ ['/usr/'+sys.lib+'/termcap'],
|
||||
'termcap'):
|
||||
readline_libs.append('termcap')
|
||||
exts.append( Extension('readline', ['readline.c'],
|
||||
- library_dirs=['/usr/lib/termcap'],
|
||||
+ library_dirs=['/usr/'+sys.lib+'/termcap'],
|
||||
extra_link_args=readline_extra_link_args,
|
||||
libraries=readline_libs) )
|
||||
if platform not in ['mac']:
|
||||
@@ -1245,18 +1244,17 @@
|
||||
# Check for various platform-specific directories
|
||||
if platform == 'sunos5':
|
||||
include_dirs.append('/usr/openwin/include')
|
||||
- added_lib_dirs.append('/usr/openwin/lib')
|
||||
+ added_lib_dirs.append('/usr/openwin/' + sys.lib)
|
||||
elif os.path.exists('/usr/X11R6/include'):
|
||||
include_dirs.append('/usr/X11R6/include')
|
||||
- added_lib_dirs.append('/usr/X11R6/lib64')
|
||||
- added_lib_dirs.append('/usr/X11R6/lib')
|
||||
+ added_lib_dirs.append('/usr/X11R6/' + sys.lib)
|
||||
elif os.path.exists('/usr/X11R5/include'):
|
||||
include_dirs.append('/usr/X11R5/include')
|
||||
- added_lib_dirs.append('/usr/X11R5/lib')
|
||||
+ added_lib_dirs.append('/usr/X11R5/' + sys.lib)
|
||||
else:
|
||||
# Assume default location for X11
|
||||
include_dirs.append('/usr/X11/include')
|
||||
- added_lib_dirs.append('/usr/X11/lib')
|
||||
+ added_lib_dirs.append('/usr/X11/' + sys.lib)
|
||||
|
||||
# If Cygwin, then verify that X is installed before proceeding
|
||||
if platform == 'cygwin':
|
21
README.SUSE
Normal file
21
README.SUSE
Normal file
@ -0,0 +1,21 @@
|
||||
Python in SUSE
|
||||
==============
|
||||
|
||||
* Documentation *
|
||||
|
||||
You can find documentation in seprarate packages: python-doc and
|
||||
python-doc-pdf. These contan following documents:
|
||||
|
||||
Tutorial, What's New in Python, Global Module Index, Library Reference,
|
||||
Macintosh Module Reference, Installing Python Modules, Distributing Python
|
||||
Modules, Language Reference, Extending and Embedding, Python/C API,
|
||||
Documenting Python
|
||||
|
||||
The python-doc package constains many text files from source tarball.
|
||||
|
||||
|
||||
* Interactive mode *
|
||||
|
||||
Interactive mode is by default enhanced with of history and command completion.
|
||||
If you don't like these features, you can unset PYTHONSTARTUP variable in your
|
||||
.profile or disable it system wide in /etc/profile.d/python.sh.
|
2
distutils.cfg
Normal file
2
distutils.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
[install]
|
||||
prefix=/usr/local
|
3
html-2.5.tar.bz2
Normal file
3
html-2.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:52a473258528bec3617da8cfd9188e8b7b2833ade61d705058ee5b0adef64a5b
|
||||
size 1562256
|
3
pdf-a4-2.5.tar.bz2
Normal file
3
pdf-a4-2.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ac591b0d29276de9bf98c4d1240ac57c5ec55bb5e8bbf62b2888343a8eb1b111
|
||||
size 5520351
|
3
pdf-letter-2.5.tar.bz2
Normal file
3
pdf-letter-2.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7be3abd1ad5efc62ca0d7ace9165605e6f955b819d33082c73306871f3d8576
|
||||
size 5547378
|
11
python-2.4-localpath.patch
Normal file
11
python-2.4-localpath.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- Lib/site.py
|
||||
+++ Lib/site.py
|
||||
@@ -173,7 +173,7 @@
|
||||
|
||||
def addsitepackages(known_paths):
|
||||
"""Add site-packages (and possibly site-python) to sys.path"""
|
||||
- prefixes = [sys.prefix]
|
||||
+ prefixes = [sys.prefix, '/usr/local']
|
||||
if sys.exec_prefix != sys.prefix:
|
||||
prefixes.append(sys.exec_prefix)
|
||||
for prefix in prefixes:
|
81
python-2.4.2-canonicalize2.patch
Normal file
81
python-2.4.2-canonicalize2.patch
Normal file
@ -0,0 +1,81 @@
|
||||
--- Python/sysmodule.c
|
||||
+++ Python/sysmodule.c
|
||||
@@ -1313,7 +1313,20 @@
|
||||
char *p = NULL;
|
||||
Py_ssize_t n = 0;
|
||||
PyObject *a;
|
||||
-#ifdef HAVE_READLINK
|
||||
+#ifdef HAVE_CANONICALIZE_FILE_NAME
|
||||
+ int errnum;
|
||||
+
|
||||
+ if (argc > 0 && argv0 != NULL && strcmp(argv0, "-c") != 0) {
|
||||
+ argv0 = canonicalize_file_name(argv0);
|
||||
+ if (argv0 == NULL) argv0 = strdup(argv[0]);
|
||||
+ }
|
||||
+#elif defined(HAVE_REALPATH)
|
||||
+ if (argc > 0 && argv0 != NULL && strcmp(argv0, "-c") != 0) {
|
||||
+ if (realpath(argv0, fullpath)) {
|
||||
+ argv0 = fullpath;
|
||||
+ }
|
||||
+ }
|
||||
+#elif defined(HAVE_READLINK)
|
||||
char link[MAXPATHLEN+1];
|
||||
char argv0copy[2*MAXPATHLEN+1];
|
||||
int nr = 0;
|
||||
@@ -1340,7 +1353,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
-#endif /* HAVE_READLINK */
|
||||
+#endif /* resolve method selection */
|
||||
+
|
||||
#if SEP == '\\' /* Special case for MS filename syntax */
|
||||
if (argc > 0 && argv0 != NULL && strcmp(argv0, "-c") != 0) {
|
||||
char *q;
|
||||
@@ -1366,11 +1380,6 @@
|
||||
}
|
||||
#else /* All other filename syntaxes */
|
||||
if (argc > 0 && argv0 != NULL && strcmp(argv0, "-c") != 0) {
|
||||
-#if defined(HAVE_REALPATH)
|
||||
- if (realpath(argv0, fullpath)) {
|
||||
- argv0 = fullpath;
|
||||
- }
|
||||
-#endif
|
||||
p = strrchr(argv0, SEP);
|
||||
}
|
||||
if (p != NULL) {
|
||||
@@ -1388,6 +1397,9 @@
|
||||
a = PyString_FromStringAndSize(argv0, n);
|
||||
if (a == NULL)
|
||||
Py_FatalError("no mem for sys.path insertion");
|
||||
+#ifdef HAVE_CANONICALIZE_FILE_NAME
|
||||
+ if (argc > 0 && argv0 != NULL && strcmp(argv0, "-c") != 0) free(argv0);
|
||||
+#endif /* HAVE_CANONICALIZE_FILE_NAME */
|
||||
if (PyList_Insert(path, 0, a) < 0)
|
||||
Py_FatalError("sys.path.insert(0) failed");
|
||||
Py_DECREF(a);
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -2289,8 +2289,8 @@
|
||||
AC_MSG_RESULT(MACHDEP_OBJS)
|
||||
|
||||
# checks for library functions
|
||||
-AC_CHECK_FUNCS(alarm bind_textdomain_codeset chown clock confstr ctermid \
|
||||
- execv fork fpathconf ftime ftruncate \
|
||||
+AC_CHECK_FUNCS(alarm bind_textdomain_codeset canonicalize_file_name chown \
|
||||
+ clock confstr ctermid execv fork fpathconf ftime ftruncate \
|
||||
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
|
||||
getpriority getpwent getspnam getspent getsid getwd \
|
||||
kill killpg lchown lstat mkfifo mknod mktime \
|
||||
--- pyconfig.h.in
|
||||
+++ pyconfig.h.in
|
||||
@@ -61,6 +61,9 @@
|
||||
/* Define if pthread_sigmask() does not work on your system. */
|
||||
#undef HAVE_BROKEN_PTHREAD_SIGMASK
|
||||
|
||||
+/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
+#undef HAVE_CANONICALIZE_FILE_NAME
|
||||
+
|
||||
/* Define to 1 if you have the `chown' function. */
|
||||
#undef HAVE_CHOWN
|
||||
|
13
python-2.5c1-dirs-fix.patch
Normal file
13
python-2.5c1-dirs-fix.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -247,6 +247,10 @@
|
||||
add_dir_to_list(self.compiler.library_dirs, '/usr/local/' + sys.lib)
|
||||
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
|
||||
|
||||
+ # ensure that "." (i.e. location of new libpython.so) is always used. this fixes
|
||||
+ # a build problem with our Python-2.3.3-dirs.patch. i'll look into it later
|
||||
+ add_dir_to_list(self.compiler.library_dirs, '.')
|
||||
+
|
||||
# Add paths specified in the environment variables LDFLAGS and
|
||||
# CPPFLAGS for header and library files.
|
||||
# We must get the values from the Makefile and not the environment
|
75
python-2.5c1-distutils-bdist-rpm.patch
Normal file
75
python-2.5c1-distutils-bdist-rpm.patch
Normal file
@ -0,0 +1,75 @@
|
||||
--- Python-2.5c1/Lib/distutils/command/bdist_rpm.py
|
||||
+++ Python-2.5c1/Lib/distutils/command/bdist_rpm.py
|
||||
@@ -337,37 +337,47 @@
|
||||
if not self.keep_temp:
|
||||
rpm_cmd.append('--clean')
|
||||
rpm_cmd.append(spec_path)
|
||||
+ # Determine the binary rpm names that should be built out of this spec
|
||||
+ # file
|
||||
+ # Note that some of these may not be really built (if the file
|
||||
+ # list is empty)
|
||||
+ nvr_string = "%{name}-%{version}-%{release}"
|
||||
+ src_rpm = nvr_string + ".src.rpm"
|
||||
+ non_src_rpm = "%{arch}/" + nvr_string + ".%{arch}.rpm"
|
||||
+ q_cmd = r"rpm -q --qf '%s %s\n' --specfile '%s'" % (
|
||||
+ src_rpm, non_src_rpm, spec_path)
|
||||
+
|
||||
+ out = os.popen(q_cmd)
|
||||
+ binary_rpms = []
|
||||
+ source_rpm = None
|
||||
+ while 1:
|
||||
+ line = out.readline()
|
||||
+ if not line:
|
||||
+ break
|
||||
+ l = string.split(string.strip(line))
|
||||
+ assert(len(l) == 2)
|
||||
+ binary_rpms.append(l[1])
|
||||
+ # The source rpm is named after the first entry in the spec file
|
||||
+ if source_rpm is None:
|
||||
+ source_rpm = l[0]
|
||||
+
|
||||
+ status = out.close()
|
||||
+ if status:
|
||||
+ raise DistutilsExecError("Failed to execute: %s" % repr(q_cmd))
|
||||
+
|
||||
self.spawn(rpm_cmd)
|
||||
|
||||
- # XXX this is a nasty hack -- we really should have a proper way to
|
||||
- # find out the names of the RPM files created; also, this assumes
|
||||
- # that RPM creates exactly one source and one binary RPM.
|
||||
if not self.dry_run:
|
||||
if not self.binary_only:
|
||||
- srpms = glob.glob(os.path.join(rpm_dir['SRPMS'], "*.rpm"))
|
||||
- assert len(srpms) == 1, \
|
||||
- "unexpected number of SRPM files found: %s" % srpms
|
||||
- dist_file = ('bdist_rpm', 'any',
|
||||
- self._dist_path(srpms[0]))
|
||||
- self.distribution.dist_files.append(dist_file)
|
||||
- self.move_file(srpms[0], self.dist_dir)
|
||||
+ srpm = os.path.join(rpm_dir['SRPMS'], source_rpm)
|
||||
+ assert(os.path.exists(srpm))
|
||||
+ self.move_file(srpm, self.dist_dir)
|
||||
|
||||
if not self.source_only:
|
||||
- rpms = glob.glob(os.path.join(rpm_dir['RPMS'], "*/*.rpm"))
|
||||
- debuginfo = glob.glob(os.path.join(rpm_dir['RPMS'],
|
||||
- "*/*debuginfo*.rpm"))
|
||||
- if debuginfo:
|
||||
- rpms.remove(debuginfo[0])
|
||||
- assert len(rpms) == 1, \
|
||||
- "unexpected number of RPM files found: %s" % rpms
|
||||
- dist_file = ('bdist_rpm', get_python_version(),
|
||||
- self._dist_path(rpms[0]))
|
||||
- self.distribution.dist_files.append(dist_file)
|
||||
- self.move_file(rpms[0], self.dist_dir)
|
||||
- if debuginfo:
|
||||
- dist_file = ('bdist_rpm', get_python_version(),
|
||||
- self._dist_path(debuginfo[0]))
|
||||
- self.move_file(debuginfo[0], self.dist_dir)
|
||||
+ for rpm in binary_rpms:
|
||||
+ rpm = os.path.join(rpm_dir['RPMS'], rpm)
|
||||
+ if os.path.exists(rpm):
|
||||
+ self.move_file(rpm, self.dist_dir)
|
||||
# run()
|
||||
|
||||
def _dist_path(self, path):
|
82
python-distutils-rpm-8.patch
Normal file
82
python-distutils-rpm-8.patch
Normal file
@ -0,0 +1,82 @@
|
||||
--- Python-2.4c1.orig/Lib/distutils/command/install.py 2004-11-23 12:03:25.394124018 +0100
|
||||
+++ Python-2.4c1/Lib/distutils/command/install.py 2004-11-23 12:29:28.270687563 +0100
|
||||
@@ -135,6 +135,8 @@
|
||||
|
||||
('record=', None,
|
||||
"filename in which to record list of installed files"),
|
||||
+ ('record-rpm=', None,
|
||||
+ "filename in which to record list of installed files and directories suitable as filelist for rpm"),
|
||||
]
|
||||
|
||||
boolean_options = ['compile', 'force', 'skip-build']
|
||||
@@ -207,6 +209,7 @@
|
||||
#self.install_info = None
|
||||
|
||||
self.record = None
|
||||
+ self.record_rpm = None
|
||||
|
||||
|
||||
# -- Option finalizing methods -------------------------------------
|
||||
@@ -508,12 +511,61 @@
|
||||
self.create_path_file()
|
||||
|
||||
# write list of installed files, if requested.
|
||||
- if self.record:
|
||||
+ if self.record or self.record_rpm:
|
||||
outputs = self.get_outputs()
|
||||
if self.root: # strip any package prefix
|
||||
root_len = len(self.root)
|
||||
for counter in xrange(len(outputs)):
|
||||
outputs[counter] = outputs[counter][root_len:]
|
||||
+ if self.record_rpm: # add directories
|
||||
+ self.record = self.record_rpm
|
||||
+ dirs = []
|
||||
+ # directories to reject:
|
||||
+ rejectdirs = [
|
||||
+ '/etc',
|
||||
+ '/',
|
||||
+ '',
|
||||
+ self.prefix,
|
||||
+ self.exec_prefix,
|
||||
+ self.install_base,
|
||||
+ self.install_platbase,
|
||||
+ self.install_purelib,
|
||||
+ self.install_platlib,
|
||||
+ self.install_headers[:len(self.install_headers) - len(self.distribution.get_name()) - 1],
|
||||
+ self.install_libbase,
|
||||
+ self.install_scripts,
|
||||
+ self.install_data,
|
||||
+ os.path.join(self.install_data, 'share'),
|
||||
+ os.path.join(self.install_data, 'share', 'doc'),
|
||||
+ ]
|
||||
+ # directories whose childs reject:
|
||||
+ rejectdirs2 = [
|
||||
+ os.path.join(self.install_data, 'share', 'man'),
|
||||
+ ]
|
||||
+ # directories whose grandsons reject:
|
||||
+ rejectdirs3 = [
|
||||
+ os.path.join(self.install_data, 'share', 'man'),
|
||||
+ os.path.join(self.install_data, 'share', 'locale'),
|
||||
+ ]
|
||||
+ for counter in xrange(len(rejectdirs)):
|
||||
+ if len(rejectdirs[counter]) > root_len:
|
||||
+ rejectdirs[counter] = rejectdirs[counter][root_len:]
|
||||
+ for counter in xrange(len(rejectdirs2)):
|
||||
+ if len(rejectdirs2[counter]) > root_len:
|
||||
+ rejectdirs2[counter] = rejectdirs2[counter][root_len:]
|
||||
+ for counter in xrange(len(rejectdirs3)):
|
||||
+ if len(rejectdirs3[counter]) > root_len:
|
||||
+ rejectdirs3[counter] = rejectdirs3[counter][root_len:]
|
||||
+ for counter in xrange(len(outputs)):
|
||||
+ directory = os.path.dirname(outputs[counter])
|
||||
+ while directory not in rejectdirs and \
|
||||
+ os.path.dirname(directory) not in rejectdirs2 and \
|
||||
+ os.path.dirname(os.path.dirname(directory)) not in rejectdirs3:
|
||||
+ dirname = '%dir ' + directory
|
||||
+ if dirname not in dirs:
|
||||
+ dirs.append(dirname)
|
||||
+ directory = os.path.dirname(directory)
|
||||
+ outputs += dirs
|
||||
self.execute(write_file,
|
||||
(self.record, outputs),
|
||||
"writing list of installed files to '%s'" %
|
26
python-doc.changes
Normal file
26
python-doc.changes
Normal file
@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 18:30:50 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- updated to version 2.5 final, going into STABLE dist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 13 19:11:36 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- updated to build against 2.5c2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 14:01:05 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- updated to build against 2.5c1
|
||||
- will actually update the docs as soon as this goes into STABLE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 20:08:41 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- update to 2.4.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 18:11:38 CET 2006 - jmatejek@suse.cz
|
||||
|
||||
- created separate noarch specfile
|
||||
|
109
python-doc.spec
Normal file
109
python-doc.spec
Normal file
@ -0,0 +1,109 @@
|
||||
#
|
||||
# spec file for package python-doc (Version 2.5)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: python-doc
|
||||
URL: http://www.python.org/
|
||||
License: Other License(s), see package
|
||||
Group: Development/Languages/Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Additional Package Documentation.
|
||||
Version: 2.5
|
||||
Release: 1
|
||||
%define pyver %{version}
|
||||
BuildArch: noarch
|
||||
%define tarname Python-%{pyver}
|
||||
%define pyname python
|
||||
Enhances: %{pyname}=%{pyver}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
Source1: html-%{version}.tar.bz2
|
||||
Source2: pdf-a4-%{version}.tar.bz2
|
||||
Source3: pdf-letter-%{version}.tar.bz2
|
||||
Provides: pyth_doc pyth_ps
|
||||
Obsoletes: pyth_doc pyth_ps
|
||||
|
||||
%description
|
||||
Tutorial, Global Module Index, Language Reference, Library Reference,
|
||||
Extending and Embedding Reference, Python/C API Reference, Documenting
|
||||
Python, and Macintosh Module Reference in HTML format.
|
||||
|
||||
|
||||
|
||||
%package pdf
|
||||
Provides: pyth_pdf
|
||||
Obsoletes: pyth_pdf
|
||||
Summary: Python PDF Documentation
|
||||
Group: Development/Languages/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description pdf
|
||||
Tutorial, Global Module Index, Language Reference, Library Reference,
|
||||
Extending and Embedding Reference, Python/C API Reference, Documenting
|
||||
Python, and Macintosh Module Reference in PDF format.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tarname}
|
||||
|
||||
%build
|
||||
# nothing to do (...whistles innocently)
|
||||
|
||||
%install
|
||||
export PDOCS=${RPM_BUILD_ROOT}%{_docdir}/%{pyname}
|
||||
install -d -m 755 $PDOCS/Misc
|
||||
install -d -m 755 $PDOCS/paper-a4 $PDOCS/paper-letter $PDOCS/html
|
||||
tar xfj %{S:1} -C $PDOCS/html
|
||||
( cd $PDOCS/html; mv Python-Docs-%{version}/* . ; rmdir Python-Docs-%{version})
|
||||
tar xfj %{S:2} -C $PDOCS/paper-a4
|
||||
( cd $PDOCS/paper-a4; mv Python-Docs-%{version}/* . ; rmdir Python-Docs-%{version})
|
||||
tar xfj %{S:3} -C $PDOCS/paper-letter
|
||||
( cd $PDOCS/paper-letter; mv Python-Docs-%{version}/* . ; rmdir Python-Docs-%{version})
|
||||
install -c -m 644 Doc/ACKS $PDOCS/ACKS.Doc
|
||||
install -c -m 644 Doc/TODO $PDOCS/TODO.Doc
|
||||
install -c -m 644 Doc/README $PDOCS/README.Doc
|
||||
for i in Misc/* ; do
|
||||
[ -f $i ] && install -c -m 644 $i $PDOCS/Misc/
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(644, root, root, 755)
|
||||
%dir %{_docdir}/%{pyname}
|
||||
%doc %{_docdir}/%{pyname}/Misc
|
||||
%doc %{_docdir}/%{pyname}/html
|
||||
%doc %{_docdir}/%{pyname}/ACKS.Doc
|
||||
%doc %{_docdir}/%{pyname}/README.Doc
|
||||
%doc %{_docdir}/%{pyname}/TODO.Doc
|
||||
|
||||
%files pdf
|
||||
%defattr(644, root, root, 755)
|
||||
%doc %{_docdir}/%{pyname}/paper-a4
|
||||
%doc %{_docdir}/%{pyname}/paper-letter
|
||||
|
||||
%changelog -n python-doc
|
||||
* Tue Sep 19 2006 - jmatejek@suse.cz
|
||||
- updated to version 2.5 final, going into STABLE dist
|
||||
* Wed Sep 13 2006 - jmatejek@suse.cz
|
||||
- updated to build against 2.5c2
|
||||
* Tue Sep 05 2006 - jmatejek@suse.cz
|
||||
- updated to build against 2.5c1
|
||||
- will actually update the docs as soon as this goes into STABLE
|
||||
* Mon Apr 24 2006 - jmatejek@suse.cz
|
||||
- update to 2.4.3
|
||||
* Tue Mar 21 2006 - jmatejek@suse.cz
|
||||
- created separate noarch specfile
|
973
python.changes
Normal file
973
python.changes
Normal file
@ -0,0 +1,973 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 18:20:07 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- update to 2.5 final, going into STABLE dist
|
||||
- issue with lib/python/config is not caused by dirs patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 13 19:07:35 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- update to 2.5c2
|
||||
- 2.5 final is expected next week
|
||||
- removed testfiles.tar.bz2 from package due to copyright issues
|
||||
(see #204867). Reminder: enable urlfetch or put it back (or both,
|
||||
using Nosource)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 13:51:48 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- update to 2.5c1
|
||||
- many new features, see http://www.python.org/dev/peps/pep-0356/
|
||||
- 64bit indices issue will require changes of modules, see
|
||||
http://www.python.org/dev/peps/pep-0353/ for transition guidelines
|
||||
- non-backwards-compatible changes, see
|
||||
http://docs.python.org/dev/whatsnew/section-other.html
|
||||
(this link is expected to die, so just search for "what's new in 2.5")
|
||||
- open issues in build process:
|
||||
- sed'ing out /usr/local/bin/python from files causes build to fail
|
||||
if not filtered by grep (see %prep section) - might be a bug in sed
|
||||
- 2.3.3-dirs patch + --enable-shared + --libdir breaks build,
|
||||
because "-L/usr/lib*/python2.5/config" is added instead of "-L."
|
||||
Workaround in 2.5c1-dirs-fix, should be replaced soon
|
||||
- test_file fails in autobuild, but is OK when building manually
|
||||
- test_nis fails in autobuild, probably due to a misconfiguration
|
||||
on autobuild servers
|
||||
- it might be good to create python-sqlite3 subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 20:08:30 CEST 2006 - jmatejek@suse.cz
|
||||
|
||||
- update to 2.4.3
|
||||
- no big changes, bugfix-only release (about 50 bugs fixed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 17:51:29 CET 2006 - jmatejek@suse.cz
|
||||
|
||||
- moved -doc and -doc-pdf into separate noarch specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 18:05:56 CET 2006 - jmatejek@suse.cz
|
||||
|
||||
- implemented /usr/local path schemes for bug #149809
|
||||
- python now recognizes packages in /usr/local/lib/python2.4
|
||||
- distutils install by default into /usr/local/lib/python2.4/site-packages
|
||||
- on 64bit systems that is of course lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:52 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 14 13:25:08 CET 2006 - kukuk@suse.de
|
||||
|
||||
- Add gmp-devel to nfb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 28 19:10:03 CET 2005 - jmatejek@suse.cz
|
||||
|
||||
- reenabled optimization on ppc64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 11 16:59:11 CET 2005 - nadvornik@suse.cz
|
||||
|
||||
- fixed another bug in canonicalize patch [#133267]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 5 15:53:01 CEST 2005 - jmatejek@suse.cz
|
||||
|
||||
- update to 2.4.2
|
||||
- additional fixes to canonicalize patch, restored interactive mode
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 15:40:20 CEST 2005 - jmatejek@suse.cz
|
||||
|
||||
- replaced the previous patch with a new one
|
||||
- it now tries to use canonical_file_name(), falling back to realpath()
|
||||
and eventually readlink
|
||||
- canonical_file_name() branch now sets the buffer length
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 23 16:29:19 CEST 2005 - jmatejek@suse.cz
|
||||
|
||||
- fixed to build with gcc's new buffer overflow checking
|
||||
- added patch from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169046
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 22 17:04:38 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Always enable SSL bug workarounds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 16:58:27 CEST 2005 - mcihar@suse.cz
|
||||
|
||||
- update to 2.4.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 16:15:25 CET 2005 - uli@suse.de
|
||||
|
||||
- fixed to build on ARM
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 1 19:16:46 CET 2005 - mcihar@suse.cz
|
||||
|
||||
- skip some test on ia64 for now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 16:43:56 CET 2005 - mcihar@suse.cz
|
||||
|
||||
- mark configuration files as %config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 01 14:16:43 CET 2005 - mcihar@suse.cz
|
||||
|
||||
- fix vulnerability in SimpleXMLRPCServer (bug #50321, CAN-2005-0089)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 28 16:43:47 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- disable bsddb tests, it fails probably on all 64-bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 23 13:46:21 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- make lib64 installation also work on others than x86_64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 20 17:51:29 CET 2004 - mcihar@suse.de
|
||||
|
||||
- fixed build on ppc64
|
||||
- update multiarch patch
|
||||
- do not test bsddb internals
|
||||
- remove optimalisation from flags, it breaks at least math
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 20 14:22:15 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- added extra files needed for some tests (codecmaps and unicode normalisation)
|
||||
- enabled bsddb tests
|
||||
- reenabled test_shelve, as it works now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 17:13:04 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- update db 4.3 patch
|
||||
- fix bdist_rpm when spec file generates more than one rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 14 08:13:09 CET 2004 - bg@suse.de
|
||||
|
||||
- disable tests for hppa
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 06 12:30:59 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- fix bsddb module for current bsddb
|
||||
- improved readline detection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 03 17:37:48 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- updated documentation to 2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 01 18:07:17 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- don't use wctype functions from glibc, it breaks at some situations
|
||||
- enable tests during compilation, removing currently known failures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 14:32:27 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- update to 2.4 final
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 18:30:23 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- yet another ignore list update, ignore man and locale dirs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 15:15:46 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- ignore /etc and avoid infinite loop while generating directory list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 12:43:07 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- ignore one more directories in file list generating
|
||||
- handle correctly headers path in file list generating
|
||||
- handle extra_dir in file list generating
|
||||
- use same way as mandrake to support lib64, at least it's a bit cleaner
|
||||
solution than we had, so we now also have sys.lib
|
||||
- audioop is now enabled on 64-bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 23 16:25:15 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.4c1 (2.4 release candidate 1)
|
||||
- dropped python-mpz package as it was dropped by upstream
|
||||
- completely rewritten and much simplified rpm file list generation, if you
|
||||
have problems with new version, please drop me a note
|
||||
- install also /etc/profile.d/python.csh
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 24 16:22:05 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- updated README.SUSE
|
||||
- added startup script, which enables saving of history and completion
|
||||
for interactive usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 27 15:25:20 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- update to 2.3.4 final (no changes from rc 1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 17:11:10 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- update to 2.3.4 release candidate 1 (obsoletes some patches taken from cvs)
|
||||
- forcing of large file support is not needed (for quite a long time)
|
||||
- updated README.SUSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 15:24:49 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- included some fixes from cvs:
|
||||
- fix possible segfault in bsddb
|
||||
- urllib2 supports non-anonymous ftp and absolute paths
|
||||
- fixed GC problems in PyWeakref_NewRef
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 18:36:16 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- fix readline with utf-8 (bug #34302)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 03 15:47:22 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- obsoletes python21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 17:13:43 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- all subpackages depend on current python version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 19 13:11:04 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- fix Lib/email/Charset.py for use in some locales
|
||||
- fix format string in zipimport module
|
||||
- use system readline
|
||||
- add more IPV6 socket options
|
||||
- use sed instead of perl for replacing
|
||||
- include LICENSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 11:26:35 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 05 11:24:09 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.3.3 (final)
|
||||
- call %{run_ldconfig} in post and postun
|
||||
- libpython.2.3.so symlink moved to devel package (bug #33779)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 12 14:33:36 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.3.3 (release candidate 1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 18 12:41:20 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- use wchar_t functions from libc, this reduces size of interpreter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 13:19:52 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Remove useless Requires
|
||||
- Remove not used packages from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 03 14:59:55 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.3.2
|
||||
- A bug in autoconf that broke building on HP/UX systems is fixed.
|
||||
- A bug in the Python configure script that meant os.fsync() was
|
||||
never available is fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 02 16:03:05 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- force use of directories passed to configure script (-dirs.patch), bug #31947
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 29 13:57:18 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.3.1, most of changes were alredy included in -cvs.patch
|
||||
- not so verbose untaring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 14:31:48 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- included fixes from cvs (branch release23-maint), this fixes some
|
||||
memory leaks and other bugs (-cvs.patch)
|
||||
- nicer output from pydoc (-pydoc.patch)
|
||||
- cleaned up configure parameters
|
||||
- compiling with -Wall
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 10 18:39:00 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- build as shared
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 03 11:48:07 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- python now obsoletes python-nothreads (bug #29907)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 13:23:50 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- fixed symlinks to configuration files
|
||||
- cleaned up spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 06 18:03:22 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated lib64 patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 05 13:17:20 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to final 2.3, some highlights:
|
||||
* Python 2.3 is about 20-30% faster than Python 2.2.3
|
||||
* Brand new IDLE
|
||||
* Some new or upgraded built-ins, includes better support for
|
||||
unicode, new bool type...
|
||||
* Lots of upgraded or new modules and packages.
|
||||
* PYTHONINSPECT variabale that can cause python to behave as it
|
||||
was executed with -i parameter.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 29 01:46:23 CEST 2003 - ro@suse.de
|
||||
|
||||
- added tk-devel to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 26 22:57:28 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to cvs snapshot, mostly because of finally correct DESTDIR
|
||||
support, to avoid buildroot leftovers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 12:32:23 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- better excluding site-packages from generated dirlist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 15:37:51 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- ignore site-packages and share directories for filelists
|
||||
- include install dir if not site-packages in filelists
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 10:20:09 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- better handle mutliple level of install directories when
|
||||
generating %dir entries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 17:25:08 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- one more distutils patch update:
|
||||
* fix generating of dirs in chrooted installs for install_data
|
||||
* don't include directory for install_scripts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 15:55:20 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated patch to work around problems with self defined get_outputs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 12:29:31 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- modified distutils to allow generating complete file list for rpm
|
||||
(including directories with %dir macro), to use this use
|
||||
--record-rpm= instead of --record=
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 05 09:23:32 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- move documentation where it was in 2.2 versions
|
||||
- fixed permissions for some scripts in devel package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 29 14:22:08 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- cleaned up specfile
|
||||
- make executable only files that should be
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 19 19:01:43 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- removed .cvsignore files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 13:26:02 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated lib64 patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 11:25:11 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.3b1, some highlights:
|
||||
- sum() builtin, adds a sequence of numbers, beats reduce().
|
||||
- csv module, reads comma-separated-value files (and more).
|
||||
- timeit module, times code snippets.
|
||||
- os.walk(), a generator slated to replace os.path.walk().
|
||||
- platform module, by Marc-Andre Lemburg, returns detailed platform
|
||||
information.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 14:52:48 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- added DEFS to config/Makefile as it was in 2.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 02 14:50:29 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated lib64 patch
|
||||
- fixed list of built modules for 64-bit arches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 01 17:57:56 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to python 2.3 alpha 2
|
||||
- updated many builtins and modules
|
||||
- new modules: bsddb, bz2, datetime, logging, optparse, sets,
|
||||
textwrap, zipimport,
|
||||
- some general things have changed:
|
||||
- Hex/oct literals prefixed with a minus sign were handled
|
||||
inconsistently.
|
||||
- Package index and metadata for distutils.
|
||||
- Encoding declarations - you can put a comment of the form
|
||||
"# -*- coding: -*-" in the first or second line of a Python
|
||||
source file to indicate the encoding (e.g. utf-8).
|
||||
- Import from zipfiles.
|
||||
- see Misc/NEWS in documentation or python website -
|
||||
http://python.org/2.3/highlights.html for more details
|
||||
- moved distutils into -devel package
|
||||
- cleaned up specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 01 12:27:06 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- removed RPM_BUILD_ROOT leftovers (bug #25963)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 12:05:53 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Provide/Obsolete python-tkinter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 17:51:45 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- idle symlink corrected for lib64
|
||||
- fixed LIBDEST path for distutils, closes #22322
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 13:39:51 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- fixed distutils for lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 13:45:15 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- improved blt detection for tkinter
|
||||
- build with detected version of tix
|
||||
- enabled SIGFPE catching
|
||||
- enabled signal module
|
||||
- enabled C++ support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 29 16:16:57 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- enabled ipv6 support
|
||||
- no apache is needed for building
|
||||
- python-nothreads is not built anymore as is seems that mod_python
|
||||
works correctly woth python 2.2.2 and threads
|
||||
- Makefile also copied to config directory in rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 10:59:03 CET 2002 - adrian@suse.de
|
||||
|
||||
- Makefile.pre* to config directory
|
||||
(following the official spec file change)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 08 11:06:39 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- fixed bad source number for suse-start-python-mode.el
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 07 11:37:34 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- fixed %files section for idle on lib64 arches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 06 10:35:50 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- included python-mode.el for emacs
|
||||
- idle moved from demos to separate package
|
||||
- merged tk and tkinter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 14:54:31 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- removed not needed l2h and tetex from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 11:31:44 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <l2h> to <latex2html>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 23 14:36:10 CEST 2002 - mcihar@suse.cz
|
||||
|
||||
- updated to 2.2.2 (bugfix release)
|
||||
- moved python-korean into separate source package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||
|
||||
- removed bogus self-provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 13:52:26 CEST 2002 - kukuk@suse.de
|
||||
|
||||
- Add provides for correct update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 12:14:45 CEST 2002 - ro@suse.de
|
||||
|
||||
- remove l2h from neededforbuild (apparently no longer used)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 15 00:45:41 CEST 2002 - ro@suse.de
|
||||
|
||||
- no fpectl.so on alpha
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 12:45:33 CEST 2002 - uli@suse.de
|
||||
|
||||
- rediffed lib64 patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 07:57:25 CEST 2002 - vinil@suse.de
|
||||
|
||||
- new version 2.2.1
|
||||
- new version of Korean codes 2.0.5
|
||||
and splitted to standalone package 'python-korean'
|
||||
- get rid of Makefile.pre.in
|
||||
- clean part added to spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 28 09:27:46 CEST 2002 - kukuk@suse.de
|
||||
|
||||
- removed termcap and tetex from neededforbuild (not used)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 22:03:54 CEST 2002 - adrian@suse.de
|
||||
|
||||
- fix neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 11:48:13 CEST 2002 - meissner@suse.de
|
||||
|
||||
- add ppc64 to list of 64bit archs that don't compile 3 of the plugins.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 17:06:04 CEST 2002 - stepan@suse.de
|
||||
|
||||
- change more locations of lib to %{_lib} on platforms
|
||||
that need it.
|
||||
- change Makefile to use install -d instead of mkdir
|
||||
to solve trouble when installing in buildroots.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 13:21:07 CEST 2002 - stepan@suse.de
|
||||
|
||||
- Change config/Makefile and config/Makefile.pre.in
|
||||
to use %_lib instead of lib (fixes i.e. zope)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 15:08:18 CEST 2002 - sf@suse.de
|
||||
|
||||
- changed site.py to detect the correct location (is needed at least for
|
||||
postresql to build
|
||||
- it still needs to be corrected, as only 64-bit excutable shlibs
|
||||
have to reside in */lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 15 12:01:45 CEST 2002 - coolo@suse.de
|
||||
|
||||
- fixing file list for s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 23:50:05 CEST 2002 - ro@suse.de
|
||||
|
||||
- use libdir
|
||||
- try to get this working with lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 17:12:49 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Build python library with -fPIC, for inclusion in shared library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 17 15:48:52 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix detection of readline library (use -lncurses instead of -ltermcap).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 23 17:21:32 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <l2h> to <l2h l2h-pngicons>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 00:26:09 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 19:34:47 CET 2002 - rvasice@suse.cz
|
||||
|
||||
- used correct Makefile.pre.in
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 14:49:59 CET 2002 - rvasice@suse.cz
|
||||
|
||||
- added Makefile.pre.in to enable build other python packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 7 08:51:27 CET 2002 - rvasice@suse.cz
|
||||
|
||||
- update to version 2.2
|
||||
- recreated modules list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 17 12:55:39 CET 2001 - ro@suse.de
|
||||
|
||||
- fixed for gmp-4.x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 13:48:04 CEST 2001 - rvasice@suse.cz
|
||||
|
||||
- added patch for Large File Support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 10:26:55 CEST 2001 - rvasice@suse.cz
|
||||
|
||||
- removed conflicting file /etc/susehelp.d/pythonhtml.conf from
|
||||
subpackage python-doc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 17 14:41:48 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Compile python library with -fPIC to allow inclusion in shared
|
||||
libraries.
|
||||
- Fix configure check for rl_completion_matches.
|
||||
- Replace use of config.guess by %ifarch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 12:51:39 CEST 2001 - ro@suse.de
|
||||
|
||||
- added regex module (needed for yodl)
|
||||
- filelist probably needs re-check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 11:34:35 CEST 2001 - rvasice@suse.cz
|
||||
|
||||
- fix /usr/local path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 27 16:23:47 CEST 2001 - rvasice@suse.cz
|
||||
|
||||
- update to version 2.1.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 8 02:15:19 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- bzip2 sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 20:27:17 CEST 2001 - kukuk@suse.de
|
||||
|
||||
- fix build with new readline library
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 11 14:30:16 CEST 2001 - utuerk@suse.de
|
||||
|
||||
- added pythonhtml.conf for susehelp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 16:24:25 CET 2001 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <apache> to <apache apache-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 00:10:25 CET 2001 - ro@suse.de
|
||||
|
||||
- added readline/readline-devel to neededforbuild (split from bash)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 16:25:53 CET 2001 - kukuk@suse.de
|
||||
|
||||
- Use -fPIC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 19:26:08 CET 2001 - schwab@suse.de
|
||||
|
||||
- Compile python library with -fpic so that it can be included in a
|
||||
shared library (for mod_python).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 13:00:09 CET 2001 - mt@suse.de
|
||||
|
||||
- added uc-kr codec, thanks to Hwang, SangJin <violiet@susekorea.net>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 31 18:55:09 CET 2000 - schwab@suse.de
|
||||
|
||||
- Fix filelist for ia64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 17:18:37 CET 2000 - mt@suse.de
|
||||
|
||||
- added sub-package python-nothreads for mod_python apache-module
|
||||
- added Obsoletes for old 8.3 packages names
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 18:04:55 CET 2000 - mt@suse.de
|
||||
|
||||
- cleaned up pythons tk dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 30 01:41:16 CET 2000 - ro@suse.de
|
||||
|
||||
- fixed tix-link
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 17:26:54 CET 2000 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <tcld> to <tcl-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 10:17:40 CET 2000 - mt@suse.de
|
||||
|
||||
- changed libnetpb to libnetpbm in neededforbuild
|
||||
- changed file-list in python-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 09:39:10 CET 2000 - mt@suse.de
|
||||
|
||||
- added openssl-devel to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 10:11:15 CET 2000 - mt@suse.de
|
||||
|
||||
- removed site-packages from Setup.in patch
|
||||
- python-64bit.patch should be used on all 64bit platforms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 19 18:31:21 CET 2000 - mt@suse.de
|
||||
|
||||
- updated to BeOpen-Python-2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 14:34:14 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Use long filenames
|
||||
- Fix some paths
|
||||
- Include <db3/db_185.h>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 6 01:14:30 CEST 2000 - mt@suse.de
|
||||
|
||||
- added anydbm (whichdb.py) patch from www.tummy.com
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 27 11:30:28 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Use libtk8.3.so and libtcl8.3.so
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 18:32:34 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Fix filelist for new doc dir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 23:52:19 CET 2000 - ro@suse.de
|
||||
|
||||
- fixed filelist for alpha
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 18:17:20 CET 2000 - werner@suse.de
|
||||
|
||||
- Fix config.guess selection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 15:13:47 CET 2000 - uli@suse.de
|
||||
|
||||
- passing MANDIR to "make install libinstall" (seems like it gets
|
||||
lost somewhere)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 00:25:30 CET 2000 - ro@suse.de
|
||||
|
||||
- man to /usr/share using macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 20:43:25 CET 2000 - mt@suse.de
|
||||
|
||||
- stripped the python binary
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 17:40:31 MEST 1999 - max@suse.de
|
||||
|
||||
- ready for the new Tcl/Tk packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 27 16:31:01 CEST 1999 - bs@suse.de
|
||||
|
||||
- fixed requirements for sub packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 18:25:03 CEST 1999 - ro@suse.de
|
||||
|
||||
- added python_image_lib as requires to pyth_tk and as provides to pyth_tkl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 14:27:02 MEST 1999 - mt@suse.de
|
||||
|
||||
- disabled pyth_dvi module in spec-file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 12:27:24 MEST 1999 - ro@suse.de
|
||||
|
||||
- added libpng to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 12:06:13 MEST 1999 - ro@suse.de
|
||||
|
||||
- added blt to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 25 16:00:31 MEST 1999 - mt@suse.de
|
||||
|
||||
- new version 1.5.2
|
||||
- splited into sub-packages: pyth_doc, pyth_ps, pyth_pdf,
|
||||
pyth_dvi, pyth_dmo, pyth_tk, pyth_tkl, pyth_cur, pythgdbm
|
||||
to have better base-package compatibility to andrich.net.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 01:13:02 MET 1999 - ro@suse.de
|
||||
|
||||
- don't set POSIXLY_CORRECT for second patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 18 23:55:16 MET 1999 - ro@suse.de
|
||||
|
||||
- added automake to neededforbuild
|
||||
- alpha-fix: don't mix up dec-osf with linux-alpha
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 1 23:50:20 MET 1998 - mt@suse.de
|
||||
|
||||
- removed TkInter into a separate package - pyth_tk - to make it
|
||||
possible to replace it with a PIL based TkInter (Python Imaging
|
||||
Lib) and better package dependecies (not each app needs TkInter)
|
||||
- removed Makefile.Linux - all build is done from spec file now
|
||||
- more /usr/local path fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 6 15:37:40 MET 1998 - ro@suse.de
|
||||
|
||||
- added automake to neededforbuild
|
||||
- configure with threads
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 5 09:53:54 MET 1998 - ro@suse.de
|
||||
|
||||
- use db_185.h only for glibc-2.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 23 12:15:47 MEST 1998 - ro@suse.de
|
||||
|
||||
- two hacks to compile for glibc:
|
||||
Modules/bsddbmodule.c include db_185.h for glibc
|
||||
Modules/mpzmodule.c gmp-mparam.h dont exist for glibc / use define
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 23 13:15:31 MEST 1998 - ke@suse.de
|
||||
|
||||
- Compress PostScript docu.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 17 12:47:42 MEST 1998 - mt@suse.de
|
||||
|
||||
- linked readline- and curses-modules with ncurses
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 7 21:47:11 MEST 1998 - mt@suse.de
|
||||
|
||||
- python modules - file permissions changed (-x)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 11 12:57:01 MEST 1998 - bs@suse.de
|
||||
|
||||
- fixed neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 00:29:05 MEST 1998 - mt@suse.de
|
||||
|
||||
- new revision 1.5.1
|
||||
- docu in a separate package (pyth_doc)
|
||||
- Tkinter uses tk8.0/tcl8.0 now
|
||||
- first attempt to make it "alpha ready" (spec- & dif-file)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 18:38:49 MET 1998 - ro@suse.de
|
||||
|
||||
- fixed dependency to /usr/local/bin/python
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 9 17:28:57 MET 1998 - ro@suse.de
|
||||
|
||||
- added some in neededforbuild
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Wed Feb 4 19:27:08 CET 1998 - mt@suse.de
|
||||
|
||||
- new Version 1.5 with more features, html documentation and new modules
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Mon Sep 15 14:57:42 CEST 1997 - mt@suse.de
|
||||
|
||||
- added support for readline and (shared) modules: tkinter, dbm, gdbm,
|
||||
syslog, ncurses, ... - see /usr/lib/python1.4/config/Setup for details
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Thu Jun 5 17:57:42 CEST 1997 - mt@suse.de
|
||||
|
||||
- new Version 1.4
|
||||
- a symlink (python -> python1.4) will be used instead of a hardlink
|
||||
|
2
python.csh
Normal file
2
python.csh
Normal file
@ -0,0 +1,2 @@
|
||||
# add python startup script for interactive sessions
|
||||
setenv PYTHONSTARTUP /etc/pythonstart
|
2
python.sh
Normal file
2
python.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# add python startup script for interactive sessions
|
||||
export PYTHONSTARTUP=/etc/pythonstart
|
964
python.spec
Normal file
964
python.spec
Normal file
@ -0,0 +1,964 @@
|
||||
#
|
||||
# spec file for package python (Version 2.5)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: python
|
||||
BuildRequires: blt db-devel emacs-nox gcc-c++ gmp-devel openssl-devel readline-devel tk-devel xorg-x11-devel
|
||||
URL: http://www.python.org/
|
||||
License: Artistic License, Other License(s), see package
|
||||
Group: Development/Languages/Python
|
||||
Autoreqprov: on
|
||||
Obsoletes: python-nothreads python21
|
||||
Summary: Python Interpreter
|
||||
Version: 2.5
|
||||
Release: 1
|
||||
%define tarname Python-%{version}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
Source6: README.SUSE
|
||||
Source7: suse-start-python-mode.el
|
||||
Source8: pythonstart
|
||||
Source9: python.sh
|
||||
Source10: python.csh
|
||||
#Source11: testfiles.tar.bz2
|
||||
# issues with copyrighted files
|
||||
Source13: distutils.cfg
|
||||
Patch01: Python-2.3.3-dirs.patch
|
||||
Patch10: python-distutils-rpm-8.patch
|
||||
Patch13: Python-2.4-readline.patch
|
||||
Patch21: Python-2.5c1-multilib.patch
|
||||
Patch22: python-2.5c1-distutils-bdist-rpm.patch
|
||||
Patch23: ssl-compat.diff
|
||||
Patch25: python-2.4.2-canonicalize2.patch
|
||||
Patch26: python-2.4-localpath.patch
|
||||
Patch27: python-2.5c1-dirs-fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define python_version %(echo %{version} | head -c 3)
|
||||
%define idle_name idle
|
||||
|
||||
%description
|
||||
Python is an interpreted, object-oriented programming language, and is
|
||||
often compared to Tcl, Perl, Scheme, or Java. You can find an overview
|
||||
of Python in the documentation and tutorials included in the python-doc
|
||||
(HTML) or python-doc-pdf (PDF) packages.
|
||||
|
||||
If you want to install third party modules using distutils, you need to
|
||||
install python-devel package.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package idle
|
||||
Requires: python = %{version} python-tk
|
||||
Summary: An Integrated Development Environment for Python
|
||||
Group: Development/Languages/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description idle
|
||||
IDLE is a Tkinter based integrated development environment for Python.
|
||||
It features a multi-window text editor with multiple undo, Python
|
||||
colorizing, and many other things, as well as a Python shell window and
|
||||
a debugger.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package demo
|
||||
Provides: pyth_dmo
|
||||
Obsoletes: pyth_dmo
|
||||
Requires: python = %{version}
|
||||
Summary: Python Demonstration Scripts
|
||||
Group: Development/Languages/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description demo
|
||||
Various demonstrations of what you can do with Python and a number of
|
||||
programs that are useful for building or extending Python.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package devel
|
||||
Requires: python = %{version} python-tk
|
||||
Summary: Include Files and Libraries Mandatory for Building Python Modules.
|
||||
Group: Development/Languages/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description devel
|
||||
The Python programming language's interpreter can be extended with
|
||||
dynamically loaded extensions and can be embedded in other programs.
|
||||
|
||||
This package contains header files, a static library, and development
|
||||
tools for building Python modules, extending the Python interpreter or
|
||||
embedding Python in applications.
|
||||
|
||||
This also includes the Python distutils, which were in the Python
|
||||
package up to version 2.2.2.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package tk
|
||||
Provides: pyth_tk python_tkinter_lib pyth_tkl python-tkinter
|
||||
%ifarch %ix86
|
||||
Provides: _tkinter.so
|
||||
%endif
|
||||
Obsoletes: pyth_tk pyth_tkl python-tkinter
|
||||
Requires: python = %{version}
|
||||
Summary: TkInter - Python Tk Interface
|
||||
Group: Development/Libraries/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description tk
|
||||
Python interface to Tk. Tk is the GUI toolkit that comes with Tcl. The
|
||||
"xrpm" package uses this Python interface.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package curses
|
||||
Requires: python = %{version}
|
||||
Obsoletes: pyth_cur
|
||||
Provides: pyth_cur
|
||||
Summary: Python Interface to the (N)Curses Library
|
||||
Group: Development/Libraries/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description curses
|
||||
An easy to use interface to the (n)curses CUI library. CUI stands for
|
||||
Console User Interface.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package gdbm
|
||||
Requires: python = %{version}
|
||||
Obsoletes: pygdmod
|
||||
Provides: pygdmod
|
||||
Summary: Python Interface to the GDBM Library
|
||||
Group: Development/Libraries/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description gdbm
|
||||
An easy to use interface for GDBM databases. GDBM is the GNU
|
||||
implementation of the standard Unix DBM databases.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Guido van Rossum <guido@python.org>
|
||||
|
||||
%package xml
|
||||
Requires: python = %{version}
|
||||
Summary: A Python XML Interface
|
||||
Group: Development/Libraries/Python
|
||||
Autoreqprov: on
|
||||
|
||||
%description xml
|
||||
The expat module is a Python interface to the expat XML parser. Since
|
||||
Python2.x, it is part of the core Python distribution.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
#%%setup -q -n %{tarname} -a11
|
||||
%setup -q -n %{tarname}
|
||||
# patching
|
||||
%patch01
|
||||
%patch10 -p1
|
||||
#%patch13
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23
|
||||
%patch25
|
||||
%patch26
|
||||
%patch27
|
||||
# some cleanup
|
||||
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
|
||||
find . -name CVS -type d -print0 | xargs -0 rm -rf
|
||||
# replace rest of /usr/local/bin/python with /usr/bin/env python
|
||||
find . -name '*.py' -type f -print0 | xargs -0 grep -l '^#! \?/usr/.*bin/python' | xargs sed -r -i -e 's@^#![[:space:]]*/usr/(local/)?bin/python@#!/usr/bin/env python@'
|
||||
# the grep inbetween is apparently needed, as sed changes -something- it should not (even according to itself) - maybe a bug in sed? or am I overlooking something?
|
||||
|
||||
%build
|
||||
########################################
|
||||
# use rpm_opt_flags
|
||||
########################################
|
||||
export OPT="$RPM_OPT_FLAGS"
|
||||
########################################
|
||||
# regenerate
|
||||
########################################
|
||||
autoreconf -f -i
|
||||
########################################
|
||||
# configure
|
||||
########################################
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--mandir=%{_mandir} \
|
||||
--enable-ipv6 \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
--enable-unicode=ucs4
|
||||
########################################
|
||||
# compile
|
||||
########################################
|
||||
make %{?jobs:-j%jobs} DESTDIR=$RPM_BUILD_ROOT
|
||||
########################################
|
||||
# test
|
||||
########################################
|
||||
# on hppa, the threading of glibc is quite broken. The tests just stop
|
||||
# at some point, and the machine does not build anything more until a
|
||||
# timeout several hours later.
|
||||
%ifnarch hppa %arm
|
||||
# extensive bsddb test fails (probably on all 64-bit arches):
|
||||
# Berkeley DB library configured to support only private environments
|
||||
# test_file fails in autobuild env. probably a bug in python, will fix/report
|
||||
# test_nis fails in autobuild env. probably a misconfiguration of mbuild servers
|
||||
EXCLUDE="-x test_file -x test_nis"
|
||||
%ifarch ia64
|
||||
EXCLUDE="$EXCLUDE -x test_mmap -x test_threaded_import"
|
||||
%endif
|
||||
ulimit -c 100000000
|
||||
make test TESTOPTS="-l $EXCLUDE"
|
||||
# test bsddb:
|
||||
#make test TESTOPTS="-l -u bsddb"
|
||||
# use network, be verbose:
|
||||
#make test TESTOPTS="-l -u network -v"
|
||||
%endif
|
||||
########################################
|
||||
# precompile emacs stuff
|
||||
########################################
|
||||
emacs --batch --no-site -f batch-byte-compile Misc/python-mode.el
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
########################################
|
||||
# install it
|
||||
########################################
|
||||
make \
|
||||
OPT="$RPM_OPT_FLAGS -fPIC" \
|
||||
DESTDIR=$RPM_BUILD_ROOT \
|
||||
install
|
||||
# install site-specific tweaks
|
||||
# install -m 644 %{S:12} ${RPM_BUILD_ROOT}%{_libdir}/python%{python_version}
|
||||
install -m 644 %{S:13} ${RPM_BUILD_ROOT}%{_libdir}/python%{python_version}/distutils
|
||||
########################################
|
||||
# some cleanups
|
||||
########################################
|
||||
# remove hard links and replace them with symlinks
|
||||
for dir in bin include %{_lib} ; do
|
||||
rm -f $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
||||
ln -s python%{python_version} $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
||||
done
|
||||
########################################
|
||||
# documentation
|
||||
########################################
|
||||
export PDOCS=${RPM_BUILD_ROOT}%{_docdir}/%{name}
|
||||
install -d -m 755 $PDOCS
|
||||
install -c -m 644 %{SOURCE6} $PDOCS/
|
||||
install -c -m 644 LICENSE $PDOCS/
|
||||
install -c -m 644 README $PDOCS/
|
||||
########################################
|
||||
# tools and demos
|
||||
########################################
|
||||
find Tools/ Demo/ -type d \( -regex ".*/.cvsignore" \) -exec rm -f \{\} \;
|
||||
for x in `find Tools/ Demo/ \( -not -name Makefile \) -print | sort` ; do
|
||||
test -d $x && ( install -c -m 755 -d $PDOCS/$x ) \
|
||||
|| ( install -c -m 644 $x $PDOCS/$x )
|
||||
done
|
||||
########################################
|
||||
# idle
|
||||
########################################
|
||||
# move idle config into /etc
|
||||
install -d -m755 ${RPM_BUILD_ROOT}/etc/%{idle_name}
|
||||
(
|
||||
cd ${RPM_BUILD_ROOT}/%{_libdir}/python%{python_version}/idlelib/
|
||||
for file in *.def ; do
|
||||
mv $file ${RPM_BUILD_ROOT}/etc/%{idle_name}/
|
||||
ln -sf /etc/%{idle_name}/$file ${RPM_BUILD_ROOT}/%{_libdir}/python%{python_version}/idlelib/
|
||||
done
|
||||
)
|
||||
########################################
|
||||
# devel
|
||||
########################################
|
||||
# install Makefile.pre.in and Makefile.pre
|
||||
cp Makefile Makefile.pre.in Makefile.pre $RPM_BUILD_ROOT%{_libdir}/python%{python_version}/config/
|
||||
########################################
|
||||
# emacs stuff
|
||||
########################################
|
||||
install -d $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp
|
||||
install -p -m644 Misc/python-mode.el $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp
|
||||
install -p -m644 Misc/python-mode.elc $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp
|
||||
install -p -m644 %{S:7} $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp
|
||||
########################################
|
||||
# startup script
|
||||
########################################
|
||||
install -m 644 %{S:8} $RPM_BUILD_ROOT/etc
|
||||
install -d -m 755 $RPM_BUILD_ROOT/etc/profile.d
|
||||
install -m 644 %{S:9} %{S:10} $RPM_BUILD_ROOT/etc/profile.d
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%{run_ldconfig}
|
||||
|
||||
%postun
|
||||
%{run_ldconfig}
|
||||
|
||||
%files idle
|
||||
%defattr(644, root, root, 755)
|
||||
%dir /etc/%{idle_name}
|
||||
%config /etc/%{idle_name}/*
|
||||
%doc Lib/idlelib/NEWS.txt
|
||||
%doc Lib/idlelib/README.txt
|
||||
%doc Lib/idlelib/TODO.txt
|
||||
%doc Lib/idlelib/extend.txt
|
||||
%doc Lib/idlelib/ChangeLog
|
||||
%{_libdir}/python%{python_version}/idlelib
|
||||
%attr(755, root, root) %{_bindir}/%{idle_name}
|
||||
|
||||
%files demo
|
||||
%defattr(644, root, root, 755)
|
||||
%doc %{_docdir}/%{name}/Demo
|
||||
%doc %{_docdir}/%{name}/Tools
|
||||
|
||||
%files tk
|
||||
%defattr(644, root, root, 755)
|
||||
%{_libdir}/python%{python_version}/lib-tk/
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_tkinter.so
|
||||
|
||||
%files curses
|
||||
%defattr(644, root, root, 755)
|
||||
%{_libdir}/python%{python_version}/curses
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_curses.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_curses_panel.so
|
||||
|
||||
%files gdbm
|
||||
%defattr(644, root, root, 755)
|
||||
%{_libdir}/python%{python_version}/lib-dynload/gdbm.so
|
||||
|
||||
%files xml
|
||||
%defattr(644, root, root, 755)
|
||||
%{_libdir}/python%{python_version}/xml
|
||||
%{_libdir}/python%{python_version}/lib-dynload/pyexpat.so
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/python%{python_version}/config
|
||||
%defattr(644, root, root, 755)
|
||||
%{_libdir}/libpython*.so
|
||||
%{_prefix}/include/python*
|
||||
%{_libdir}/python%{python_version}/test
|
||||
%defattr(755, root, root)
|
||||
%{_bindir}/python-config
|
||||
%{_bindir}/python%{python_version}-config
|
||||
|
||||
%files
|
||||
%defattr(644, root, root, 755)
|
||||
%config /etc/pythonstart
|
||||
%config /etc/profile.d/python.*
|
||||
%{_prefix}/share/emacs/site-lisp/*
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/README
|
||||
%doc %{_docdir}/%{name}/LICENSE
|
||||
%doc %{_docdir}/%{name}/README.SUSE
|
||||
%doc %{_mandir}/man1/python.1*
|
||||
%{_libdir}/libpython*.so.*
|
||||
%{_libdir}/python
|
||||
%dir %{_libdir}/python%{python_version}
|
||||
%{_libdir}/python%{python_version}/*.*
|
||||
%{_libdir}/python%{python_version}/bsddb
|
||||
%{_libdir}/python%{python_version}/compiler
|
||||
%{_libdir}/python%{python_version}/ctypes
|
||||
%{_libdir}/python%{python_version}/distutils
|
||||
%{_libdir}/python%{python_version}/email
|
||||
%{_libdir}/python%{python_version}/encodings
|
||||
%{_libdir}/python%{python_version}/hotshot
|
||||
%{_libdir}/python%{python_version}/logging
|
||||
%{_libdir}/python%{python_version}/plat-*
|
||||
%{_libdir}/python%{python_version}/sqlite3
|
||||
%{_libdir}/python%{python_version}/wsgiref
|
||||
%dir %{_libdir}/python%{python_version}/site-packages
|
||||
%{_libdir}/python%{python_version}/site-packages/README
|
||||
%dir %{_libdir}/python%{python_version}/lib-dynload
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_bisect.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_bsddb.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_csv.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_ctypes.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_ctypes_test.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_elementtree.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_functools.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_hashlib.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_heapq.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_hotshot.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_locale.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_lsprof.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_random.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_socket.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_ssl.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_struct.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_testcapi.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_weakref.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/array.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/binascii.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/bz2.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/cPickle.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/cStringIO.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/collections.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/cmath.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/crypt.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/datetime.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/dbm.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/fcntl.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/grp.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/itertools.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/linuxaudiodev.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/math.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/mmap.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/nis.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/operator.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/ossaudiodev.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/parser.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/readline.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/resource.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/select.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/spwd.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/strop.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/syslog.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/termios.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/time.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/unicodedata.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/zlib.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_codecs*.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/audioop.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/Python-%{version}-py%{python_version}.egg-info
|
||||
# these modules don't support 64-bit arches (disabled by setup.py)
|
||||
%ifnarch alpha ia64 x86_64 s390x ppc64
|
||||
# represent audio samples or images as strings, needs 32-bit int
|
||||
%{_libdir}/python%{python_version}/lib-dynload/imageop.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/rgbimg.so
|
||||
# requires sizeof(int) == sizeof(long) == sizeof(char*)
|
||||
%{_libdir}/python%{python_version}/lib-dynload/dl.so
|
||||
%endif
|
||||
%attr(755, root, root) %{_bindir}/pydoc
|
||||
%attr(755, root, root) %{_bindir}/python
|
||||
%attr(755, root, root) %{_bindir}/python%{python_version}
|
||||
%attr(755, root, root) %{_bindir}/smtpd.py
|
||||
|
||||
%changelog -n python
|
||||
* Tue Sep 19 2006 - jmatejek@suse.cz
|
||||
- update to 2.5 final, going into STABLE dist
|
||||
- issue with lib/python/config is not caused by dirs patch
|
||||
* Wed Sep 13 2006 - jmatejek@suse.cz
|
||||
- update to 2.5c2
|
||||
- 2.5 final is expected next week
|
||||
- removed testfiles.tar.bz2 from package due to copyright issues
|
||||
(see #204867). Reminder: enable urlfetch or put it back (or both,
|
||||
using Nosource)
|
||||
* Tue Sep 05 2006 - jmatejek@suse.cz
|
||||
- update to 2.5c1
|
||||
- many new features, see http://www.python.org/dev/peps/pep-0356/
|
||||
- 64bit indices issue will require changes of modules, see
|
||||
http://www.python.org/dev/peps/pep-0353/ for transition guidelines
|
||||
- non-backwards-compatible changes, see
|
||||
http://docs.python.org/dev/whatsnew/section-other.html
|
||||
(this link is expected to die, so just search for "what's new in 2.5")
|
||||
- open issues in build process:
|
||||
- sed'ing out /usr/local/bin/python from files causes build to fail
|
||||
if not filtered by grep (see %%prep section) - might be a bug in sed
|
||||
- 2.3.3-dirs patch + --enable-shared + --libdir breaks build,
|
||||
because "-L/usr/lib*/python2.5/config" is added instead of "-L."
|
||||
Workaround in 2.5c1-dirs-fix, should be replaced soon
|
||||
- test_file fails in autobuild, but is OK when building manually
|
||||
- test_nis fails in autobuild, probably due to a misconfiguration
|
||||
on autobuild servers
|
||||
- it might be good to create python-sqlite3 subpackage
|
||||
* Mon Apr 24 2006 - jmatejek@suse.cz
|
||||
- update to 2.4.3
|
||||
- no big changes, bugfix-only release (about 50 bugs fixed)
|
||||
* Wed Mar 15 2006 - jmatejek@suse.cz
|
||||
- moved -doc and -doc-pdf into separate noarch specfile
|
||||
* Mon Feb 27 2006 - jmatejek@suse.cz
|
||||
- implemented /usr/local path schemes for bug #149809
|
||||
- python now recognizes packages in /usr/local/lib/python2.4
|
||||
- distutils install by default into /usr/local/lib/python2.4/site-packages
|
||||
- on 64bit systems that is of course lib64
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Sat Jan 14 2006 - kukuk@suse.de
|
||||
- Add gmp-devel to nfb
|
||||
* Mon Nov 28 2005 - jmatejek@suse.cz
|
||||
- reenabled optimization on ppc64
|
||||
* Fri Nov 11 2005 - nadvornik@suse.cz
|
||||
- fixed another bug in canonicalize patch [#133267]
|
||||
* Wed Oct 05 2005 - jmatejek@suse.cz
|
||||
- update to 2.4.2
|
||||
- additional fixes to canonicalize patch, restored interactive mode
|
||||
* Mon Sep 26 2005 - jmatejek@suse.cz
|
||||
- replaced the previous patch with a new one
|
||||
- it now tries to use canonical_file_name(), falling back to realpath()
|
||||
and eventually readlink
|
||||
- canonical_file_name() branch now sets the buffer length
|
||||
* Fri Sep 23 2005 - jmatejek@suse.cz
|
||||
- fixed to build with gcc's new buffer overflow checking
|
||||
- added patch from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169046
|
||||
* Fri Apr 22 2005 - schwab@suse.de
|
||||
- Always enable SSL bug workarounds.
|
||||
* Tue Apr 05 2005 - mcihar@suse.cz
|
||||
- update to 2.4.1
|
||||
* Thu Mar 24 2005 - uli@suse.de
|
||||
- fixed to build on ARM
|
||||
* Tue Mar 01 2005 - mcihar@suse.cz
|
||||
- skip some test on ia64 for now
|
||||
* Tue Feb 08 2005 - mcihar@suse.cz
|
||||
- mark configuration files as %%config
|
||||
* Tue Feb 01 2005 - mcihar@suse.cz
|
||||
- fix vulnerability in SimpleXMLRPCServer (bug #50321, CAN-2005-0089)
|
||||
* Tue Dec 28 2004 - mcihar@suse.cz
|
||||
- disable bsddb tests, it fails probably on all 64-bit
|
||||
* Thu Dec 23 2004 - mcihar@suse.cz
|
||||
- make lib64 installation also work on others than x86_64
|
||||
* Mon Dec 20 2004 - mcihar@suse.de
|
||||
- fixed build on ppc64
|
||||
- update multiarch patch
|
||||
- do not test bsddb internals
|
||||
- remove optimalisation from flags, it breaks at least math
|
||||
* Mon Dec 20 2004 - mcihar@suse.cz
|
||||
- added extra files needed for some tests (codecmaps and unicode normalisation)
|
||||
- enabled bsddb tests
|
||||
- reenabled test_shelve, as it works now
|
||||
* Thu Dec 16 2004 - mcihar@suse.cz
|
||||
- update db 4.3 patch
|
||||
- fix bdist_rpm when spec file generates more than one rpm
|
||||
* Tue Dec 14 2004 - bg@suse.de
|
||||
- disable tests for hppa
|
||||
* Mon Dec 06 2004 - mcihar@suse.cz
|
||||
- fix bsddb module for current bsddb
|
||||
- improved readline detection
|
||||
* Fri Dec 03 2004 - mcihar@suse.cz
|
||||
- updated documentation to 2.4
|
||||
* Wed Dec 01 2004 - mcihar@suse.cz
|
||||
- don't use wctype functions from glibc, it breaks at some situations
|
||||
- enable tests during compilation, removing currently known failures
|
||||
* Tue Nov 30 2004 - mcihar@suse.cz
|
||||
- update to 2.4 final
|
||||
* Wed Nov 24 2004 - mcihar@suse.cz
|
||||
- yet another ignore list update, ignore man and locale dirs
|
||||
* Wed Nov 24 2004 - mcihar@suse.cz
|
||||
- ignore /etc and avoid infinite loop while generating directory list
|
||||
* Wed Nov 24 2004 - mcihar@suse.cz
|
||||
- ignore one more directories in file list generating
|
||||
- handle correctly headers path in file list generating
|
||||
- handle extra_dir in file list generating
|
||||
- use same way as mandrake to support lib64, at least it's a bit cleaner
|
||||
solution than we had, so we now also have sys.lib
|
||||
- audioop is now enabled on 64-bit
|
||||
* Tue Nov 23 2004 - mcihar@suse.cz
|
||||
- updated to 2.4c1 (2.4 release candidate 1)
|
||||
- dropped python-mpz package as it was dropped by upstream
|
||||
- completely rewritten and much simplified rpm file list generation, if you
|
||||
have problems with new version, please drop me a note
|
||||
- install also /etc/profile.d/python.csh
|
||||
* Tue Aug 24 2004 - mcihar@suse.cz
|
||||
- updated README.SUSE
|
||||
- added startup script, which enables saving of history and completion
|
||||
for interactive usage
|
||||
* Thu May 27 2004 - mcihar@suse.cz
|
||||
- update to 2.3.4 final (no changes from rc 1)
|
||||
* Wed May 19 2004 - mcihar@suse.cz
|
||||
- update to 2.3.4 release candidate 1 (obsoletes some patches taken from cvs)
|
||||
- forcing of large file support is not needed (for quite a long time)
|
||||
- updated README.SUSE
|
||||
* Tue Mar 16 2004 - mcihar@suse.cz
|
||||
- included some fixes from cvs:
|
||||
- fix possible segfault in bsddb
|
||||
- urllib2 supports non-anonymous ftp and absolute paths
|
||||
- fixed GC problems in PyWeakref_NewRef
|
||||
* Thu Mar 11 2004 - mcihar@suse.cz
|
||||
- fix readline with utf-8 (bug #34302)
|
||||
* Wed Mar 03 2004 - mcihar@suse.cz
|
||||
- obsoletes python21
|
||||
* Thu Feb 26 2004 - mcihar@suse.cz
|
||||
- all subpackages depend on current python version
|
||||
* Thu Feb 19 2004 - mcihar@suse.cz
|
||||
- fix Lib/email/Charset.py for use in some locales
|
||||
- fix format string in zipimport module
|
||||
- use system readline
|
||||
- add more IPV6 socket options
|
||||
- use sed instead of perl for replacing
|
||||
- include LICENSE
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Mon Jan 05 2004 - mcihar@suse.cz
|
||||
- updated to 2.3.3 (final)
|
||||
- call %%{run_ldconfig} in post and postun
|
||||
- libpython.2.3.so symlink moved to devel package (bug #33779)
|
||||
* Fri Dec 12 2003 - mcihar@suse.cz
|
||||
- updated to 2.3.3 (release candidate 1)
|
||||
* Tue Nov 18 2003 - mcihar@suse.cz
|
||||
- use wchar_t functions from libc, this reduces size of interpreter
|
||||
* Mon Oct 27 2003 - kukuk@suse.de
|
||||
- Remove useless Requires
|
||||
- Remove not used packages from neededforbuild
|
||||
* Fri Oct 03 2003 - mcihar@suse.cz
|
||||
- updated to 2.3.2
|
||||
- A bug in autoconf that broke building on HP/UX systems is fixed.
|
||||
- A bug in the Python configure script that meant os.fsync() was
|
||||
never available is fixed.
|
||||
* Thu Oct 02 2003 - mcihar@suse.cz
|
||||
- force use of directories passed to configure script (-dirs.patch), bug #31947
|
||||
* Mon Sep 29 2003 - mcihar@suse.cz
|
||||
- updated to 2.3.1, most of changes were alredy included in -cvs.patch
|
||||
- not so verbose untaring
|
||||
* Thu Sep 11 2003 - mcihar@suse.cz
|
||||
- included fixes from cvs (branch release23-maint), this fixes some
|
||||
memory leaks and other bugs (-cvs.patch)
|
||||
- nicer output from pydoc (-pydoc.patch)
|
||||
- cleaned up configure parameters
|
||||
- compiling with -Wall
|
||||
* Wed Sep 10 2003 - mcihar@suse.cz
|
||||
- build as shared
|
||||
* Wed Sep 03 2003 - mcihar@suse.cz
|
||||
- python now obsoletes python-nothreads (bug #29907)
|
||||
* Thu Aug 14 2003 - mcihar@suse.cz
|
||||
- fixed symlinks to configuration files
|
||||
- cleaned up spec file
|
||||
* Wed Aug 06 2003 - mcihar@suse.cz
|
||||
- updated lib64 patch
|
||||
* Tue Aug 05 2003 - mcihar@suse.cz
|
||||
- updated to final 2.3, some highlights:
|
||||
* Python 2.3 is about 20-30%% faster than Python 2.2.3
|
||||
* Brand new IDLE
|
||||
* Some new or upgraded built-ins, includes better support for
|
||||
unicode, new bool type...
|
||||
* Lots of upgraded or new modules and packages.
|
||||
* PYTHONINSPECT variabale that can cause python to behave as it
|
||||
was executed with -i parameter.
|
||||
* Tue Jul 29 2003 - ro@suse.de
|
||||
- added tk-devel to neededforbuild
|
||||
* Thu Jun 26 2003 - mcihar@suse.cz
|
||||
- updated to cvs snapshot, mostly because of finally correct DESTDIR
|
||||
support, to avoid buildroot leftovers
|
||||
* Tue Jun 24 2003 - mcihar@suse.cz
|
||||
- better excluding site-packages from generated dirlist
|
||||
* Tue Jun 17 2003 - mcihar@suse.cz
|
||||
- ignore site-packages and share directories for filelists
|
||||
- include install dir if not site-packages in filelists
|
||||
* Tue Jun 17 2003 - mcihar@suse.cz
|
||||
- better handle mutliple level of install directories when
|
||||
generating %%dir entries
|
||||
* Mon Jun 16 2003 - mcihar@suse.cz
|
||||
- one more distutils patch update:
|
||||
* fix generating of dirs in chrooted installs for install_data
|
||||
* don't include directory for install_scripts
|
||||
* Mon Jun 16 2003 - mcihar@suse.cz
|
||||
- updated patch to work around problems with self defined get_outputs
|
||||
* Mon Jun 16 2003 - mcihar@suse.cz
|
||||
- modified distutils to allow generating complete file list for rpm
|
||||
(including directories with %%dir macro), to use this use
|
||||
--record-rpm= instead of --record=
|
||||
* Thu Jun 05 2003 - mcihar@suse.cz
|
||||
- move documentation where it was in 2.2 versions
|
||||
- fixed permissions for some scripts in devel package
|
||||
* Thu May 29 2003 - mcihar@suse.cz
|
||||
- cleaned up specfile
|
||||
- make executable only files that should be
|
||||
* Mon May 19 2003 - mcihar@suse.cz
|
||||
- removed .cvsignore files
|
||||
* Tue Apr 29 2003 - mcihar@suse.cz
|
||||
- updated lib64 patch
|
||||
* Mon Apr 28 2003 - mcihar@suse.cz
|
||||
- updated to 2.3b1, some highlights:
|
||||
- sum() builtin, adds a sequence of numbers, beats reduce().
|
||||
- csv module, reads comma-separated-value files (and more).
|
||||
- timeit module, times code snippets.
|
||||
- os.walk(), a generator slated to replace os.path.walk().
|
||||
- platform module, by Marc-Andre Lemburg, returns detailed platform
|
||||
information.
|
||||
* Thu Apr 10 2003 - mcihar@suse.cz
|
||||
- added DEFS to config/Makefile as it was in 2.2
|
||||
* Wed Apr 02 2003 - mcihar@suse.cz
|
||||
- updated lib64 patch
|
||||
- fixed list of built modules for 64-bit arches
|
||||
* Tue Apr 01 2003 - mcihar@suse.cz
|
||||
- updated to python 2.3 alpha 2
|
||||
- updated many builtins and modules
|
||||
- new modules: bsddb, bz2, datetime, logging, optparse, sets,
|
||||
textwrap, zipimport,
|
||||
- some general things have changed:
|
||||
- Hex/oct literals prefixed with a minus sign were handled
|
||||
inconsistently.
|
||||
- Package index and metadata for distutils.
|
||||
- Encoding declarations - you can put a comment of the form
|
||||
"# -*- coding: -*-" in the first or second line of a Python
|
||||
source file to indicate the encoding (e.g. utf-8).
|
||||
- Import from zipfiles.
|
||||
- see Misc/NEWS in documentation or python website -
|
||||
http://python.org/2.3/highlights.html for more details
|
||||
- moved distutils into -devel package
|
||||
- cleaned up specfile
|
||||
* Tue Apr 01 2003 - mcihar@suse.cz
|
||||
- removed RPM_BUILD_ROOT leftovers (bug #25963)
|
||||
* Thu Mar 06 2003 - kukuk@suse.de
|
||||
- Provide/Obsolete python-tkinter
|
||||
* Tue Jan 28 2003 - mcihar@suse.cz
|
||||
- idle symlink corrected for lib64
|
||||
- fixed LIBDEST path for distutils, closes #22322
|
||||
* Fri Jan 10 2003 - mcihar@suse.cz
|
||||
- fixed distutils for lib64
|
||||
* Wed Dec 18 2002 - mcihar@suse.cz
|
||||
- improved blt detection for tkinter
|
||||
- build with detected version of tix
|
||||
- enabled SIGFPE catching
|
||||
- enabled signal module
|
||||
- enabled C++ support
|
||||
* Fri Nov 29 2002 - mcihar@suse.cz
|
||||
- enabled ipv6 support
|
||||
- no apache is needed for building
|
||||
- python-nothreads is not built anymore as is seems that mod_python
|
||||
works correctly woth python 2.2.2 and threads
|
||||
- Makefile also copied to config directory in rpm
|
||||
* Wed Nov 27 2002 - adrian@suse.de
|
||||
- Makefile.pre* to config directory
|
||||
(following the official spec file change)
|
||||
* Fri Nov 08 2002 - mcihar@suse.cz
|
||||
- fixed bad source number for suse-start-python-mode.el
|
||||
* Thu Nov 07 2002 - mcihar@suse.cz
|
||||
- fixed %%files section for idle on lib64 arches
|
||||
* Wed Nov 06 2002 - mcihar@suse.cz
|
||||
- included python-mode.el for emacs
|
||||
- idle moved from demos to separate package
|
||||
- merged tk and tkinter
|
||||
* Wed Oct 30 2002 - mcihar@suse.cz
|
||||
- removed not needed l2h and tetex from neededforbuild
|
||||
* Wed Oct 30 2002 - ro@suse.de
|
||||
- changed neededforbuild <l2h> to <latex2html>
|
||||
* Wed Oct 23 2002 - mcihar@suse.cz
|
||||
- updated to 2.2.2 (bugfix release)
|
||||
- moved python-korean into separate source package
|
||||
* Tue Sep 17 2002 - ro@suse.de
|
||||
- removed bogus self-provides
|
||||
* Tue Sep 10 2002 - kukuk@suse.de
|
||||
- Add provides for correct update
|
||||
* Thu Sep 05 2002 - ro@suse.de
|
||||
- remove l2h from neededforbuild (apparently no longer used)
|
||||
* Thu Aug 15 2002 - ro@suse.de
|
||||
- no fpectl.so on alpha
|
||||
* Tue Aug 13 2002 - uli@suse.de
|
||||
- rediffed lib64 patch
|
||||
* Thu Aug 08 2002 - vinil@suse.de
|
||||
- new version 2.2.1
|
||||
- new version of Korean codes 2.0.5
|
||||
and splitted to standalone package 'python-korean'
|
||||
- get rid of Makefile.pre.in
|
||||
- clean part added to spec
|
||||
* Sun Jul 28 2002 - kukuk@suse.de
|
||||
- removed termcap and tetex from neededforbuild (not used)
|
||||
* Fri Jul 26 2002 - adrian@suse.de
|
||||
- fix neededforbuild
|
||||
* Tue Jun 11 2002 - meissner@suse.de
|
||||
- add ppc64 to list of 64bit archs that don't compile 3 of the plugins.
|
||||
* Tue Jun 04 2002 - stepan@suse.de
|
||||
- change more locations of lib to %%{_lib} on platforms
|
||||
that need it.
|
||||
- change Makefile to use install -d instead of mkdir
|
||||
to solve trouble when installing in buildroots.
|
||||
* Mon Jun 03 2002 - stepan@suse.de
|
||||
- Change config/Makefile and config/Makefile.pre.in
|
||||
to use %%_lib instead of lib (fixes i.e. zope)
|
||||
* Fri May 17 2002 - sf@suse.de
|
||||
- changed site.py to detect the correct location (is needed at least for
|
||||
postresql to build
|
||||
- it still needs to be corrected, as only 64-bit excutable shlibs
|
||||
have to reside in */lib64
|
||||
* Wed May 15 2002 - coolo@suse.de
|
||||
- fixing file list for s390x
|
||||
* Tue May 14 2002 - ro@suse.de
|
||||
- use libdir
|
||||
- try to get this working with lib64
|
||||
* Mon May 06 2002 - schwab@suse.de
|
||||
- Build python library with -fPIC, for inclusion in shared library.
|
||||
* Wed Apr 17 2002 - schwab@suse.de
|
||||
- Fix detection of readline library (use -lncurses instead of -ltermcap).
|
||||
* Sat Mar 23 2002 - ro@suse.de
|
||||
- changed neededforbuild <l2h> to <l2h l2h-pngicons>
|
||||
* Fri Feb 01 2002 - ro@suse.de
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
* Wed Jan 09 2002 - rvasice@suse.cz
|
||||
- used correct Makefile.pre.in
|
||||
* Wed Jan 09 2002 - rvasice@suse.cz
|
||||
- added Makefile.pre.in to enable build other python packages
|
||||
* Mon Jan 07 2002 - rvasice@suse.cz
|
||||
- update to version 2.2
|
||||
- recreated modules list
|
||||
* Mon Dec 17 2001 - ro@suse.de
|
||||
- fixed for gmp-4.x
|
||||
* Mon Sep 03 2001 - rvasice@suse.cz
|
||||
- added patch for Large File Support
|
||||
* Mon Aug 27 2001 - rvasice@suse.cz
|
||||
- removed conflicting file /etc/susehelp.d/pythonhtml.conf from
|
||||
subpackage python-doc
|
||||
* Fri Aug 17 2001 - schwab@suse.de
|
||||
- Compile python library with -fPIC to allow inclusion in shared
|
||||
libraries.
|
||||
- Fix configure check for rl_completion_matches.
|
||||
- Replace use of config.guess by %%ifarch.
|
||||
* Mon Aug 13 2001 - ro@suse.de
|
||||
- added regex module (needed for yodl)
|
||||
- filelist probably needs re-check
|
||||
* Mon Jul 30 2001 - rvasice@suse.cz
|
||||
- fix /usr/local path
|
||||
* Fri Jul 27 2001 - rvasice@suse.cz
|
||||
- update to version 2.1.1
|
||||
* Tue May 08 2001 - mfabian@suse.de
|
||||
- bzip2 sources
|
||||
* Fri Apr 13 2001 - kukuk@suse.de
|
||||
- fix build with new readline library
|
||||
* Wed Apr 11 2001 - utuerk@suse.de
|
||||
- added pythonhtml.conf for susehelp
|
||||
* Fri Feb 23 2001 - ro@suse.de
|
||||
- changed neededforbuild <apache> to <apache apache-devel>
|
||||
* Fri Feb 23 2001 - ro@suse.de
|
||||
- added readline/readline-devel to neededforbuild (split from bash)
|
||||
* Mon Jan 22 2001 - kukuk@suse.de
|
||||
- Use -fPIC
|
||||
* Tue Jan 16 2001 - schwab@suse.de
|
||||
- Compile python library with -fpic so that it can be included in a
|
||||
shared library (for mod_python).
|
||||
* Mon Jan 15 2001 - mt@suse.de
|
||||
- added uc-kr codec, thanks to Hwang, SangJin <violiet@susekorea.net>
|
||||
* Sun Dec 31 2000 - schwab@suse.de
|
||||
- Fix filelist for ia64.
|
||||
* Mon Dec 18 2000 - mt@suse.de
|
||||
- added sub-package python-nothreads for mod_python apache-module
|
||||
- added Obsoletes for old 8.3 packages names
|
||||
* Wed Dec 06 2000 - mt@suse.de
|
||||
- cleaned up pythons tk dependencies
|
||||
* Thu Nov 30 2000 - ro@suse.de
|
||||
- fixed tix-link
|
||||
* Wed Nov 29 2000 - ro@suse.de
|
||||
- changed neededforbuild <tcld> to <tcl-devel>
|
||||
* Mon Nov 27 2000 - mt@suse.de
|
||||
- changed libnetpb to libnetpbm in neededforbuild
|
||||
- changed file-list in python-devel
|
||||
* Thu Nov 23 2000 - mt@suse.de
|
||||
- added openssl-devel to neededforbuild
|
||||
* Wed Nov 22 2000 - mt@suse.de
|
||||
- removed site-packages from Setup.in patch
|
||||
- python-64bit.patch should be used on all 64bit platforms
|
||||
* Sun Nov 19 2000 - mt@suse.de
|
||||
- updated to BeOpen-Python-2.0
|
||||
* Fri Oct 27 2000 - kukuk@suse.de
|
||||
- Use long filenames
|
||||
- Fix some paths
|
||||
- Include <db3/db_185.h>
|
||||
* Thu Jul 06 2000 - mt@suse.de
|
||||
- added anydbm (whichdb.py) patch from www.tummy.com
|
||||
* Sat May 27 2000 - kukuk@suse.de
|
||||
- Use libtk8.3.so and libtcl8.3.so
|
||||
* Thu May 04 2000 - kukuk@suse.de
|
||||
- Fix filelist for new doc dir
|
||||
* Mon Mar 13 2000 - ro@suse.de
|
||||
- fixed filelist for alpha
|
||||
* Wed Mar 01 2000 - werner@suse.de
|
||||
- Fix config.guess selection
|
||||
* Wed Feb 16 2000 - uli@suse.de
|
||||
- passing MANDIR to "make install libinstall" (seems like it gets
|
||||
lost somewhere)
|
||||
* Wed Feb 16 2000 - ro@suse.de
|
||||
- man to /usr/share using macro
|
||||
* Tue Feb 15 2000 - mt@suse.de
|
||||
- stripped the python binary
|
||||
* Mon Oct 11 1999 - max@suse.de
|
||||
- ready for the new Tcl/Tk packages
|
||||
* Mon Sep 27 1999 - bs@suse.de
|
||||
- fixed requirements for sub packages
|
||||
* Mon Sep 20 1999 - ro@suse.de
|
||||
- added python_image_lib as requires to pyth_tk and as provides to pyth_tkl
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Mon Jun 07 1999 - mt@suse.de
|
||||
- disabled pyth_dvi module in spec-file
|
||||
* Wed May 26 1999 - ro@suse.de
|
||||
- added libpng to neededforbuild
|
||||
* Wed May 26 1999 - ro@suse.de
|
||||
- added blt to neededforbuild
|
||||
* Tue May 25 1999 - mt@suse.de
|
||||
- new version 1.5.2
|
||||
- splited into sub-packages: pyth_doc, pyth_ps, pyth_pdf,
|
||||
pyth_dvi, pyth_dmo, pyth_tk, pyth_tkl, pyth_cur, pythgdbm
|
||||
to have better base-package compatibility to andrich.net.
|
||||
* Thu Mar 18 1999 - ro@suse.de
|
||||
- don't set POSIXLY_CORRECT for second patch
|
||||
* Mon Jan 18 1999 - ro@suse.de
|
||||
- added automake to neededforbuild
|
||||
- alpha-fix: don't mix up dec-osf with linux-alpha
|
||||
* Tue Dec 01 1998 - mt@suse.de
|
||||
- removed TkInter into a separate package - pyth_tk - to make it
|
||||
possible to replace it with a PIL based TkInter (Python Imaging
|
||||
Lib) and better package dependecies (not each app needs TkInter)
|
||||
- removed Makefile.Linux - all build is done from spec file now
|
||||
- more /usr/local path fixes
|
||||
* Fri Nov 06 1998 - ro@suse.de
|
||||
- added automake to neededforbuild
|
||||
- configure with threads
|
||||
* Thu Nov 05 1998 - ro@suse.de
|
||||
- use db_185.h only for glibc-2.1
|
||||
* Wed Sep 23 1998 - ro@suse.de
|
||||
- two hacks to compile for glibc:
|
||||
Modules/bsddbmodule.c include db_185.h for glibc
|
||||
Modules/mpzmodule.c gmp-mparam.h dont exist for glibc / use define
|
||||
* Sun Aug 23 1998 - ke@suse.de
|
||||
- Compress PostScript docu.
|
||||
* Mon Aug 17 1998 - mt@suse.de
|
||||
- linked readline- and curses-modules with ncurses
|
||||
* Fri Aug 07 1998 - mt@suse.de
|
||||
- python modules - file permissions changed (-x)
|
||||
* Sat Jul 11 1998 - bs@suse.de
|
||||
- fixed neededforbuild
|
||||
* Thu Jul 09 1998 - mt@suse.de
|
||||
- new revision 1.5.1
|
||||
- docu in a separate package (pyth_doc)
|
||||
- Tkinter uses tk8.0/tcl8.0 now
|
||||
- first attempt to make it "alpha ready" (spec- & dif-file)
|
||||
* Mon Mar 02 1998 - ro@suse.de
|
||||
- fixed dependency to /usr/local/bin/python
|
||||
* Mon Feb 09 1998 - ro@suse.de
|
||||
- added some in neededforbuild
|
||||
* Wed Feb 04 1998 - mt@suse.de
|
||||
- new Version 1.5 with more features, html documentation and new modules
|
||||
* Mon Sep 15 1997 - mt@suse.de
|
||||
- added support for readline and (shared) modules: tkinter, dbm, gdbm,
|
||||
syslog, ncurses, ... - see /usr/lib/python1.4/config/Setup for details
|
||||
* Thu Jun 05 1997 - mt@suse.de
|
||||
- new Version 1.4
|
||||
- a symlink (python -> python1.4) will be used instead of a hardlink
|
29
pythonstart
Normal file
29
pythonstart
Normal file
@ -0,0 +1,29 @@
|
||||
# startup script for python to enable saving of interpreter history and
|
||||
# enabling name completion
|
||||
|
||||
# import needed modules
|
||||
import atexit
|
||||
import os
|
||||
import readline
|
||||
import rlcompleter
|
||||
|
||||
# where is history saved
|
||||
historyPath = os.path.expanduser("~/.pyhistory")
|
||||
|
||||
# handler for saving history
|
||||
def save_history(historyPath=historyPath):
|
||||
import readline
|
||||
readline.write_history_file(historyPath)
|
||||
|
||||
# read history, if it exists
|
||||
if os.path.exists(historyPath):
|
||||
readline.read_history_file(historyPath)
|
||||
|
||||
# register saving handler
|
||||
atexit.register(save_history)
|
||||
|
||||
# enable completion
|
||||
readline.parse_and_bind('tab: complete')
|
||||
|
||||
# cleanup
|
||||
del os, atexit, readline, rlcompleter, save_history, historyPath
|
10
ssl-compat.diff
Normal file
10
ssl-compat.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- Modules/_ssl.c
|
||||
+++ Modules/_ssl.c
|
||||
@@ -210,6 +210,7 @@
|
||||
errstr = "SSL_CTX_new error";
|
||||
goto fail;
|
||||
}
|
||||
+ SSL_CTX_set_options(self->ctx, SSL_OP_ALL); /* ssl compatibility */
|
||||
|
||||
if (key_file) {
|
||||
Py_BEGIN_ALLOW_THREADS
|
3
suse-start-python-mode.el
Normal file
3
suse-start-python-mode.el
Normal file
@ -0,0 +1,3 @@
|
||||
(autoload 'python-mode "python-mode")
|
||||
(add-to-list 'auto-mode-alist
|
||||
'("\\.py\\'" . python-mode))
|
Loading…
Reference in New Issue
Block a user