This repository was archived by the owner on Jan 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +65
-0
lines changed
Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ From 847449c590e97010e73a2e06ac731bbb276fa9ab Mon Sep 17 00:00:00 2001
2+ From: River <riverfor@gmail.com>
3+ Date: Mon, 12 Mar 2018 10:39:48 +0800
4+ Subject: [PATCH] Remove readline
5+
6+ ---
7+ setup.py | 2 +-
8+ 1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+ diff --git a/setup.py b/setup.py
11+ index 0d644db857..9920b5514f 100644
12+ --- a/setup.py
13+ +++ b/setup.py
14+ @@ -741,7 +741,7 @@ class PyBuildExt(build_ext):
15+ libraries=math_libs) )
16+
17+ # readline
18+ - do_readline = self.compiler.find_library_file(lib_dirs, 'readline')
19+ + do_readline = False #self.compiler.find_library_file(lib_dirs, 'readline')
20+ readline_termcap_library = ""
21+ curses_library = ""
22+ # Cannot use os.popen here in py3k.
23+ - -
24+ 2.11.0 (Apple Git-81)
25+
Original file line number Diff line number Diff line change 1+ From 01eb9e03dc52343bf4f1c51272b34003d5a3727c Mon Sep 17 00:00:00 2001
2+ From: River <riverfor@gmail.com>
3+ Date: Mon, 12 Mar 2018 12:01:10 +0800
4+ Subject: [PATCH] Update build info
5+
6+ ---
7+ Modules/getbuildinfo.c | 9 +++++++++
8+ 1 file changed, 9 insertions(+)
9+
10+ diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c
11+ index 5f941a26e1..b12420cf59 100644
12+ --- a/Modules/getbuildinfo.c
13+ +++ b/Modules/getbuildinfo.c
14+ @@ -23,12 +23,21 @@
15+ /* XXX Only unix build process has been tested */
16+ #ifndef GITVERSION
17+ #define GITVERSION ""
18+ + #else
19+ + #undef GITVERSION
20+ + #define GITVERSION "3.6.4"
21+ #endif
22+ #ifndef GITTAG
23+ #define GITTAG ""
24+ + #else
25+ + #undef GITTAG
26+ + #define GITTAG "qpyc"
27+ #endif
28+ #ifndef GITBRANCH
29+ #define GITBRANCH ""
30+ + #else
31+ + #undef GITBRANCH
32+ + #define GITBRANCH "qpyc"
33+ #endif
34+
35+ const char *
36+ - -
37+ 2.11.0 (Apple Git-81)
38+
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ class Python(Package):
1414 LocalPatch ('skip-build' ),
1515 LocalPatch ('py36-0001-Up-configure' ),
1616 LocalPatch ('py36-pyport-undef-HAVE_LANGINFO_H' ),
17+ LocalPatch ('py36-0001-Update-compile-flag' ),
18+ LocalPatch ('py36-0001-Remove-readline' ),
1719 RemotePatch ('https://github.com/python/cpython/pull/139.patch' ),
1820 ]
1921
You can’t perform that action at this time.
0 commit comments