Skip to content

Commit 9b2ee3b

Browse files
committed
add 0.0.20211030082633
1 parent b299260 commit 9b2ee3b

File tree

11 files changed

+153
-62
lines changed

11 files changed

+153
-62
lines changed

Package.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ let package = Package(
1515
]),
1616
],
1717
targets: [
18-
.binaryTarget(name: "libpython3", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20210416071604/libpython3.xcframework.zip", checksum: "e04f8175549283c3a5af54e5997db3ab12e6dfecc278dedd04ed85c05c36283a"),
19-
.binaryTarget(name: "libssl", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20210416071604/libssl.xcframework.zip", checksum: "1e10930fbe511663e829cbf6f76554b44094ed3fcda7d136a9bf9dcf1849f2be"),
20-
.binaryTarget(name: "libcrypto", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20210416071604/libcrypto.xcframework.zip", checksum: "6837dda1876ad567202a827298774d3dbf21ad044a1d7d2cfcbd6cb2f45c1440"),
21-
.binaryTarget(name: "libffi", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20210416071604/libffi.xcframework.zip", checksum: "d5af8d9f5824f6f08235a55f03b2d7d03e2992e2f5391137c897fbbd1889960d"),
18+
.binaryTarget(name: "libpython3", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20211030082633/libpython3.xcframework.zip", checksum: "fcf539304710ca15b61793937e63491d5cbf96c208b48dc1c1bf9aebd17d0288"),
19+
.binaryTarget(name: "libssl", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20211030082633/libssl.xcframework.zip", checksum: "ca16c728275205dbd00df411874f00ce29348868fb66f747dd08f104bcb73112"),
20+
.binaryTarget(name: "libcrypto", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20211030082633/libcrypto.xcframework.zip", checksum: "ab8106637f7ad7259c6b1af324f8c5eb9f99f8c20529050ffa3c66d8d3cffc91"),
21+
.binaryTarget(name: "libffi", url: "https://github.com/kewlbear/Python-iOS/releases/download/0.0.20211030082633/libffi.xcframework.zip", checksum: "4f5991483df1393ae3bca1365c21594a6b02a61fa328139cbfdfd21a87b2014a"),
2222
.target(name: "LinkPython",
2323
dependencies: [
2424
"libpython3",

Sources/PythonSupport/lib/python3.8/config-3.8-darwin/Makefile renamed to Sources/PythonSupport/lib/python3.9/config-3.9-darwin/Makefile

+131-46
Large diffs are not rendered by default.

Sources/PythonSupport/lib/python3.8/config-3.8-darwin/Setup renamed to Sources/PythonSupport/lib/python3.9/config-3.9-darwin/Setup

+10-6
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ faulthandler faulthandler.c
132132
#
133133
# bpo-35053: The module must be builtin since _Py_NewReference()
134134
# can call _PyTraceMalloc_NewReference().
135-
_tracemalloc _tracemalloc.c hashtable.c
135+
_tracemalloc _tracemalloc.c
136+
137+
# PEG-based parser module -- slated to be *the* parser
138+
_peg_parser _peg_parser.c
136139

137140
# The rest of the modules listed in this file are all commented out by
138141
# default. Usually they can be detected and built as dynamically
@@ -167,17 +170,18 @@ _symtable symtablemodule.c
167170
# Modules that should always be present (non UNIX dependent):
168171

169172
#array arraymodule.c # array objects
170-
#cmath cmathmodule.c _math.c # -lm # complex math library functions
171-
#math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
173+
#cmath cmathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # complex math library functions
174+
#math mathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # math library functions, e.g. sin()
172175
#_contextvars _contextvarsmodule.c # Context Variables
173176
#_struct _struct.c # binary structure packing/unpacking
174177
#_weakref _weakref.c # basic weak reference support
175178
#_testcapi _testcapimodule.c # Python C API test module
176179
#_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Python internal C API test module
177-
#_random _randommodule.c # Random number generator
180+
#_random _randommodule.c -DPy_BUILD_CORE_MODULE # Random number generator
178181
#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
179182
#_pickle _pickle.c # pickle accelerator
180183
#_datetime _datetimemodule.c # datetime accelerator
184+
#_zoneinfo _zoneinfo.c # zoneinfo accelerator
181185
#_bisect _bisectmodule.c # Bisection algorithms
182186
#_heapq _heapqmodule.c # Heap queue algorithm
183187
#_asyncio _asynciomodule.c # Fast asyncio Future
@@ -247,8 +251,8 @@ _symtable symtablemodule.c
247251
# The _sha module implements the SHA checksum algorithms.
248252
# (NIST's Secure Hash Algorithms.)
249253
#_sha1 sha1module.c
250-
#_sha256 sha256module.c
251-
#_sha512 sha512module.c
254+
#_sha256 sha256module.c -DPy_BUILD_CORE_BUILTIN
255+
#_sha512 sha512module.c -DPy_BUILD_CORE_BUILTIN
252256
#_sha3 _sha3/sha3module.c
253257

254258
# _blake module

Sources/PythonSupport/lib/python3.8/config-3.8-darwin/config.c renamed to Sources/PythonSupport/lib/python3.9/config-3.9-darwin/config.c

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ extern PyObject* PyInit__locale(void);
9494
extern PyObject* PyInit__io(void);
9595
extern PyObject* PyInit_faulthandler(void);
9696
extern PyObject* PyInit__tracemalloc(void);
97+
extern PyObject* PyInit__peg_parser(void);
9798
extern PyObject* PyInit__symtable(void);
9899
extern PyObject* PyInit_xxsubtype(void);
99100
/* -- ADDMODULE MARKER 1 -- */
@@ -178,6 +179,7 @@ struct _inittab _PyImport_Inittab[] = {
178179
{"_io", PyInit__io},
179180
{"faulthandler", PyInit_faulthandler},
180181
{"_tracemalloc", PyInit__tracemalloc},
182+
{"_peg_parser", PyInit__peg_parser},
181183
{"_symtable", PyInit__symtable},
182184
{"xxsubtype", PyInit_xxsubtype},
183185
/* -- ADDMODULE MARKER 2 -- */

Sources/PythonSupport/lib/python3.8/config-3.8-darwin/python-config.py renamed to Sources/PythonSupport/lib/python3.9/config-3.9-darwin/python-config.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/root/python3/bin/python3.8
1+
#!/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/root/python3/bin/python3.9
22
# -*- python -*-
33

44
# Keep this script in sync with python-config.sh.in
@@ -25,8 +25,8 @@ def exit_with_usage(code=1):
2525
if not opts:
2626
exit_with_usage()
2727

28-
pyver = sysconfig.get_config_var('VERSION')
2928
getvar = sysconfig.get_config_var
29+
pyver = getvar('VERSION')
3030

3131
opt_flags = [flag for (flag, val) in opts]
3232

@@ -35,10 +35,10 @@ def exit_with_usage(code=1):
3535

3636
for opt in opt_flags:
3737
if opt == '--prefix':
38-
print(sysconfig.get_config_var('prefix'))
38+
print(getvar('prefix'))
3939

4040
elif opt == '--exec-prefix':
41-
print(sysconfig.get_config_var('exec_prefix'))
41+
print(getvar('exec_prefix'))
4242

4343
elif opt in ('--includes', '--cflags'):
4444
flags = ['-I' + sysconfig.get_path('include'),
@@ -65,10 +65,10 @@ def exit_with_usage(code=1):
6565
print(' '.join(libs))
6666

6767
elif opt == '--extension-suffix':
68-
print(sysconfig.get_config_var('EXT_SUFFIX'))
68+
print(getvar('EXT_SUFFIX'))
6969

7070
elif opt == '--abiflags':
7171
print(sys.abiflags)
7272

7373
elif opt == '--configdir':
74-
print(sysconfig.get_config_var('LIBPL'))
74+
print(getvar('LIBPL'))
-3.84 MB
Binary file not shown.
3.9 MB
Binary file not shown.

0 commit comments

Comments
 (0)