Skip to content

Commit 85e3750

Browse files
committed
Fix sha1 and build number
1 parent dd2cb4e commit 85e3750

21 files changed

+109
-107
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ meta.yaml text eol=lf
44
build.sh text eol=lf
55
bld.bat text eol=crlf
66
recipe/0013-Win32-Do-not-download-externals.patch binary
7+
recipe/0019-Unvendor-sqlite3.patch binary

recipe/0001-Add-Anaconda-Distribution-version-logic.patch

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From ed4c1bd98fbd0546747ec955cdd3121baeb1c484 Mon Sep 17 00:00:00 2001
1+
From 218ca631727207485a1ae66cc4812835a8743067 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Tue, 15 Aug 2017 22:34:16 +0100
4-
Subject: [PATCH 01/18] Add Anaconda Distribution version logic
4+
Subject: [PATCH 01/19] Add Anaconda Distribution version logic
55

66
---
77
Include/pylifecycle.h | 1 +
@@ -11,10 +11,10 @@ Subject: [PATCH 01/18] Add Anaconda Distribution version logic
1111
4 files changed, 45 insertions(+), 4 deletions(-)
1212

1313
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
14-
index 01abfa9fcd..ac8e19a308 100644
14+
index 9a528218e4..4b84977e61 100644
1515
--- a/Include/pylifecycle.h
1616
+++ b/Include/pylifecycle.h
17-
@@ -64,6 +64,7 @@ int _Py_CheckPython3();
17+
@@ -66,6 +66,7 @@ int _Py_CheckPython3();
1818
#endif
1919

2020
/* In their own files */
@@ -23,10 +23,10 @@ index 01abfa9fcd..ac8e19a308 100644
2323
PyAPI_FUNC(const char *) Py_GetPlatform(void);
2424
PyAPI_FUNC(const char *) Py_GetCopyright(void);
2525
diff --git a/Lib/platform.py b/Lib/platform.py
26-
index 4205abde03..4e79cc73e4 100755
26+
index fa56d4114c..9e5295e646 100755
2727
--- a/Lib/platform.py
2828
+++ b/Lib/platform.py
29-
@@ -1118,6 +1118,7 @@ def processor():
29+
@@ -1120,6 +1120,7 @@ def processor():
3030

3131
_sys_version_parser = re.compile(
3232
r'([\w.+]+)\s*' # "version<space>"
@@ -109,5 +109,5 @@ index 7bd6efd0a0..46554e6a37 100644
109109
return version;
110110
}
111111
--
112-
2.19.1
112+
2.17.2 (Apple Git-113)
113113

recipe/0002-Darwin-Omit-PYTHONFRAMEWORK-site-packages.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From a2e35e8ae5b32a387097a4c7976a79ad06dff0f5 Mon Sep 17 00:00:00 2001
1+
From 359b0bebfe38b56b1a370a1edcfc21fd41af3d29 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 11:55:54 +0100
4-
Subject: [PATCH 02/18] Darwin: Omit PYTHONFRAMEWORK site-packages
4+
Subject: [PATCH 02/19] Darwin: Omit PYTHONFRAMEWORK site-packages
55

66
We probably do not need this patch as our Python is
77
probably not built as a PYTHONFRAMWORK build.
@@ -31,5 +31,5 @@ index 86ca2dba61..c01aba1e35 100644
3131

3232
def addsitepackages(known_paths, prefixes=None):
3333
--
34-
2.19.1
34+
2.17.2 (Apple Git-113)
3535

recipe/0003-Darwin-Add-arch-x86_64-to-UnicCCompiler-ld_args.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From cd2218d41894a5b7e2147ed3bf51bf0ff9e559b3 Mon Sep 17 00:00:00 2001
1+
From 75a946b46c74c91345128adade6ca99c6fcb1a55 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 08:48:16 +0100
4-
Subject: [PATCH 03/18] Darwin: Add -arch x86_64 to UnicCCompiler ld_args
4+
Subject: [PATCH 03/19] Darwin: Add -arch x86_64 to UnicCCompiler ld_args
55

66
---
77
Lib/distutils/unixccompiler.py | 1 +
@@ -20,5 +20,5 @@ index 3f321c28dc..a36acdc57f 100644
2020
self.spawn(linker + ld_args)
2121
except DistutilsExecError as msg:
2222
--
23-
2.19.1
23+
2.17.2 (Apple Git-113)
2424

recipe/0004-Win32-distutils-Also-look-for-executable.bat.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 16cf7acbb1aa38ab48e90bb6ed78176de7a01c1e Mon Sep 17 00:00:00 2001
1+
From 852620f1fa73d862f6ea09d5db1c973319ed0db0 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 11:07:08 +0100
4-
Subject: [PATCH 04/18] Win32: distutils: Also look for executable.bat
4+
Subject: [PATCH 04/19] Win32: distutils: Also look for executable.bat
55

66
This patch should probably not exist, or at least be
77
rewritten. See the comments.
@@ -57,5 +57,5 @@ index 5387688093..ae9cb8eee0 100644
5757
else:
5858
return executable
5959
--
60-
2.19.1
60+
2.17.2 (Apple Git-113)
6161

recipe/0005-Win32-Ensure-Library-bin-is-in-os.environ-PATH.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From f3edee26eb6e0829950125e0c43d90c67985d913 Mon Sep 17 00:00:00 2001
1+
From 77160444308a7a7e9e113f5d7f049f00dae3c9c9 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 11:15:26 +0100
4-
Subject: [PATCH 05/18] Win32: Ensure Library\bin is in os.environ["PATH"]
4+
Subject: [PATCH 05/19] Win32: Ensure Library\bin is in os.environ["PATH"]
55

66
---
77
Lib/site.py | 5 +++++
@@ -24,5 +24,5 @@ index c01aba1e35..088b0d57a8 100644
2424
# Prevent extending of sys.path when python was started with -S and
2525
# site is imported later.
2626
--
27-
2.19.1
27+
2.17.2 (Apple Git-113)
2828

recipe/0006-Win32-Change-FD_SETSIZE-from-512-to-2048.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
From 5f6427a845266a7561e1998d0ffdf7df4f68e577 Mon Sep 17 00:00:00 2001
1+
From b6df49ac970959f99c2c96640c1cad0f4d9411b5 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 11:53:55 +0100
4-
Subject: [PATCH 06/18] Win32: Change FD_SETSIZE from 512 to 2048
4+
Subject: [PATCH 06/19] Win32: Change FD_SETSIZE from 512 to 2048
55

66
https://github.com/ContinuumIO/anaconda-issues/issues/1241
77
---
88
Modules/selectmodule.c | 2 +-
99
1 file changed, 1 insertion(+), 1 deletion(-)
1010

1111
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
12-
index 5438b697dd..720be60e49 100644
12+
index 2bc7b9ff79..b1c601b553 100644
1313
--- a/Modules/selectmodule.c
1414
+++ b/Modules/selectmodule.c
1515
@@ -33,7 +33,7 @@
@@ -22,5 +22,5 @@ index 5438b697dd..720be60e49 100644
2222

2323
#if defined(HAVE_POLL_H)
2424
--
25-
2.19.1
25+
2.17.2 (Apple Git-113)
2626

recipe/0007-Win32-distutils-Add-support-to-cygwinccompiler-for-V.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 174f3fb7db8d1e60fad2e954e26a3e89076dd4de Mon Sep 17 00:00:00 2001
1+
From 940a3533f6b08435d24cb0dd3dbfeaa7cd1bccb1 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 11:59:00 +0100
4-
Subject: [PATCH 07/18] Win32: distutils: Add support to cygwinccompiler for
4+
Subject: [PATCH 07/19] Win32: distutils: Add support to cygwinccompiler for
55
VS>=2015
66

77
Really this is for mingw-w64 though
@@ -24,5 +24,5 @@ index 1c36990347..fe95547112 100644
2424
raise ValueError("Unknown MS Compiler version %s " % msc_ver)
2525

2626
--
27-
2.19.1
27+
2.17.2 (Apple Git-113)
2828

recipe/0008-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 5cf1d803a58e1d558ce456959d71db7a0b331f1c Mon Sep 17 00:00:00 2001
1+
From b5b69f968ef6480847259efecf6a8bda4fdd321b Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 11:45:28 +0100
4-
Subject: [PATCH 08/18] Do not pass -g to GCC when not Py_DEBUG
4+
Subject: [PATCH 08/19] Do not pass -g to GCC when not Py_DEBUG
55

66
This bloats our exe and our modules a lot.
77
---
@@ -10,10 +10,10 @@ This bloats our exe and our modules a lot.
1010
2 files changed, 4 insertions(+), 4 deletions(-)
1111

1212
diff --git a/configure b/configure
13-
index bfa4b83cd6..56dfe6dc03 100755
13+
index e39c16eee2..5db31f475d 100755
1414
--- a/configure
1515
+++ b/configure
16-
@@ -4277,9 +4277,9 @@ if test "$ac_test_CFLAGS" = set; then
16+
@@ -4271,9 +4271,9 @@ if test "$ac_test_CFLAGS" = set; then
1717
CFLAGS=$ac_save_CFLAGS
1818
elif test $ac_cv_prog_cc_g = yes; then
1919
if test "$GCC" = yes; then
@@ -25,7 +25,7 @@ index bfa4b83cd6..56dfe6dc03 100755
2525
fi
2626
else
2727
if test "$GCC" = yes; then
28-
@@ -6922,7 +6922,7 @@ then
28+
@@ -6946,7 +6946,7 @@ then
2929
OPT="-g -O0 -Wall"
3030
fi
3131
else
@@ -35,10 +35,10 @@ index bfa4b83cd6..56dfe6dc03 100755
3535
;;
3636
*)
3737
diff --git a/configure.ac b/configure.ac
38-
index 3f2459ab71..cb740840b5 100644
38+
index cf280506bd..b24f7e8df0 100644
3939
--- a/configure.ac
4040
+++ b/configure.ac
41-
@@ -1509,7 +1509,7 @@ then
41+
@@ -1539,7 +1539,7 @@ then
4242
OPT="-g -O0 -Wall"
4343
fi
4444
else
@@ -48,5 +48,5 @@ index 3f2459ab71..cb740840b5 100644
4848
;;
4949
*)
5050
--
51-
2.19.1
51+
2.17.2 (Apple Git-113)
5252

recipe/0009-Support-cross-compiling-byte-code.patch

+20-19
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
From 39759076f86bf0c1bbc4ff7ecad0127a13d8a3d4 Mon Sep 17 00:00:00 2001
1+
From dbd0fcaaddd61affb8c5c30e2916c848d03e8d9c Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 12:17:33 +0100
4-
Subject: [PATCH 09/18] Support cross-compiling byte-code
4+
Subject: [PATCH 09/19] Support cross-compiling byte-code
55

66
https://bugs.python.org/issue22724
77
---
8-
Makefile.pre.in | 19 ++++++++++---------
8+
Makefile.pre.in | 20 +++++++++++---------
99
configure | 4 +++-
1010
configure.ac | 4 +++-
11-
3 files changed, 16 insertions(+), 11 deletions(-)
11+
3 files changed, 17 insertions(+), 11 deletions(-)
1212

1313
diff --git a/Makefile.pre.in b/Makefile.pre.in
14-
index d912a19e79..36554b5e24 100644
14+
index d15d93509d..a008a39b0b 100644
1515
--- a/Makefile.pre.in
1616
+++ b/Makefile.pre.in
17-
@@ -231,6 +231,7 @@ BUILDPYTHON= python$(BUILDEXE)
17+
@@ -237,6 +237,7 @@ BUILDPYTHON= python$(BUILDEXE)
1818

1919
PYTHON_FOR_REGEN=@PYTHON_FOR_REGEN@
2020
UPDATE_FILE=@PYTHON_FOR_REGEN@ $(srcdir)/Tools/scripts/update_file.py
2121
+PY_BUILD_ENVIRON=@PY_BUILD_ENVIRON@
2222
PYTHON_FOR_BUILD=@PYTHON_FOR_BUILD@
2323
_PYTHON_HOST_PLATFORM=@_PYTHON_HOST_PLATFORM@
2424
BUILD_GNU_TYPE= @build@
25-
@@ -539,15 +540,15 @@ coverage-report: regen-grammar regen-importlib
25+
@@ -545,15 +546,16 @@ coverage-report: regen-grammar regen-importlib
2626

2727
# Run "Argument Clinic" over all source files
2828
.PHONY=clinic
@@ -33,15 +33,16 @@ index d912a19e79..36554b5e24 100644
3333

3434
# Build the interpreter
3535
$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
36-
$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
36+
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
3737

3838
platform: $(BUILDPYTHON) pybuilddir.txt
3939
- $(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
4040
+ $(RUNSHARED) $(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
41+
+
4142

4243
# Create build directory and generate the sysconfig build-time data there.
4344
# pybuilddir.txt contains the name of the build dir and is used for
44-
@@ -558,7 +559,7 @@ platform: $(BUILDPYTHON) pybuilddir.txt
45+
@@ -564,7 +566,7 @@ platform: $(BUILDPYTHON) pybuilddir.txt
4546
# or removed in case of failure.
4647
pybuilddir.txt: $(BUILDPYTHON)
4748
@echo "none" > ./pybuilddir.txt
@@ -50,7 +51,7 @@ index d912a19e79..36554b5e24 100644
5051
if test $$? -ne 0 ; then \
5152
echo "generate-posix-vars failed" ; \
5253
rm -f ./pybuilddir.txt ; \
53-
@@ -589,7 +590,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
54+
@@ -595,7 +597,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
5455
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \
5556
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
5657
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
@@ -59,7 +60,7 @@ index d912a19e79..36554b5e24 100644
5960

6061

6162
# Build static library
62-
@@ -1091,7 +1092,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKI
63+
@@ -1090,7 +1092,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKI
6364
upgrade) ensurepip="--upgrade" ;; \
6465
install|*) ensurepip="" ;; \
6566
esac; \
@@ -68,7 +69,7 @@ index d912a19e79..36554b5e24 100644
6869
$$ensurepip --root=$(DESTDIR)/ ; \
6970
fi
7071

71-
@@ -1101,7 +1102,7 @@ altinstall: commoninstall
72+
@@ -1100,7 +1102,7 @@ altinstall: commoninstall
7273
upgrade) ensurepip="--altinstall --upgrade" ;; \
7374
install|*) ensurepip="--altinstall" ;; \
7475
esac; \
@@ -77,7 +78,7 @@ index d912a19e79..36554b5e24 100644
7778
$$ensurepip --root=$(DESTDIR)/ ; \
7879
fi
7980

80-
@@ -1472,7 +1473,7 @@ libainstall: @DEF_MAKE_RULE@ python-config
81+
@@ -1470,7 +1472,7 @@ libainstall: @DEF_MAKE_RULE@ python-config
8182
# Install the dynamically loadable modules
8283
# This goes into $(exec_prefix)
8384
sharedinstall: sharedmods
@@ -86,7 +87,7 @@ index d912a19e79..36554b5e24 100644
8687
--prefix=$(prefix) \
8788
--install-scripts=$(BINDIR) \
8889
--install-platlib=$(DESTSHARED) \
89-
@@ -1556,7 +1557,7 @@ frameworkinstallextras:
90+
@@ -1554,7 +1556,7 @@ frameworkinstallextras:
9091
# This installs a few of the useful scripts in Tools/scripts
9192
scriptsinstall:
9293
SRCDIR=$(srcdir) $(RUNSHARED) \
@@ -96,18 +97,18 @@ index d912a19e79..36554b5e24 100644
9697
--install-scripts=$(BINDIR) \
9798
--root=$(DESTDIR)/
9899
diff --git a/configure b/configure
99-
index 56dfe6dc03..6549fc9922 100755
100+
index 5db31f475d..96379d7937 100755
100101
--- a/configure
101102
+++ b/configure
102-
@@ -751,6 +751,7 @@ CONFIG_ARGS
103+
@@ -752,6 +752,7 @@ CONFIG_ARGS
103104
SOVERSION
104105
VERSION
105106
PYTHON_FOR_BUILD
106107
+PY_BUILD_ENVIRON
107108
PYTHON_FOR_REGEN
108109
host_os
109110
host_vendor
110-
@@ -2938,7 +2939,8 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; }
111+
@@ -2932,7 +2933,8 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; }
111112
fi
112113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
113114
$as_echo "$interp" >&6; }
@@ -118,7 +119,7 @@ index 56dfe6dc03..6549fc9922 100755
118119
elif test "$cross_compiling" = maybe; then
119120
as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
120121
diff --git a/configure.ac b/configure.ac
121-
index cb740840b5..15ae3f5dda 100644
122+
index b24f7e8df0..6404ad88db 100644
122123
--- a/configure.ac
123124
+++ b/configure.ac
124125
@@ -73,13 +73,15 @@ if test "$cross_compiling" = yes; then
@@ -139,5 +140,5 @@ index cb740840b5..15ae3f5dda 100644
139140

140141
dnl Ensure that if prefix is specified, it does not end in a slash. If
141142
--
142-
2.19.1
143+
2.17.2 (Apple Git-113)
143144

recipe/0010-Win32-Fixes-for-Windows-GCC-interop-needed-by-RPy2-a.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From f6a96ede0f5e04369d1e87ee236277c77bfded52 Mon Sep 17 00:00:00 2001
1+
From 51952b8870efa2514d41afa49f9d96d8836ab070 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Wed, 16 Aug 2017 12:23:02 +0100
4-
Subject: [PATCH 10/18] Win32: Fixes for Windows GCC interop needed by RPy2 and
4+
Subject: [PATCH 10/19] Win32: Fixes for Windows GCC interop needed by RPy2 and
55
CVXOPT
66

77
We must pass -DMS_WIN32 or -DMS_WIN64
@@ -31,5 +31,5 @@ index fe95547112..a5b759ddaf 100644
3131
linker_so='%s %s %s'
3232
% (self.linker_dll, shared_option,
3333
--
34-
2.19.1
34+
2.17.2 (Apple Git-113)
3535

recipe/0011-Darwin-Look-in-sysroot-usr-lib-include-if-sysroot-is.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
From 7ae531cba22f4c1c6ecbb84d6f78c36c6fe6f4d7 Mon Sep 17 00:00:00 2001
1+
From b0e0ba2a7627913c69d6fc3dbe8c9ad63afd5821 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Sun, 20 Aug 2017 00:22:22 +0100
4-
Subject: [PATCH 11/18] Darwin: Look in ${sysroot}/usr/{lib,include} if sysroot
4+
Subject: [PATCH 11/19] Darwin: Look in ${sysroot}/usr/{lib,include} if sysroot
55
is set
66

77
---
88
setup.py | 8 +++++++-
99
1 file changed, 7 insertions(+), 1 deletion(-)
1010

1111
diff --git a/setup.py b/setup.py
12-
index 49193f67a6..09fba45515 100644
12+
index fb95fb5298..78c2126749 100644
1313
--- a/setup.py
1414
+++ b/setup.py
15-
@@ -574,7 +574,13 @@ class PyBuildExt(build_ext):
15+
@@ -579,7 +579,13 @@ class PyBuildExt(build_ext):
1616
# lib_dirs and inc_dirs are used to search for files;
1717
# if a file is found in one of those directories, it can
1818
# be assumed that no additional -I,-L directives are needed.
@@ -28,5 +28,5 @@ index 49193f67a6..09fba45515 100644
2828
inc_dirs = self.compiler.include_dirs + system_include_dirs
2929
else:
3030
--
31-
2.19.1
31+
2.17.2 (Apple Git-113)
3232

0 commit comments

Comments
 (0)