Skip to content

Commit fcb151d

Browse files
committed
Initial cut at 2.7.12 support.
1 parent 152a498 commit fcb151d

File tree

3 files changed

+51
-21
lines changed

3 files changed

+51
-21
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
# Current director
2626
PROJECT_DIR=$(shell pwd)
2727

28-
BUILD_NUMBER=6
28+
BUILD_NUMBER=1
2929

3030
# Version of packages that will be compiled by this meta-package
31-
PYTHON_VERSION=3.4.2
31+
PYTHON_VERSION=2.7.12
3232
PYTHON_VER=$(basename $(PYTHON_VERSION))
3333

3434
OPENSSL_VERSION_NUMBER=1.0.2

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for watchOS. This should enable the code to run on:
4444
- 4th gen
4545
* Apple Watch
4646

47-
This repository branch builds a packaged version of **Python 3.4.2**.
47+
This repository branch builds a packaged version of **Python 2.7.12**.
4848
Other Python versions are available by cloning other branches of the main
4949
repository.
5050

@@ -72,10 +72,10 @@ This should:
7272
The build products will be in the `build` directory; the compiled frameworks
7373
will be in the `dist` directory.
7474

75-
.. _for macOS: https://github.com/pybee/Python-Apple-support/releases/download/3.4.2-b6/Python-3.4.2-macOS-support.b6.tar.gz
76-
.. _for iOS: https://github.com/pybee/Python-Apple-support/releases/download/3.4.2-b6/Python-3.4.2-iOS-support.b6.tar.gz
77-
.. _for tvOS: https://github.com/pybee/Python-Apple-support/releases/download/3.4.2-b6/Python-3.4.2-tvOS-support.b6.tar.gz
78-
.. _for watchOS: https://github.com/pybee/Python-Apple-support/releases/download/3.4.2-b6/Python-3.4.2-watchOS-support.b6.tar.gz
75+
.. _for macOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7.12-b1/Python-2.7.12-macOS-support.b1.tar.gz
76+
.. _for iOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7.12-b1/Python-2.7.12-iOS-support.b1.tar.gz
77+
.. _for tvOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7.12-b1/Python-2.7.12-tvOS-support.b1.tar.gz
78+
.. _for watchOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7.12-b1/Python-2.7.12-watchOS-support.b1.tar.gz
7979

8080
Acknowledgements
8181
----------------

patch/Python/Setup.embedded

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,47 @@
33
#####################################################################
44

55
_bisect _bisectmodule.c
6-
_bz2 _bz2module.c -I$(srcdir)/../bzip2/include -L$(srcdir)/../bzip2/lib -lbz2
6+
_codecs _codecsmodule.c
77
_codecs_cn cjkcodecs/_codecs_cn.c
88
_codecs_hk cjkcodecs/_codecs_hk.c
99
_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
1010
_codecs_jp cjkcodecs/_codecs_jp.c
1111
_codecs_kr cjkcodecs/_codecs_kr.c
1212
_codecs_tw cjkcodecs/_codecs_tw.c
13-
_crypt _cryptmodule.c
13+
_collections _collectionsmodule.c
14+
crypt cryptmodule.c
1415
_csv _csv.c
15-
_datetime _datetimemodule.c
16+
datetime datetimemodule.c
1617
_elementtree _elementtree.c \
1718
-I$(srcdir)/Modules/expat
1819
-DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI
19-
_heapq _heapqmodule.c
20+
_functools _functoolsmodule.c
21+
_hotshot _hotshot.c
22+
_io -I$(srcdir)/Modules/_io \
23+
_io/bufferedio.c \
24+
_io/bytesio.c \
25+
_io/fileio.c \
26+
_io/iobase.c \
27+
_io/_iomodule.c \
28+
_io/stringio.c \
29+
_io/textio.c
2030
_json _json.c
21-
_lsprof _lsprof.o rotatingtree.c
22-
_lzma _lzmamodule.c -I$(srcdir)/../xz/include -L$(srcdir)/../xz/lib -llzma
23-
_md5 md5module.c
31+
_locale _localemodule.c
32+
_lsprof _lsprof.c rotatingtree.c
33+
_heapq _heapqmodule.c
34+
_md5 md5module.c md5.c
2435
_multibytecodec cjkcodecs/multibytecodec.c
25-
_multiprocessing _multiprocessing/multiprocessing.c _multiprocessing/semaphore.c
26-
_opcode _opcode.c
27-
_pickle _pickle.c
28-
_posixsubprocess _posixsubprocess.c
36+
_multiprocessing \
37+
_multiprocessing/multiprocessing.c \
38+
_multiprocessing/socket_connection.c \
39+
_multiprocessing/semaphore.c
2940
_random _randommodule.c
30-
_sha1 sha1module.c
41+
_sha shamodule.c
3142
_sha256 sha256module.c
3243
_sha512 sha512module.c
3344
_socket socketmodule.c
45+
_sre _sre.c
46+
_symtable symtablemodule.c
3447
_sqlite3 -I$(srcdir)/Modules/_sqlite -DMODULE_NAME='\"sqlite3\"' -DSQLITE_OMIT_LOAD_EXTENSION -lsqlite3 \
3548
_sqlite/cache.c \
3649
_sqlite/connection.c \
@@ -43,39 +56,56 @@ _sqlite3 -I$(srcdir)/Modules/_sqlite -DMODULE_NAME='\"sqlite3\"' -DSQLITE_OMIT_L
4356
_sqlite/util.c
4457
_ssl _ssl.c -I$(srcdir)/../OpenSSL.framework/Headers -framework OpenSSL -F$(srcdir)/.. -DUSE_SSL
4558
_struct _struct.c
59+
_weakref _weakref.c
4660
array arraymodule.c
4761
audioop audioop.c
4862
binascii binascii.c
63+
bsddb185 bsddbmodule.c
64+
bz2 bz2module.c -I$(srcdir)/../BZip2.framework/Headers -framework BZip2 -F$(srcdir)/..
4965
cmath cmathmodule.c _math.c
66+
cPickle cPickle.c
67+
cStringIO cStringIO.c
68+
dl dlmodule.c
69+
errno errnomodule.c
5070
fcntl fcntlmodule.c
71+
future_builtins future_builtins.c
5172
grp grpmodule.c
73+
imageop imageop.c
74+
itertools itertoolsmodule.c
5275
math mathmodule.c
5376
mmap mmapmodule.c
77+
operator operator.c
5478
parser parsermodule.c
79+
posix posixmodule.c
80+
pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
5581
pyexpat expat/xmlparse.c \
5682
expat/xmlrole.c \
5783
expat/xmltok.c \
5884
pyexpat.c \
5985
-I$(srcdir)/Modules/expat \
6086
-DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI
87+
pwd pwdmodule.c
6188
resource resource.c
6289
select selectmodule.c
90+
strop stropmodule.c
6391
syslog syslogmodule.c
6492
termios termios.c
93+
time timemodule.c
94+
timing timingmodule.c
6595
unicodedata unicodedata.c
96+
zipimport zipimport.c
6697
zlib zlibmodule.c -I$(prefix)/include -lz
6798

6899
#####################################################################
69100
# Testing modules
70101
#####################################################################
71102
_ctypes_test _ctypes/_ctypes_test.c
72-
_testbuffer _testbuffer.c
73103
_testcapi _testcapimodule.c
74-
_testimportmultiple _testimportmultiple.c
75104

76105
#####################################################################
77106
# Modules that require additional frameworks
78107
#####################################################################
108+
#_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
79109
#_curses _cursesmodule.c -lcurses -ltermcap
80110
#_curses_panel _curses_panel.c -lpanel -lncurses
81111
#_dbm _dbmmodule.c

0 commit comments

Comments
 (0)