OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 03-Nov-2006 19:36:01
Branch: HEAD Handle: 2006110318360000
Modified files:
openpkg-src/python python.patch python.spec
Log:
disable the massive amount of warnings related to reserved keywords as
they make Python nearly unusable with the current existing
applications
Summary:
Revision Changes Path
1.12 +16 -4 openpkg-src/python/python.patch
1.73 +1 -1 openpkg-src/python/python.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/python/python.patch
============================================================================
$ cvs diff -u -r1.11 -r1.12 python.patch
--- openpkg-src/python/python.patch 2 Nov 2006 21:55:45 -0000 1.11
+++ openpkg-src/python/python.patch 3 Nov 2006 18:36:00 -0000 1.12
@@ -1,6 +1,18 @@
+Index: Include/code.h
+--- Include/code.h.orig 2006-05-23 12:37:38 +0200
++++ Include/code.h 2006-11-03 19:29:53 +0100
+@@ -52,7 +52,7 @@
+ /* This should be defined if a future statement modifies the syntax.
+ For example, when a keyword is added.
+ */
+-#define PY_PARSER_REQUIRES_FUTURE_KEYWORD
++#undef PY_PARSER_REQUIRES_FUTURE_KEYWORD
+
+ #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */
+
Index: Include/pyport.h
--- Include/pyport.h.orig 2006-06-10 14:23:46 +0200
-+++ Include/pyport.h 2006-11-02 22:33:14 +0100
++++ Include/pyport.h 2006-11-03 19:29:10 +0100
@@ -370,8 +370,12 @@
* config to #define Py_HUGE_VAL to something that works on your platform.
*/
@@ -16,7 +28,7 @@
* Return 1 iff a libm function overflowed. Set errno to 0 before calling
Index: Modules/_ctypes/libffi/configure
--- Modules/_ctypes/libffi/configure.orig 2006-08-14 18:17:41 +0200
-+++ Modules/_ctypes/libffi/configure 2006-11-02 22:33:57 +0100
++++ Modules/_ctypes/libffi/configure 2006-11-03 19:29:10 +0100
@@ -3516,7 +3516,7 @@
cris-*-*) TARGET=LIBFFI_CRIS; TARGETDIR=cris;;
s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
@@ -28,7 +40,7 @@
sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
Index: configure
--- configure.orig 2006-09-05 04:54:42 +0200
-+++ configure 2006-11-02 22:33:14 +0100
++++ configure 2006-11-03 19:29:10 +0100
@@ -3800,11 +3800,11 @@
# debug builds.
OPT="-g -Wall $STRICT_PROTO"
@@ -54,7 +66,7 @@
then
Index: setup.py
--- setup.py.orig 2006-08-10 01:42:18 +0200
-+++ setup.py 2006-11-02 22:35:54 +0100
++++ setup.py 2006-11-03 19:29:10 +0100
@@ -244,8 +244,8 @@
def detect_modules(self):
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/python/python.spec
============================================================================
$ cvs diff -u -r1.72 -r1.73 python.spec
--- openpkg-src/python/python.spec 2 Nov 2006 21:55:45 -0000 1.72
+++ openpkg-src/python/python.spec 3 Nov 2006 18:36:00 -0000 1.73
@@ -33,7 +33,7 @@
Group: Language
License: GPL
Version: 2.5
-Release: 20061102
+Release: 20061103
# package options
%option with_readline yes
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]