3
# DP: Set HeadURL and PY_PATCHLEVEL_REVISION.
6
if [ $# -eq 3 -a "$2" = '-d' ]; then
9
elif [ $# -ne 1 ]; then
10
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
15
patch $pdir -f --no-backup-if-mismatch -p0 < $0
16
#cd ${dir}gcc && autoconf
19
patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
20
#rm ${dir}gcc/configure
23
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
28
--- Python/sysmodule.c~ 2006-10-29 11:48:50.000000000 +0100
29
+++ Python/sysmodule.c 2006-10-29 12:26:53.000000000 +0100
32
/* Subversion branch and revision management */
33
static const char _patchlevel_revision[] = PY_PATCHLEVEL_REVISION;
34
-static const char headurl[] = "$HeadURL: svn+ssh://pythondev@svn.python.org/python/tags/r25/Python/sysmodule.c $";
35
+static const char headurl[] = "$HeadURL: svn+ssh://pythondev@svn.python.org/python/branches/release25-maint/Python/sysmodule.c $";
36
static int svn_initialized;
37
static char patchlevel_revision[50]; /* Just the number */
38
static char branch[50];
39
--- Include/patchlevel.h~ 2006-09-18 08:51:50.000000000 +0200
40
+++ Include/patchlevel.h 2006-10-29 12:33:07.000000000 +0100
42
#define PY_VERSION "2.5"
44
/* Subversion Revision number of this file (not of the repository) */
45
-#define PY_PATCHLEVEL_REVISION "$Revision: 54692 $"
46
+#define PY_PATCHLEVEL_REVISION "$Revision: 54692 $"
48
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
49
Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */