summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-02-27 12:49:22 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-07 13:40:33 +0100
commit19149e67e89f18f2001102ba714779175f3846e7 (patch)
tree5867964291c3565fd18f73673ea70a40bfabae73 /meta
parentb2b59b14ecfe13ba794d92f97d1403d6503c7407 (diff)
downloadpoky-19149e67e89f18f2001102ba714779175f3846e7.tar.gz
python3: Upgrade from 3.3.3 to 3.4.2
Modifies: python3-native_3.3.3.bb -> python3-native_3.4.2.bb: Updates checksums, version, patches and SRC_URIs to use xz format, LICENSE did not change, dates were updated, adds fix for ctypes/libffi needed for pip <- required since Python 3.4 (see PEP #453). python3_3.3.3.bb -> python3_3.4.2.bb: Updates checksums, version, patches and SRC_URIs to use xz format, adds fix for ctypes/libffi, fixes oe_multilib_header() call, adds python3-core as RDEPENDS to python3-misc to avoid QA issue. generate-manifest-3.4.py - > generate-manifest-3.4.py: fixes reprlib, adds _sitebuiltins and _collections_abc <- formerly part of collections, separated since 3.4 python-3.3-manifest.inc -> python-3.4-manifest.inc Rebases: 12-distutils-prefix-is-inside-staging-area.patch python-3.3-multilib.patch 04-default-is-optimized.patch avoid-ncursesw-include-path.patch Deletes (fixed upstream): fix-ast.h-dependency.patch python3-fix-build-error-with-Readline-6.3.patch 06-ctypes-libffi-fix-configure.patch remove_sqlite_rpath.patch [YOCTO #6857] (From OE-Core rev: 45290ff4d1902bd0ab5377568f969fbb660c0c87) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python-3.4-manifest.inc (renamed from meta/recipes-devtools/python/python-3.3-manifest.inc)126
-rw-r--r--meta/recipes-devtools/python/python3-native_3.4.2.bb (renamed from meta/recipes-devtools/python/python3-native_3.3.3.bb)17
-rw-r--r--meta/recipes-devtools/python/python3/04-default-is-optimized.patch39
-rw-r--r--meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch29
-rw-r--r--meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch30
-rw-r--r--meta/recipes-devtools/python/python3/python-3.3-multilib.patch180
-rw-r--r--meta/recipes-devtools/python/python3_3.4.2.bb (renamed from meta/recipes-devtools/python/python3_3.3.3.bb)21
7 files changed, 217 insertions, 225 deletions
diff --git a/meta/recipes-devtools/python/python-3.3-manifest.inc b/meta/recipes-devtools/python/python-3.4-manifest.inc
index 61119c687c..fa615563fe 100644
--- a/meta/recipes-devtools/python/python-3.3-manifest.inc
+++ b/meta/recipes-devtools/python/python-3.4-manifest.inc
@@ -1,6 +1,6 @@
1 1
2# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. 2# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
3# Generator: '../../../scripts/contrib/python/generate-manifest-3.3.py' Version 20140131 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> 3# Generator: './generate-manifest-3.4.py' Version 20140131 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
4# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy 4# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
5 5
6 6
@@ -11,51 +11,51 @@ PACKAGES="${PN}-dbg ${PN}-2to3 ${PN}-audio ${PN}-codecs ${PN}-compile ${PN}-comp
11 11
12SUMMARY_${PN}-2to3="Python automated Python 2 to 3 code translator" 12SUMMARY_${PN}-2to3="Python automated Python 2 to 3 code translator"
13RDEPENDS_${PN}-2to3="${PN}-core" 13RDEPENDS_${PN}-2to3="${PN}-core"
14FILES_${PN}-2to3="${bindir}/2to3 ${libdir}/python3.3/lib2to3 " 14FILES_${PN}-2to3="${bindir}/2to3 ${libdir}/python3.4/lib2to3 "
15 15
16SUMMARY_${PN}-audio="Python Audio Handling" 16SUMMARY_${PN}-audio="Python Audio Handling"
17RDEPENDS_${PN}-audio="${PN}-core" 17RDEPENDS_${PN}-audio="${PN}-core"
18FILES_${PN}-audio="${libdir}/python3.3/wave.* ${libdir}/python3.3/chunk.* ${libdir}/python3.3/sndhdr.* ${libdir}/python3.3/lib-dynload/ossaudiodev.*.so ${libdir}/python3.3/lib-dynload/audioop.*.so ${libdir}/python3.3/audiodev.* ${libdir}/python3.3/sunaudio.* ${libdir}/python3.3/sunau.* ${libdir}/python3.3/toaiff.* " 18FILES_${PN}-audio="${libdir}/python3.4/wave.* ${libdir}/python3.4/chunk.* ${libdir}/python3.4/sndhdr.* ${libdir}/python3.4/lib-dynload/ossaudiodev.*.so ${libdir}/python3.4/lib-dynload/audioop.*.so ${libdir}/python3.4/audiodev.* ${libdir}/python3.4/sunaudio.* ${libdir}/python3.4/sunau.* ${libdir}/python3.4/toaiff.* "
19 19
20SUMMARY_${PN}-codecs="Python codecs, encodings & i18n support" 20SUMMARY_${PN}-codecs="Python codecs, encodings & i18n support"
21RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang" 21RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang"
22FILES_${PN}-codecs="${libdir}/python3.3/codecs.* ${libdir}/python3.3/encodings ${libdir}/python3.3/gettext.* ${libdir}/python3.3/locale.* ${libdir}/python3.3/lib-dynload/_locale.*.so ${libdir}/python3.3/lib-dynload/_codecs* ${libdir}/python3.3/lib-dynload/_multibytecodec.*.so ${libdir}/python3.3/lib-dynload/unicodedata.*.so ${libdir}/python3.3/stringprep.* ${libdir}/python3.3/xdrlib.* " 22FILES_${PN}-codecs="${libdir}/python3.4/codecs.* ${libdir}/python3.4/encodings ${libdir}/python3.4/gettext.* ${libdir}/python3.4/locale.* ${libdir}/python3.4/lib-dynload/_locale.*.so ${libdir}/python3.4/lib-dynload/_codecs* ${libdir}/python3.4/lib-dynload/_multibytecodec.*.so ${libdir}/python3.4/lib-dynload/unicodedata.*.so ${libdir}/python3.4/stringprep.* ${libdir}/python3.4/xdrlib.* "
23 23
24SUMMARY_${PN}-compile="Python bytecode compilation support" 24SUMMARY_${PN}-compile="Python bytecode compilation support"
25RDEPENDS_${PN}-compile="${PN}-core" 25RDEPENDS_${PN}-compile="${PN}-core"
26FILES_${PN}-compile="${libdir}/python3.3/py_compile.* ${libdir}/python3.3/compileall.* " 26FILES_${PN}-compile="${libdir}/python3.4/py_compile.* ${libdir}/python3.4/compileall.* "
27 27
28SUMMARY_${PN}-compression="Python high-level compression support" 28SUMMARY_${PN}-compression="Python high-level compression support"
29RDEPENDS_${PN}-compression="${PN}-core ${PN}-codecs" 29RDEPENDS_${PN}-compression="${PN}-core ${PN}-codecs"
30FILES_${PN}-compression="${libdir}/python3.3/gzip.* ${libdir}/python3.3/zipfile.* ${libdir}/python3.3/tarfile.* ${libdir}/python3.3/lib-dynload/bz2.*.so " 30FILES_${PN}-compression="${libdir}/python3.4/gzip.* ${libdir}/python3.4/zipfile.* ${libdir}/python3.4/tarfile.* ${libdir}/python3.4/lib-dynload/bz2.*.so "
31 31
32SUMMARY_${PN}-core="Python interpreter and core modules" 32SUMMARY_${PN}-core="Python interpreter and core modules"
33RDEPENDS_${PN}-core="${PN}-lang ${PN}-re ${PN}-reprlib ${PN}-codecs ${PN}-io ${PN}-math" 33RDEPENDS_${PN}-core="${PN}-lang ${PN}-re ${PN}-reprlib ${PN}-codecs ${PN}-io ${PN}-math"
34FILES_${PN}-core="${libdir}/python3.3/__future__.* ${libdir}/python3.3/_abcoll.* ${libdir}/python3.3/abc.* ${libdir}/python3.3/copy.* ${libdir}/python3.3/copyreg.* ${libdir}/python3.3/ConfigParser.* ${libdir}/python3.3/genericpath.* ${libdir}/python3.3/getopt.* ${libdir}/python3.3/linecache.* ${libdir}/python3.3/new.* ${libdir}/python3.3/os.* ${libdir}/python3.3/posixpath.* ${libdir}/python3.3/struct.* ${libdir}/python3.3/warnings.* ${libdir}/python3.3/site.* ${libdir}/python3.3/stat.* ${libdir}/python3.3/UserDict.* ${libdir}/python3.3/UserList.* ${libdir}/python3.3/UserString.* ${libdir}/python3.3/lib-dynload/binascii.*.so ${libdir}/python3.3/lib-dynload/_struct.*.so ${libdir}/python3.3/lib-dynload/time.*.so ${libdir}/python3.3/lib-dynload/xreadlines.*.so ${libdir}/python3.3/types.* ${libdir}/python3.3/platform.* ${bindir}/python* ${libdir}/python3.3/_weakrefset.* ${libdir}/python3.3/sysconfig.* ${libdir}/python3.3/_sysconfigdata.* ${libdir}/python3.3/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/collections ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py " 34FILES_${PN}-core="${libdir}/python3.4/__future__.* ${libdir}/python3.4/_abcoll.* ${libdir}/python3.4/abc.* ${libdir}/python3.4/copy.* ${libdir}/python3.4/copyreg.* ${libdir}/python3.4/ConfigParser.* ${libdir}/python3.4/genericpath.* ${libdir}/python3.4/getopt.* ${libdir}/python3.4/linecache.* ${libdir}/python3.4/new.* ${libdir}/python3.4/os.* ${libdir}/python3.4/posixpath.* ${libdir}/python3.4/struct.* ${libdir}/python3.4/warnings.* ${libdir}/python3.4/site.* ${libdir}/python3.4/stat.* ${libdir}/python3.4/UserDict.* ${libdir}/python3.4/UserList.* ${libdir}/python3.4/UserString.* ${libdir}/python3.4/lib-dynload/binascii.*.so ${libdir}/python3.4/lib-dynload/_struct.*.so ${libdir}/python3.4/lib-dynload/time.*.so ${libdir}/python3.4/lib-dynload/xreadlines.*.so ${libdir}/python3.4/types.* ${libdir}/python3.4/platform.* ${bindir}/python* ${libdir}/python3.4/_weakrefset.* ${libdir}/python3.4/sysconfig.* ${libdir}/python3.4/_sysconfigdata.* ${libdir}/python3.4/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/collections ${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* ${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py "
35 35
36SUMMARY_${PN}-crypt="Python basic cryptographic and hashing support" 36SUMMARY_${PN}-crypt="Python basic cryptographic and hashing support"
37RDEPENDS_${PN}-crypt="${PN}-core" 37RDEPENDS_${PN}-crypt="${PN}-core"
38FILES_${PN}-crypt="${libdir}/python3.3/hashlib.* ${libdir}/python3.3/md5.* ${libdir}/python3.3/sha.* ${libdir}/python3.3/lib-dynload/crypt.*.so ${libdir}/python3.3/lib-dynload/_hashlib.*.so ${libdir}/python3.3/lib-dynload/_sha256.*.so ${libdir}/python3.3/lib-dynload/_sha512.*.so " 38FILES_${PN}-crypt="${libdir}/python3.4/hashlib.* ${libdir}/python3.4/md5.* ${libdir}/python3.4/sha.* ${libdir}/python3.4/lib-dynload/crypt.*.so ${libdir}/python3.4/lib-dynload/_hashlib.*.so ${libdir}/python3.4/lib-dynload/_sha256.*.so ${libdir}/python3.4/lib-dynload/_sha512.*.so "
39 39
40SUMMARY_${PN}-ctypes="Python C types support" 40SUMMARY_${PN}-ctypes="Python C types support"
41RDEPENDS_${PN}-ctypes="${PN}-core" 41RDEPENDS_${PN}-ctypes="${PN}-core"
42FILES_${PN}-ctypes="${libdir}/python3.3/ctypes ${libdir}/python3.3/lib-dynload/_ctypes.*.so ${libdir}/python3.3/lib-dynload/_ctypes_test.*.so " 42FILES_${PN}-ctypes="${libdir}/python3.4/ctypes ${libdir}/python3.4/lib-dynload/_ctypes.*.so ${libdir}/python3.4/lib-dynload/_ctypes_test.*.so "
43 43
44SUMMARY_${PN}-curses="Python curses support" 44SUMMARY_${PN}-curses="Python curses support"
45RDEPENDS_${PN}-curses="${PN}-core" 45RDEPENDS_${PN}-curses="${PN}-core"
46FILES_${PN}-curses="${libdir}/python3.3/curses ${libdir}/python3.3/lib-dynload/_curses.*.so ${libdir}/python3.3/lib-dynload/_curses_panel.*.so " 46FILES_${PN}-curses="${libdir}/python3.4/curses ${libdir}/python3.4/lib-dynload/_curses.*.so ${libdir}/python3.4/lib-dynload/_curses_panel.*.so "
47 47
48SUMMARY_${PN}-datetime="Python calendar and time support" 48SUMMARY_${PN}-datetime="Python calendar and time support"
49RDEPENDS_${PN}-datetime="${PN}-core ${PN}-codecs" 49RDEPENDS_${PN}-datetime="${PN}-core ${PN}-codecs"
50FILES_${PN}-datetime="${libdir}/python3.3/_strptime.* ${libdir}/python3.3/calendar.* ${libdir}/python3.3/lib-dynload/datetime.*.so " 50FILES_${PN}-datetime="${libdir}/python3.4/_strptime.* ${libdir}/python3.4/calendar.* ${libdir}/python3.4/lib-dynload/datetime.*.so "
51 51
52SUMMARY_${PN}-db="Python file-based database support" 52SUMMARY_${PN}-db="Python file-based database support"
53RDEPENDS_${PN}-db="${PN}-core" 53RDEPENDS_${PN}-db="${PN}-core"
54FILES_${PN}-db="${libdir}/python3.3/anydbm.* ${libdir}/python3.3/dumbdbm.* ${libdir}/python3.3/whichdb.* ${libdir}/python3.3/dbm ${libdir}/python3.3/lib-dynload/_dbm.*.so " 54FILES_${PN}-db="${libdir}/python3.4/anydbm.* ${libdir}/python3.4/dumbdbm.* ${libdir}/python3.4/whichdb.* ${libdir}/python3.4/dbm ${libdir}/python3.4/lib-dynload/_dbm.*.so "
55 55
56SUMMARY_${PN}-debugger="Python debugger" 56SUMMARY_${PN}-debugger="Python debugger"
57RDEPENDS_${PN}-debugger="${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint" 57RDEPENDS_${PN}-debugger="${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint"
58FILES_${PN}-debugger="${libdir}/python3.3/bdb.* ${libdir}/python3.3/pdb.* " 58FILES_${PN}-debugger="${libdir}/python3.4/bdb.* ${libdir}/python3.4/pdb.* "
59 59
60SUMMARY_${PN}-dev="Python development package" 60SUMMARY_${PN}-dev="Python development package"
61RDEPENDS_${PN}-dev="${PN}-core" 61RDEPENDS_${PN}-dev="${PN}-core"
@@ -63,203 +63,203 @@ FILES_${PN}-dev="${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la ${libdi
63 63
64SUMMARY_${PN}-difflib="Python helpers for computing deltas between objects" 64SUMMARY_${PN}-difflib="Python helpers for computing deltas between objects"
65RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re" 65RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re"
66FILES_${PN}-difflib="${libdir}/python3.3/difflib.* " 66FILES_${PN}-difflib="${libdir}/python3.4/difflib.* "
67 67
68SUMMARY_${PN}-distutils="Python Distribution Utilities" 68SUMMARY_${PN}-distutils="Python Distribution Utilities"
69RDEPENDS_${PN}-distutils="${PN}-core" 69RDEPENDS_${PN}-distutils="${PN}-core"
70FILES_${PN}-distutils="${libdir}/python3.3/config ${libdir}/python3.3/distutils " 70FILES_${PN}-distutils="${libdir}/python3.4/config ${libdir}/python3.4/distutils "
71 71
72SUMMARY_${PN}-distutils-staticdev="Python distribution utilities (static libraries)" 72SUMMARY_${PN}-distutils-staticdev="Python distribution utilities (static libraries)"
73RDEPENDS_${PN}-distutils-staticdev="${PN}-distutils" 73RDEPENDS_${PN}-distutils-staticdev="${PN}-distutils"
74FILES_${PN}-distutils-staticdev="${libdir}/python3.3/config/lib*.a " 74FILES_${PN}-distutils-staticdev="${libdir}/python3.4/config/lib*.a "
75 75
76SUMMARY_${PN}-doctest="Python framework for running examples in docstrings" 76SUMMARY_${PN}-doctest="Python framework for running examples in docstrings"
77RDEPENDS_${PN}-doctest="${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib" 77RDEPENDS_${PN}-doctest="${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib"
78FILES_${PN}-doctest="${libdir}/python3.3/doctest.* " 78FILES_${PN}-doctest="${libdir}/python3.4/doctest.* "
79 79
80SUMMARY_${PN}-elementtree="Python elementree" 80SUMMARY_${PN}-elementtree="Python elementree"
81RDEPENDS_${PN}-elementtree="${PN}-core" 81RDEPENDS_${PN}-elementtree="${PN}-core"
82FILES_${PN}-elementtree="${libdir}/python3.3/lib-dynload/_elementtree.*.so " 82FILES_${PN}-elementtree="${libdir}/python3.4/lib-dynload/_elementtree.*.so "
83 83
84SUMMARY_${PN}-email="Python email support" 84SUMMARY_${PN}-email="Python email support"
85RDEPENDS_${PN}-email="${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient" 85RDEPENDS_${PN}-email="${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient"
86FILES_${PN}-email="${libdir}/python3.3/imaplib.* ${libdir}/python3.3/email " 86FILES_${PN}-email="${libdir}/python3.4/imaplib.* ${libdir}/python3.4/email "
87 87
88SUMMARY_${PN}-fcntl="Python's fcntl interface" 88SUMMARY_${PN}-fcntl="Python's fcntl interface"
89RDEPENDS_${PN}-fcntl="${PN}-core" 89RDEPENDS_${PN}-fcntl="${PN}-core"
90FILES_${PN}-fcntl="${libdir}/python3.3/lib-dynload/fcntl.*.so " 90FILES_${PN}-fcntl="${libdir}/python3.4/lib-dynload/fcntl.*.so "
91 91
92SUMMARY_${PN}-gdbm="Python GNU database support" 92SUMMARY_${PN}-gdbm="Python GNU database support"
93RDEPENDS_${PN}-gdbm="${PN}-core" 93RDEPENDS_${PN}-gdbm="${PN}-core"
94FILES_${PN}-gdbm="${libdir}/python3.3/lib-dynload/_gdbm.*.so " 94FILES_${PN}-gdbm="${libdir}/python3.4/lib-dynload/_gdbm.*.so "
95 95
96SUMMARY_${PN}-html="Python HTML processing support" 96SUMMARY_${PN}-html="Python HTML processing support"
97RDEPENDS_${PN}-html="${PN}-core" 97RDEPENDS_${PN}-html="${PN}-core"
98FILES_${PN}-html="${libdir}/python3.3/formatter.* ${libdir}/python3.3/htmlentitydefs.* ${libdir}/python3.3/htmllib.* ${libdir}/python3.3/markupbase.* ${libdir}/python3.3/sgmllib.* ${libdir}/python3.3/HTMLParser.* " 98FILES_${PN}-html="${libdir}/python3.4/formatter.* ${libdir}/python3.4/htmlentitydefs.* ${libdir}/python3.4/htmllib.* ${libdir}/python3.4/markupbase.* ${libdir}/python3.4/sgmllib.* ${libdir}/python3.4/HTMLParser.* "
99 99
100SUMMARY_${PN}-idle="Python Integrated Development Environment" 100SUMMARY_${PN}-idle="Python Integrated Development Environment"
101RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter" 101RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter"
102FILES_${PN}-idle="${bindir}/idle ${libdir}/python3.3/idlelib " 102FILES_${PN}-idle="${bindir}/idle ${libdir}/python3.4/idlelib "
103 103
104SUMMARY_${PN}-image="Python graphical image handling" 104SUMMARY_${PN}-image="Python graphical image handling"
105RDEPENDS_${PN}-image="${PN}-core" 105RDEPENDS_${PN}-image="${PN}-core"
106FILES_${PN}-image="${libdir}/python3.3/colorsys.* ${libdir}/python3.3/imghdr.* ${libdir}/python3.3/lib-dynload/imageop.*.so ${libdir}/python3.3/lib-dynload/rgbimg.*.so " 106FILES_${PN}-image="${libdir}/python3.4/colorsys.* ${libdir}/python3.4/imghdr.* ${libdir}/python3.4/lib-dynload/imageop.*.so ${libdir}/python3.4/lib-dynload/rgbimg.*.so "
107 107
108SUMMARY_${PN}-importlib="Python import implementation library" 108SUMMARY_${PN}-importlib="Python import implementation library"
109RDEPENDS_${PN}-importlib="${PN}-core" 109RDEPENDS_${PN}-importlib="${PN}-core"
110FILES_${PN}-importlib="${libdir}/python3.3/importlib " 110FILES_${PN}-importlib="${libdir}/python3.4/importlib "
111 111
112SUMMARY_${PN}-io="Python low-level I/O" 112SUMMARY_${PN}-io="Python low-level I/O"
113RDEPENDS_${PN}-io="${PN}-core ${PN}-math" 113RDEPENDS_${PN}-io="${PN}-core ${PN}-math"
114FILES_${PN}-io="${libdir}/python3.3/lib-dynload/_socket.*.so ${libdir}/python3.3/lib-dynload/_io.*.so ${libdir}/python3.3/lib-dynload/_ssl.*.so ${libdir}/python3.3/lib-dynload/select.*.so ${libdir}/python3.3/lib-dynload/termios.*.so ${libdir}/python3.3/lib-dynload/cStringIO.*.so ${libdir}/python3.3/pipes.* ${libdir}/python3.3/socket.* ${libdir}/python3.3/ssl.* ${libdir}/python3.3/tempfile.* ${libdir}/python3.3/StringIO.* ${libdir}/python3.3/io.* ${libdir}/python3.3/_pyio.* " 114FILES_${PN}-io="${libdir}/python3.4/lib-dynload/_socket.*.so ${libdir}/python3.4/lib-dynload/_io.*.so ${libdir}/python3.4/lib-dynload/_ssl.*.so ${libdir}/python3.4/lib-dynload/select.*.so ${libdir}/python3.4/lib-dynload/termios.*.so ${libdir}/python3.4/lib-dynload/cStringIO.*.so ${libdir}/python3.4/pipes.* ${libdir}/python3.4/socket.* ${libdir}/python3.4/ssl.* ${libdir}/python3.4/tempfile.* ${libdir}/python3.4/StringIO.* ${libdir}/python3.4/io.* ${libdir}/python3.4/_pyio.* "
115 115
116SUMMARY_${PN}-json="Python JSON support" 116SUMMARY_${PN}-json="Python JSON support"
117RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re" 117RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re"
118FILES_${PN}-json="${libdir}/python3.3/json ${libdir}/python3.3/lib-dynload/_json.*.so " 118FILES_${PN}-json="${libdir}/python3.4/json ${libdir}/python3.4/lib-dynload/_json.*.so "
119 119
120SUMMARY_${PN}-lang="Python low-level language support" 120SUMMARY_${PN}-lang="Python low-level language support"
121RDEPENDS_${PN}-lang="${PN}-core" 121RDEPENDS_${PN}-lang="${PN}-core"
122FILES_${PN}-lang="${libdir}/python3.3/lib-dynload/_bisect.*.so ${libdir}/python3.3/lib-dynload/_collections.*.so ${libdir}/python3.3/lib-dynload/_heapq.*.so ${libdir}/python3.3/lib-dynload/_weakref.*.so ${libdir}/python3.3/lib-dynload/_functools.*.so ${libdir}/python3.3/lib-dynload/array.*.so ${libdir}/python3.3/lib-dynload/itertools.*.so ${libdir}/python3.3/lib-dynload/operator.*.so ${libdir}/python3.3/lib-dynload/parser.*.so ${libdir}/python3.3/atexit.* ${libdir}/python3.3/bisect.* ${libdir}/python3.3/code.* ${libdir}/python3.3/codeop.* ${libdir}/python3.3/collections.* ${libdir}/python3.3/dis.* ${libdir}/python3.3/functools.* ${libdir}/python3.3/heapq.* ${libdir}/python3.3/inspect.* ${libdir}/python3.3/keyword.* ${libdir}/python3.3/opcode.* ${libdir}/python3.3/symbol.* ${libdir}/python3.3/repr.* ${libdir}/python3.3/token.* ${libdir}/python3.3/tokenize.* ${libdir}/python3.3/traceback.* ${libdir}/python3.3/weakref.* " 122FILES_${PN}-lang="${libdir}/python3.4/lib-dynload/_bisect.*.so ${libdir}/python3.4/lib-dynload/_collections.*.so ${libdir}/python3.4/lib-dynload/_heapq.*.so ${libdir}/python3.4/lib-dynload/_weakref.*.so ${libdir}/python3.4/lib-dynload/_functools.*.so ${libdir}/python3.4/lib-dynload/array.*.so ${libdir}/python3.4/lib-dynload/itertools.*.so ${libdir}/python3.4/lib-dynload/operator.*.so ${libdir}/python3.4/lib-dynload/parser.*.so ${libdir}/python3.4/atexit.* ${libdir}/python3.4/bisect.* ${libdir}/python3.4/code.* ${libdir}/python3.4/codeop.* ${libdir}/python3.4/collections.* ${libdir}/python3.4/_collections_abc.* ${libdir}/python3.4/dis.* ${libdir}/python3.4/functools.* ${libdir}/python3.4/heapq.* ${libdir}/python3.4/inspect.* ${libdir}/python3.4/keyword.* ${libdir}/python3.4/opcode.* ${libdir}/python3.4/symbol.* ${libdir}/python3.4/repr.* ${libdir}/python3.4/token.* ${libdir}/python3.4/tokenize.* ${libdir}/python3.4/traceback.* ${libdir}/python3.4/weakref.* "
123 123
124SUMMARY_${PN}-logging="Python logging support" 124SUMMARY_${PN}-logging="Python logging support"
125RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold" 125RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold"
126FILES_${PN}-logging="${libdir}/python3.3/logging " 126FILES_${PN}-logging="${libdir}/python3.4/logging "
127 127
128SUMMARY_${PN}-mailbox="Python mailbox format support" 128SUMMARY_${PN}-mailbox="Python mailbox format support"
129RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime" 129RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime"
130FILES_${PN}-mailbox="${libdir}/python3.3/mailbox.* " 130FILES_${PN}-mailbox="${libdir}/python3.4/mailbox.* "
131 131
132SUMMARY_${PN}-math="Python math support" 132SUMMARY_${PN}-math="Python math support"
133RDEPENDS_${PN}-math="${PN}-core" 133RDEPENDS_${PN}-math="${PN}-core"
134FILES_${PN}-math="${libdir}/python3.3/lib-dynload/cmath.*.so ${libdir}/python3.3/lib-dynload/math.*.so ${libdir}/python3.3/lib-dynload/_random.*.so ${libdir}/python3.3/random.* ${libdir}/python3.3/sets.* " 134FILES_${PN}-math="${libdir}/python3.4/lib-dynload/cmath.*.so ${libdir}/python3.4/lib-dynload/math.*.so ${libdir}/python3.4/lib-dynload/_random.*.so ${libdir}/python3.4/random.* ${libdir}/python3.4/sets.* "
135 135
136SUMMARY_${PN}-mime="Python MIME handling APIs" 136SUMMARY_${PN}-mime="Python MIME handling APIs"
137RDEPENDS_${PN}-mime="${PN}-core ${PN}-io" 137RDEPENDS_${PN}-mime="${PN}-core ${PN}-io"
138FILES_${PN}-mime="${libdir}/python3.3/mimetools.* ${libdir}/python3.3/uu.* ${libdir}/python3.3/quopri.* ${libdir}/python3.3/rfc822.* ${libdir}/python3.3/MimeWriter.* " 138FILES_${PN}-mime="${libdir}/python3.4/mimetools.* ${libdir}/python3.4/uu.* ${libdir}/python3.4/quopri.* ${libdir}/python3.4/rfc822.* ${libdir}/python3.4/MimeWriter.* "
139 139
140SUMMARY_${PN}-mmap="Python memory-mapped file support" 140SUMMARY_${PN}-mmap="Python memory-mapped file support"
141RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io" 141RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
142FILES_${PN}-mmap="${libdir}/python3.3/lib-dynload/mmap.*.so " 142FILES_${PN}-mmap="${libdir}/python3.4/lib-dynload/mmap.*.so "
143 143
144SUMMARY_${PN}-multiprocessing="Python multiprocessing support" 144SUMMARY_${PN}-multiprocessing="Python multiprocessing support"
145RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes ${PN}-mmap" 145RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes ${PN}-mmap"
146FILES_${PN}-multiprocessing="${libdir}/python3.3/lib-dynload/_multiprocessing.*.so ${libdir}/python3.3/multiprocessing " 146FILES_${PN}-multiprocessing="${libdir}/python3.4/lib-dynload/_multiprocessing.*.so ${libdir}/python3.4/multiprocessing "
147 147
148SUMMARY_${PN}-netclient="Python Internet Protocol clients" 148SUMMARY_${PN}-netclient="Python Internet Protocol clients"
149RDEPENDS_${PN}-netclient="${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime" 149RDEPENDS_${PN}-netclient="${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime"
150FILES_${PN}-netclient="${libdir}/python3.3/*Cookie*.* ${libdir}/python3.3/base64.* ${libdir}/python3.3/cookielib.* ${libdir}/python3.3/ftplib.* ${libdir}/python3.3/gopherlib.* ${libdir}/python3.3/hmac.* ${libdir}/python3.3/httplib.* ${libdir}/python3.3/mimetypes.* ${libdir}/python3.3/nntplib.* ${libdir}/python3.3/poplib.* ${libdir}/python3.3/smtplib.* ${libdir}/python3.3/telnetlib.* ${libdir}/python3.3/urllib.* ${libdir}/python3.3/urllib2.* ${libdir}/python3.3/urlparse.* ${libdir}/python3.3/uuid.* ${libdir}/python3.3/rfc822.* ${libdir}/python3.3/mimetools.* " 150FILES_${PN}-netclient="${libdir}/python3.4/*Cookie*.* ${libdir}/python3.4/base64.* ${libdir}/python3.4/cookielib.* ${libdir}/python3.4/ftplib.* ${libdir}/python3.4/gopherlib.* ${libdir}/python3.4/hmac.* ${libdir}/python3.4/httplib.* ${libdir}/python3.4/mimetypes.* ${libdir}/python3.4/nntplib.* ${libdir}/python3.4/poplib.* ${libdir}/python3.4/smtplib.* ${libdir}/python3.4/telnetlib.* ${libdir}/python3.4/urllib.* ${libdir}/python3.4/urllib2.* ${libdir}/python3.4/urlparse.* ${libdir}/python3.4/uuid.* ${libdir}/python3.4/rfc822.* ${libdir}/python3.4/mimetools.* "
151 151
152SUMMARY_${PN}-netserver="Python Internet Protocol servers" 152SUMMARY_${PN}-netserver="Python Internet Protocol servers"
153RDEPENDS_${PN}-netserver="${PN}-core ${PN}-netclient" 153RDEPENDS_${PN}-netserver="${PN}-core ${PN}-netclient"
154FILES_${PN}-netserver="${libdir}/python3.3/cgi.* ${libdir}/python3.3/*HTTPServer.* ${libdir}/python3.3/SocketServer.* " 154FILES_${PN}-netserver="${libdir}/python3.4/cgi.* ${libdir}/python3.4/*HTTPServer.* ${libdir}/python3.4/SocketServer.* "
155 155
156SUMMARY_${PN}-numbers="Python number APIs" 156SUMMARY_${PN}-numbers="Python number APIs"
157RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re" 157RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re"
158FILES_${PN}-numbers="${libdir}/python3.3/decimal.* ${libdir}/python3.3/numbers.* " 158FILES_${PN}-numbers="${libdir}/python3.4/decimal.* ${libdir}/python3.4/numbers.* "
159 159
160SUMMARY_${PN}-pickle="Python serialisation/persistence support" 160SUMMARY_${PN}-pickle="Python serialisation/persistence support"
161RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re" 161RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re"
162FILES_${PN}-pickle="${libdir}/python3.3/pickle.* ${libdir}/python3.3/shelve.* ${libdir}/python3.3/lib-dynload/cPickle.*.so ${libdir}/python3.3/pickletools.* " 162FILES_${PN}-pickle="${libdir}/python3.4/pickle.* ${libdir}/python3.4/shelve.* ${libdir}/python3.4/lib-dynload/cPickle.*.so ${libdir}/python3.4/pickletools.* "
163 163
164SUMMARY_${PN}-pkgutil="Python package extension utility support" 164SUMMARY_${PN}-pkgutil="Python package extension utility support"
165RDEPENDS_${PN}-pkgutil="${PN}-core" 165RDEPENDS_${PN}-pkgutil="${PN}-core"
166FILES_${PN}-pkgutil="${libdir}/python3.3/pkgutil.* " 166FILES_${PN}-pkgutil="${libdir}/python3.4/pkgutil.* "
167 167
168SUMMARY_${PN}-pprint="Python pretty-print support" 168SUMMARY_${PN}-pprint="Python pretty-print support"
169RDEPENDS_${PN}-pprint="${PN}-core ${PN}-io" 169RDEPENDS_${PN}-pprint="${PN}-core ${PN}-io"
170FILES_${PN}-pprint="${libdir}/python3.3/pprint.* " 170FILES_${PN}-pprint="${libdir}/python3.4/pprint.* "
171 171
172SUMMARY_${PN}-profile="Python basic performance profiling support" 172SUMMARY_${PN}-profile="Python basic performance profiling support"
173RDEPENDS_${PN}-profile="${PN}-core ${PN}-textutils" 173RDEPENDS_${PN}-profile="${PN}-core ${PN}-textutils"
174FILES_${PN}-profile="${libdir}/python3.3/profile.* ${libdir}/python3.3/pstats.* ${libdir}/python3.3/cProfile.* ${libdir}/python3.3/lib-dynload/_lsprof.*.so " 174FILES_${PN}-profile="${libdir}/python3.4/profile.* ${libdir}/python3.4/pstats.* ${libdir}/python3.4/cProfile.* ${libdir}/python3.4/lib-dynload/_lsprof.*.so "
175 175
176SUMMARY_${PN}-pydoc="Python interactive help support" 176SUMMARY_${PN}-pydoc="Python interactive help support"
177RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re" 177RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re"
178FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python3.3/pydoc.* ${libdir}/python3.3/pydoc_data " 178FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python3.4/pydoc.* ${libdir}/python3.4/pydoc_data "
179 179
180SUMMARY_${PN}-re="Python Regular Expression APIs" 180SUMMARY_${PN}-re="Python Regular Expression APIs"
181RDEPENDS_${PN}-re="${PN}-core" 181RDEPENDS_${PN}-re="${PN}-core"
182FILES_${PN}-re="${libdir}/python3.3/re.* ${libdir}/python3.3/sre.* ${libdir}/python3.3/sre_compile.* ${libdir}/python3.3/sre_constants* ${libdir}/python3.3/sre_parse.* " 182FILES_${PN}-re="${libdir}/python3.4/re.* ${libdir}/python3.4/sre.* ${libdir}/python3.4/sre_compile.* ${libdir}/python3.4/sre_constants* ${libdir}/python3.4/sre_parse.* "
183 183
184SUMMARY_${PN}-readline="Python readline support" 184SUMMARY_${PN}-readline="Python readline support"
185RDEPENDS_${PN}-readline="${PN}-core" 185RDEPENDS_${PN}-readline="${PN}-core"
186FILES_${PN}-readline="${libdir}/python3.3/lib-dynload/readline.*.so ${libdir}/python3.3/rlcompleter.* " 186FILES_${PN}-readline="${libdir}/python3.4/lib-dynload/readline.*.so ${libdir}/python3.4/rlcompleter.* "
187 187
188SUMMARY_${PN}-reprlib="Python alternate repr() implementation" 188SUMMARY_${PN}-reprlib="Python alternate repr() implementation"
189RDEPENDS_${PN}-reprlib="${PN}-core" 189RDEPENDS_${PN}-reprlib="${PN}-core"
190FILES_${PN}-reprlib="${libdir}/python3.3/reprlib.py " 190FILES_${PN}-reprlib="${libdir}/python3.4/reprlib.py "
191 191
192SUMMARY_${PN}-resource="Python resource control interface" 192SUMMARY_${PN}-resource="Python resource control interface"
193RDEPENDS_${PN}-resource="${PN}-core" 193RDEPENDS_${PN}-resource="${PN}-core"
194FILES_${PN}-resource="${libdir}/python3.3/lib-dynload/resource.*.so " 194FILES_${PN}-resource="${libdir}/python3.4/lib-dynload/resource.*.so "
195 195
196SUMMARY_${PN}-robotparser="Python robots.txt parser" 196SUMMARY_${PN}-robotparser="Python robots.txt parser"
197RDEPENDS_${PN}-robotparser="${PN}-core ${PN}-netclient" 197RDEPENDS_${PN}-robotparser="${PN}-core ${PN}-netclient"
198FILES_${PN}-robotparser="${libdir}/python3.3/urllib/robotparser.* " 198FILES_${PN}-robotparser="${libdir}/python3.4/urllib/robotparser.* "
199 199
200SUMMARY_${PN}-shell="Python shell-like functionality" 200SUMMARY_${PN}-shell="Python shell-like functionality"
201RDEPENDS_${PN}-shell="${PN}-core ${PN}-re" 201RDEPENDS_${PN}-shell="${PN}-core ${PN}-re"
202FILES_${PN}-shell="${libdir}/python3.3/cmd.* ${libdir}/python3.3/commands.* ${libdir}/python3.3/dircache.* ${libdir}/python3.3/fnmatch.* ${libdir}/python3.3/glob.* ${libdir}/python3.3/popen2.* ${libdir}/python3.3/shlex.* ${libdir}/python3.3/shutil.* " 202FILES_${PN}-shell="${libdir}/python3.4/cmd.* ${libdir}/python3.4/commands.* ${libdir}/python3.4/dircache.* ${libdir}/python3.4/fnmatch.* ${libdir}/python3.4/glob.* ${libdir}/python3.4/popen2.* ${libdir}/python3.4/shlex.* ${libdir}/python3.4/shutil.* "
203 203
204SUMMARY_${PN}-smtpd="Python Simple Mail Transport Daemon" 204SUMMARY_${PN}-smtpd="Python Simple Mail Transport Daemon"
205RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime" 205RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime"
206FILES_${PN}-smtpd="${bindir}/smtpd.* ${libdir}/python3.3/smtpd.* " 206FILES_${PN}-smtpd="${bindir}/smtpd.* ${libdir}/python3.4/smtpd.* "
207 207
208SUMMARY_${PN}-sqlite3="Python Sqlite3 database support" 208SUMMARY_${PN}-sqlite3="Python Sqlite3 database support"
209RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading" 209RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading"
210FILES_${PN}-sqlite3="${libdir}/python3.3/lib-dynload/_sqlite3.*.so ${libdir}/python3.3/sqlite3/dbapi2.* ${libdir}/python3.3/sqlite3/__init__.* ${libdir}/python3.3/sqlite3/dump.* " 210FILES_${PN}-sqlite3="${libdir}/python3.4/lib-dynload/_sqlite3.*.so ${libdir}/python3.4/sqlite3/dbapi2.* ${libdir}/python3.4/sqlite3/__init__.* ${libdir}/python3.4/sqlite3/dump.* "
211 211
212SUMMARY_${PN}-sqlite3-tests="Python Sqlite3 database support tests" 212SUMMARY_${PN}-sqlite3-tests="Python Sqlite3 database support tests"
213RDEPENDS_${PN}-sqlite3-tests="${PN}-core ${PN}-sqlite3" 213RDEPENDS_${PN}-sqlite3-tests="${PN}-core ${PN}-sqlite3"
214FILES_${PN}-sqlite3-tests="${libdir}/python3.3/sqlite3/test " 214FILES_${PN}-sqlite3-tests="${libdir}/python3.4/sqlite3/test "
215 215
216SUMMARY_${PN}-stringold="Python string APIs [deprecated]" 216SUMMARY_${PN}-stringold="Python string APIs [deprecated]"
217RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re" 217RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re"
218FILES_${PN}-stringold="${libdir}/python3.3/lib-dynload/strop.*.so ${libdir}/python3.3/string.* ${libdir}/python3.3/stringold.* " 218FILES_${PN}-stringold="${libdir}/python3.4/lib-dynload/strop.*.so ${libdir}/python3.4/string.* ${libdir}/python3.4/stringold.* "
219 219
220SUMMARY_${PN}-subprocess="Python subprocess support" 220SUMMARY_${PN}-subprocess="Python subprocess support"
221RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle" 221RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle"
222FILES_${PN}-subprocess="${libdir}/python3.3/subprocess.* " 222FILES_${PN}-subprocess="${libdir}/python3.4/subprocess.* "
223 223
224SUMMARY_${PN}-syslog="Python syslog interface" 224SUMMARY_${PN}-syslog="Python syslog interface"
225RDEPENDS_${PN}-syslog="${PN}-core" 225RDEPENDS_${PN}-syslog="${PN}-core"
226FILES_${PN}-syslog="${libdir}/python3.3/lib-dynload/syslog.*.so " 226FILES_${PN}-syslog="${libdir}/python3.4/lib-dynload/syslog.*.so "
227 227
228SUMMARY_${PN}-terminal="Python terminal controlling support" 228SUMMARY_${PN}-terminal="Python terminal controlling support"
229RDEPENDS_${PN}-terminal="${PN}-core ${PN}-io" 229RDEPENDS_${PN}-terminal="${PN}-core ${PN}-io"
230FILES_${PN}-terminal="${libdir}/python3.3/pty.* ${libdir}/python3.3/tty.* " 230FILES_${PN}-terminal="${libdir}/python3.4/pty.* ${libdir}/python3.4/tty.* "
231 231
232SUMMARY_${PN}-tests="Python tests" 232SUMMARY_${PN}-tests="Python tests"
233RDEPENDS_${PN}-tests="${PN}-core" 233RDEPENDS_${PN}-tests="${PN}-core"
234FILES_${PN}-tests="${libdir}/python3.3/test " 234FILES_${PN}-tests="${libdir}/python3.4/test "
235 235
236SUMMARY_${PN}-textutils="Python option parsing, text wrapping and CSV support" 236SUMMARY_${PN}-textutils="Python option parsing, text wrapping and CSV support"
237RDEPENDS_${PN}-textutils="${PN}-core ${PN}-io ${PN}-re ${PN}-stringold" 237RDEPENDS_${PN}-textutils="${PN}-core ${PN}-io ${PN}-re ${PN}-stringold"
238FILES_${PN}-textutils="${libdir}/python3.3/lib-dynload/_csv.*.so ${libdir}/python3.3/csv.* ${libdir}/python3.3/optparse.* ${libdir}/python3.3/textwrap.* " 238FILES_${PN}-textutils="${libdir}/python3.4/lib-dynload/_csv.*.so ${libdir}/python3.4/csv.* ${libdir}/python3.4/optparse.* ${libdir}/python3.4/textwrap.* "
239 239
240SUMMARY_${PN}-threading="Python threading & synchronization support" 240SUMMARY_${PN}-threading="Python threading & synchronization support"
241RDEPENDS_${PN}-threading="${PN}-core ${PN}-lang" 241RDEPENDS_${PN}-threading="${PN}-core ${PN}-lang"
242FILES_${PN}-threading="${libdir}/python3.3/_threading_local.* ${libdir}/python3.3/dummy_thread.* ${libdir}/python3.3/dummy_threading.* ${libdir}/python3.3/mutex.* ${libdir}/python3.3/threading.* ${libdir}/python3.3/Queue.* " 242FILES_${PN}-threading="${libdir}/python3.4/_threading_local.* ${libdir}/python3.4/dummy_thread.* ${libdir}/python3.4/dummy_threading.* ${libdir}/python3.4/mutex.* ${libdir}/python3.4/threading.* ${libdir}/python3.4/Queue.* "
243 243
244SUMMARY_${PN}-tkinter="Python Tcl/Tk bindings" 244SUMMARY_${PN}-tkinter="Python Tcl/Tk bindings"
245RDEPENDS_${PN}-tkinter="${PN}-core" 245RDEPENDS_${PN}-tkinter="${PN}-core"
246FILES_${PN}-tkinter="${libdir}/python3.3/lib-dynload/_tkinter.*.so ${libdir}/python3.3/lib-tk ${libdir}/python3.3/tkinter " 246FILES_${PN}-tkinter="${libdir}/python3.4/lib-dynload/_tkinter.*.so ${libdir}/python3.4/lib-tk ${libdir}/python3.4/tkinter "
247 247
248SUMMARY_${PN}-unittest="Python unit testing framework" 248SUMMARY_${PN}-unittest="Python unit testing framework"
249RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang ${PN}-io ${PN}-difflib ${PN}-pprint ${PN}-shell" 249RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang ${PN}-io ${PN}-difflib ${PN}-pprint ${PN}-shell"
250FILES_${PN}-unittest="${libdir}/python3.3/unittest/ " 250FILES_${PN}-unittest="${libdir}/python3.4/unittest/ "
251 251
252SUMMARY_${PN}-unixadmin="Python Unix administration support" 252SUMMARY_${PN}-unixadmin="Python Unix administration support"
253RDEPENDS_${PN}-unixadmin="${PN}-core" 253RDEPENDS_${PN}-unixadmin="${PN}-core"
254FILES_${PN}-unixadmin="${libdir}/python3.3/lib-dynload/nis.*.so ${libdir}/python3.3/lib-dynload/grp.*.so ${libdir}/python3.3/lib-dynload/pwd.*.so ${libdir}/python3.3/getpass.* " 254FILES_${PN}-unixadmin="${libdir}/python3.4/lib-dynload/nis.*.so ${libdir}/python3.4/lib-dynload/grp.*.so ${libdir}/python3.4/lib-dynload/pwd.*.so ${libdir}/python3.4/getpass.* "
255 255
256SUMMARY_${PN}-xml="Python basic XML support" 256SUMMARY_${PN}-xml="Python basic XML support"
257RDEPENDS_${PN}-xml="${PN}-core ${PN}-elementtree ${PN}-re" 257RDEPENDS_${PN}-xml="${PN}-core ${PN}-elementtree ${PN}-re"
258FILES_${PN}-xml="${libdir}/python3.3/lib-dynload/pyexpat.*.so ${libdir}/python3.3/xml ${libdir}/python3.3/xmllib.* " 258FILES_${PN}-xml="${libdir}/python3.4/lib-dynload/pyexpat.*.so ${libdir}/python3.4/xml ${libdir}/python3.4/xmllib.* "
259 259
260SUMMARY_${PN}-xmlrpc="Python XML-RPC support" 260SUMMARY_${PN}-xmlrpc="Python XML-RPC support"
261RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang" 261RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang"
262FILES_${PN}-xmlrpc="${libdir}/python3.3/xmlrpclib.* ${libdir}/python3.3/SimpleXMLRPCServer.* ${libdir}/python3.3/DocXMLRPCServer.* ${libdir}/python3.3/xmlrpc " 262FILES_${PN}-xmlrpc="${libdir}/python3.4/xmlrpclib.* ${libdir}/python3.4/SimpleXMLRPCServer.* ${libdir}/python3.4/DocXMLRPCServer.* ${libdir}/python3.4/xmlrpc "
263 263
264SUMMARY_${PN}-modules="All Python modules" 264SUMMARY_${PN}-modules="All Python modules"
265RDEPENDS_${PN}-modules="${PN}-2to3 ${PN}-audio ${PN}-codecs ${PN}-compile ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-html ${PN}-idle ${PN}-image ${PN}-importlib ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-reprlib ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc " 265RDEPENDS_${PN}-modules="${PN}-2to3 ${PN}-audio ${PN}-codecs ${PN}-compile ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-html ${PN}-idle ${PN}-image ${PN}-importlib ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-reprlib ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc "
diff --git a/meta/recipes-devtools/python/python3-native_3.3.3.bb b/meta/recipes-devtools/python/python3-native_3.4.2.bb
index 73ce0952bd..d98a278867 100644
--- a/meta/recipes-devtools/python/python3-native_3.3.3.bb
+++ b/meta/recipes-devtools/python/python3-native_3.4.2.bb
@@ -1,10 +1,10 @@
1require recipes-devtools/python/python.inc 1require recipes-devtools/python/python.inc
2 2
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.0"
4PYTHON_MAJMIN = "3.3" 4PYTHON_MAJMIN = "3.4"
5DISTRO_SRC_URI ?= "file://sitecustomize.py" 5DISTRO_SRC_URI ?= "file://sitecustomize.py"
6DISTRO_SRC_URI_linuxstdbase = "" 6DISTRO_SRC_URI_linuxstdbase = ""
7SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ 7SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
8file://12-distutils-prefix-is-inside-staging-area.patch \ 8file://12-distutils-prefix-is-inside-staging-area.patch \
9file://python-config.patch \ 9file://python-config.patch \
10file://000-cross-compile.patch \ 10file://000-cross-compile.patch \
@@ -18,22 +18,19 @@ file://150-fix-setupterm.patch \
18file://python-3.3-multilib.patch \ 18file://python-3.3-multilib.patch \
19file://03-fix-tkinter-detection.patch \ 19file://03-fix-tkinter-detection.patch \
20file://avoid_warning_about_tkinter.patch \ 20file://avoid_warning_about_tkinter.patch \
21file://06-ctypes-libffi-fix-configure.patch \
22file://shutil-follow-symlink-fix.patch \ 21file://shutil-follow-symlink-fix.patch \
23file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \ 22file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
24file://sysroot-include-headers.patch \ 23file://sysroot-include-headers.patch \
25file://unixccompiler.patch \ 24file://unixccompiler.patch \
26file://fix-ast.h-dependency.patch \
27file://makerace.patch \ 25file://makerace.patch \
28${DISTRO_SRC_URI} \ 26${DISTRO_SRC_URI} \
29file://python3-fix-build-error-with-Readline-6.3.patch \
30file://sysconfig.py-add-_PYTHON_PROJECT_SRC.patch \ 27file://sysconfig.py-add-_PYTHON_PROJECT_SRC.patch \
31file://setup.py-check-cross_compiling-when-get-FLAGS.patch \ 28file://setup.py-check-cross_compiling-when-get-FLAGS.patch \
32" 29"
33SRC_URI[md5sum] = "f3ebe34d4d8695bf889279b54673e10c" 30SRC_URI[md5sum] = "36fc7327c02c6f12fa24fc9ba78039e3"
34SRC_URI[sha256sum] = "e526e9b612f623888364d30cc9f3dfc34dcef39065c713bdbcddf47df84d8dcb" 31SRC_URI[sha256sum] = "1c6d9682d145c056537e477bbfa060ce727f9edd38df1827e0f970dcf04b2def"
35 32
36LIC_FILES_CHKSUM = "file://LICENSE;md5=4eaea08eaaf6875189b0c49f26fa2005" 33LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
37 34
38S = "${WORKDIR}/Python-${PV}" 35S = "${WORKDIR}/Python-${PV}"
39 36
@@ -59,8 +56,8 @@ EXTRA_OEMAKE = '\
59# No ctypes option for python 3 56# No ctypes option for python 3
60PYTHONLSBOPTS = "" 57PYTHONLSBOPTS = ""
61 58
62do_configure_prepend() { 59do_configure_append() {
63 autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" 60 autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi
64} 61}
65 62
66do_install() { 63do_install() {
diff --git a/meta/recipes-devtools/python/python3/04-default-is-optimized.patch b/meta/recipes-devtools/python/python3/04-default-is-optimized.patch
index d5afd40025..3b8f264a58 100644
--- a/meta/recipes-devtools/python/python3/04-default-is-optimized.patch
+++ b/meta/recipes-devtools/python/python3/04-default-is-optimized.patch
@@ -1,20 +1,21 @@
1Upstream-Status: Inappropriate [embedded specific] 1Upstream-Status: Inappropriate [embedded specific]
2 2
3Updated original patch for python 2.7.3
4
5Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
62012/05/01
7
8
9# when compiling for an embedded system, we need every bit of 3# when compiling for an embedded system, we need every bit of
10# performance we can get. default to optimized with the option 4# performance we can get. default to optimized with the option
11# of opt-out. 5# of opt-out.
12# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> 6# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de>
13 7
14Index: Python-3.2.3/Python/compile.c 8
92012/05/01
10Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
11
12Rebased for 3.4.2 02/2015
13Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
14
15Index: Python-3.4.2/Python/compile.c
15=================================================================== 16===================================================================
16--- Python-3.2.3.orig/Python/compile.c 2012-04-10 23:54:08.000000000 -0700 17--- Python-3.4.2.orig/Python/compile.c
17+++ Python-3.2.3/Python/compile.c 2012-09-19 15:58:46.649123998 -0700 18+++ Python-3.4.2/Python/compile.c
18@@ -30,7 +30,7 @@ 19@@ -30,7 +30,7 @@
19 #include "symtable.h" 20 #include "symtable.h"
20 #include "opcode.h" 21 #include "opcode.h"
@@ -24,28 +25,28 @@ Index: Python-3.2.3/Python/compile.c
24 25
25 #define DEFAULT_BLOCK_SIZE 16 26 #define DEFAULT_BLOCK_SIZE 16
26 #define DEFAULT_BLOCKS 8 27 #define DEFAULT_BLOCKS 8
27Index: Python-3.2.3/Modules/main.c 28Index: Python-3.4.2/Modules/main.c
28=================================================================== 29===================================================================
29--- Python-3.2.3.orig/Modules/main.c 2012-04-10 23:54:07.000000000 -0700 30--- Python-3.4.2.orig/Modules/main.c
30+++ Python-3.2.3/Modules/main.c 2012-09-19 16:00:32.153124053 -0700 31+++ Python-3.4.2/Modules/main.c
31@@ -46,7 +46,7 @@ 32@@ -38,7 +38,7 @@ static wchar_t **orig_argv;
32 static int orig_argc; 33 static int orig_argc;
33 34
34 /* command line options */ 35 /* command line options */
35-#define BASE_OPTS L"bBc:dEhiJm:OqRsStuvVW:xX:?" 36-#define BASE_OPTS L"bBc:dEhiIJm:OqRsStuvVW:xX:?"
36+#define BASE_OPTS L"bBc:dEhiJm:NOqRsStuvVW:xX:?" 37+#define BASE_OPTS L"bBc:dEhiIJm:NOqRsStuvVW:xX:?"
37 38
38 #define PROGRAM_OPTS BASE_OPTS 39 #define PROGRAM_OPTS BASE_OPTS
39 40
40@@ -71,6 +71,7 @@ 41@@ -64,6 +64,7 @@ static char *usage_2 = "\
41 -m mod : run library module as a script (terminates option list)\n\ 42 -m mod : run library module as a script (terminates option list)\n\
42 -O : optimize generated bytecode slightly; also PYTHONOPTIMIZE=x\n\ 43 -O : optimize generated bytecode slightly; also PYTHONOPTIMIZE=x\n\
43 -OO : remove doc-strings in addition to the -O optimizations\n\ 44 -OO : remove doc-strings in addition to the -O optimizations\n\
44+-N : do NOT optimize generated bytecode\n\ 45+-N : do NOT optimize generated bytecode\n\
45 -q : don't print version and copyright messages on interactive startup\n\ 46 -q : don't print version and copyright messages on interactive startup\n\
46 -R : use a pseudo-random salt to make hash() values of various types be\n\ 47 -s : don't add user site directory to sys.path; also PYTHONNOUSERSITE\n\
47 unpredictable between separate invocations of the interpreter, as\n\ 48 -S : don't imply 'import site' on initialization\n\
48@@ -407,8 +408,8 @@ 49@@ -418,8 +419,8 @@ Py_Main(int argc, wchar_t **argv)
49 50
50 /* case 'J': reserved for Jython */ 51 /* case 'J': reserved for Jython */
51 52
diff --git a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
index c5846a5af8..bf02df2025 100644
--- a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
+++ b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
@@ -1,15 +1,18 @@
1Upstream-Status: Inappropriate [embedded specific] 1Upstream-Status: Inappropriate [embedded specific]
2 2
302/2015 Rebased for Python 3.4.2
4
3# The proper prefix is inside our staging area. 5# The proper prefix is inside our staging area.
4# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> 6# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de>
5# Signed-off-by: Phil Blundell <philb@gnu.org> 7# Signed-off-by: Phil Blundell <philb@gnu.org>
6# Signed-off-by: Khem Raj <raj.khem@gmail.com> 8# Signed-off-by: Khem Raj <raj.khem@gmail.com>
9# Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
7 10
8Index: Python-3.3.2/Lib/distutils/sysconfig.py 11Index: Python-3.4.2/Lib/distutils/sysconfig.py
9=================================================================== 12===================================================================
10--- Python-3.3.2.orig/Lib/distutils/sysconfig.py 2013-07-30 00:00:52.769749805 -0700 13--- Python-3.4.2.orig/Lib/distutils/sysconfig.py
11+++ Python-3.3.2/Lib/distutils/sysconfig.py 2013-07-30 00:16:22.545767248 -0700 14+++ Python-3.4.2/Lib/distutils/sysconfig.py
12@@ -16,10 +16,11 @@ 15@@ -16,10 +16,11 @@ import sys
13 from .errors import DistutilsPlatformError 16 from .errors import DistutilsPlatformError
14 17
15 # These are needed in a couple of spots, so just compute them once. 18 # These are needed in a couple of spots, so just compute them once.
@@ -25,7 +28,7 @@ Index: Python-3.3.2/Lib/distutils/sysconfig.py
25 28
26 # Path to the base directory of the project. On Windows the binary may 29 # Path to the base directory of the project. On Windows the binary may
27 # live in project/PCBuild9. If we're dealing with an x64 Windows build, 30 # live in project/PCBuild9. If we're dealing with an x64 Windows build,
28@@ -93,7 +94,9 @@ 31@@ -93,7 +94,9 @@ def get_python_inc(plat_specific=0, pref
29 If 'prefix' is supplied, use it instead of sys.base_prefix or 32 If 'prefix' is supplied, use it instead of sys.base_prefix or
30 sys.base_exec_prefix -- i.e., ignore 'plat_specific'. 33 sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
31 """ 34 """
@@ -36,7 +39,7 @@ Index: Python-3.3.2/Lib/distutils/sysconfig.py
36 prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX 39 prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
37 if os.name == "posix": 40 if os.name == "posix":
38 if python_build: 41 if python_build:
39@@ -136,6 +139,12 @@ 42@@ -134,6 +137,12 @@ def get_python_lib(plat_specific=0, stan
40 If 'prefix' is supplied, use it instead of sys.base_prefix or 43 If 'prefix' is supplied, use it instead of sys.base_prefix or
41 sys.base_exec_prefix -- i.e., ignore 'plat_specific'. 44 sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
42 """ 45 """
@@ -49,7 +52,7 @@ Index: Python-3.3.2/Lib/distutils/sysconfig.py
49 if prefix is None: 52 if prefix is None:
50 if standard_lib: 53 if standard_lib:
51 prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX 54 prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
52@@ -144,7 +153,7 @@ 55@@ -142,7 +151,7 @@ def get_python_lib(plat_specific=0, stan
53 56
54 if os.name == "posix": 57 if os.name == "posix":
55 libpython = os.path.join(prefix, 58 libpython = os.path.join(prefix,
@@ -58,16 +61,16 @@ Index: Python-3.3.2/Lib/distutils/sysconfig.py
58 if standard_lib: 61 if standard_lib:
59 return libpython 62 return libpython
60 else: 63 else:
61@@ -249,7 +258,7 @@ 64@@ -242,7 +251,7 @@ def get_config_h_filename():
62 else: 65 else:
63 # The name of the config.h file changed in 2.2 66 inc_dir = get_python_inc(plat_specific=1)
64 config_h = 'pyconfig.h' 67
65- return os.path.join(inc_dir, config_h) 68- return os.path.join(inc_dir, 'pyconfig.h')
66+ return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) 69+ return os.path.join(inc_dir, 'pyconfig.h'.replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ))
67 70
68 71
69 def get_makefile_filename(): 72 def get_makefile_filename():
70@@ -258,7 +267,7 @@ 73@@ -251,7 +260,7 @@ def get_makefile_filename():
71 return os.path.join(_sys_home or project_base, "Makefile") 74 return os.path.join(_sys_home or project_base, "Makefile")
72 lib_dir = get_python_lib(plat_specific=0, standard_lib=1) 75 lib_dir = get_python_lib(plat_specific=0, standard_lib=1)
73 config_file = 'config-{}{}'.format(get_python_version(), build_flags) 76 config_file = 'config-{}{}'.format(get_python_version(), build_flags)
diff --git a/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch b/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch
index 054a13124c..f29ae53371 100644
--- a/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch
+++ b/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch
@@ -1,29 +1,21 @@
1Upstream-Status: Pending
2
1We should make sure that sysroot is used by gcc instead of assuming 3We should make sure that sysroot is used by gcc instead of assuming
2hardcoded locations for include paths 4hardcoded locations for include paths
3 5
4Upstream-Status: Pending
5 6
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
7: 8
8Index: Python-3.3.3/configure.ac 9Index: Python-3.4.2/configure.ac
9=================================================================== 10===================================================================
10--- Python-3.3.3.orig/configure.ac 2014-01-29 19:00:15.245312752 -0800 11--- Python-3.4.2.orig/configure.ac
11+++ Python-3.3.3/configure.ac 2014-01-29 23:27:22.938526262 -0800 12+++ Python-3.4.2/configure.ac
12@@ -1548,7 +1548,7 @@ 13@@ -4434,7 +4434,7 @@ fi
13 # checks for header files
14 AC_HEADER_STDC
15 ac_save_cppflags="$CPPFLAGS"
16-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
17+CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw"
18 AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
19 fcntl.h grp.h \
20 ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \
21@@ -4308,7 +4308,7 @@
22 fi
23 14
15 # first curses header check
24 ac_save_cppflags="$CPPFLAGS" 16 ac_save_cppflags="$CPPFLAGS"
25-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" 17-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
26+CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw" 18+CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw"
27 # On HP/UX 11.0, mvwdelch is a block with a return statement 19
28 AC_MSG_CHECKING(whether mvwdelch is an expression) 20 AC_CHECK_HEADERS(curses.h ncurses.h)
29 AC_CACHE_VAL(ac_cv_mvwdelch_is_expression, 21
diff --git a/meta/recipes-devtools/python/python3/python-3.3-multilib.patch b/meta/recipes-devtools/python/python3/python-3.3-multilib.patch
index 7d66a0e00d..b3e986089e 100644
--- a/meta/recipes-devtools/python/python3/python-3.3-multilib.patch
+++ b/meta/recipes-devtools/python/python3/python-3.3-multilib.patch
@@ -1,14 +1,17 @@
1Upstream-Status: Pending
2
1get the sys.lib from python itself and do not use hardcoded value of 'lib' 3get the sys.lib from python itself and do not use hardcoded value of 'lib'
2 4
3-Khem 502/2015 Rebased for 3.4.2
4 6
5Upstream-Status: Pending 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
6 9
7Index: Python-3.3.2/Include/pythonrun.h 10Index: Python-3.4.2/Include/pythonrun.h
8=================================================================== 11===================================================================
9--- Python-3.3.2.orig/Include/pythonrun.h 2013-05-15 09:32:54.000000000 -0700 12--- Python-3.4.2.orig/Include/pythonrun.h
10+++ Python-3.3.2/Include/pythonrun.h 2013-07-27 16:19:54.099877246 -0700 13+++ Python-3.4.2/Include/pythonrun.h
11@@ -181,6 +181,8 @@ 14@@ -220,6 +220,8 @@ int _Py_CheckPython3();
12 /* In their own files */ 15 /* In their own files */
13 PyAPI_FUNC(const char *) Py_GetVersion(void); 16 PyAPI_FUNC(const char *) Py_GetVersion(void);
14 PyAPI_FUNC(const char *) Py_GetPlatform(void); 17 PyAPI_FUNC(const char *) Py_GetPlatform(void);
@@ -17,20 +20,20 @@ Index: Python-3.3.2/Include/pythonrun.h
17 PyAPI_FUNC(const char *) Py_GetCopyright(void); 20 PyAPI_FUNC(const char *) Py_GetCopyright(void);
18 PyAPI_FUNC(const char *) Py_GetCompiler(void); 21 PyAPI_FUNC(const char *) Py_GetCompiler(void);
19 PyAPI_FUNC(const char *) Py_GetBuildInfo(void); 22 PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
20Index: Python-3.3.2/Lib/distutils/command/install.py 23Index: Python-3.4.2/Lib/distutils/command/install.py
21=================================================================== 24===================================================================
22--- Python-3.3.2.orig/Lib/distutils/command/install.py 2013-05-15 09:32:54.000000000 -0700 25--- Python-3.4.2.orig/Lib/distutils/command/install.py
23+++ Python-3.3.2/Lib/distutils/command/install.py 2013-07-27 16:19:54.099877246 -0700 26+++ Python-3.4.2/Lib/distutils/command/install.py
24@@ -25,6 +25,8 @@ 27@@ -19,6 +19,8 @@ from site import USER_BASE
25 from site import USER_SITE 28 from site import USER_SITE
26 HAS_USER_SITE = True 29 HAS_USER_SITE = True
27 30
28+libname = sys.lib 31+libname = sys.lib
29+ 32+
30 if sys.version < "2.2": 33 WINDOWS_SCHEME = {
31 WINDOWS_SCHEME = { 34 'purelib': '$base/Lib/site-packages',
32 'purelib': '$base', 35 'platlib': '$base/Lib/site-packages',
33@@ -45,7 +47,7 @@ 36@@ -30,7 +32,7 @@ WINDOWS_SCHEME = {
34 INSTALL_SCHEMES = { 37 INSTALL_SCHEMES = {
35 'unix_prefix': { 38 'unix_prefix': {
36 'purelib': '$base/lib/python$py_version_short/site-packages', 39 'purelib': '$base/lib/python$py_version_short/site-packages',
@@ -39,11 +42,11 @@ Index: Python-3.3.2/Lib/distutils/command/install.py
39 'headers': '$base/include/python$py_version_short$abiflags/$dist_name', 42 'headers': '$base/include/python$py_version_short$abiflags/$dist_name',
40 'scripts': '$base/bin', 43 'scripts': '$base/bin',
41 'data' : '$base', 44 'data' : '$base',
42Index: Python-3.3.2/Lib/pydoc.py 45Index: Python-3.4.2/Lib/pydoc.py
43=================================================================== 46===================================================================
44--- Python-3.3.2.orig/Lib/pydoc.py 2013-05-15 09:32:55.000000000 -0700 47--- Python-3.4.2.orig/Lib/pydoc.py
45+++ Python-3.3.2/Lib/pydoc.py 2013-07-27 16:19:54.103877246 -0700 48+++ Python-3.4.2/Lib/pydoc.py
46@@ -372,7 +372,7 @@ 49@@ -394,7 +394,7 @@ class Doc:
47 50
48 docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS) 51 docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS)
49 52
@@ -52,38 +55,11 @@ Index: Python-3.3.2/Lib/pydoc.py
52 "python%d.%d" % sys.version_info[:2]) 55 "python%d.%d" % sys.version_info[:2])
53 if (isinstance(object, type(os)) and 56 if (isinstance(object, type(os)) and
54 (object.__name__ in ('errno', 'exceptions', 'gc', 'imp', 57 (object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
55Index: Python-3.3.2/Lib/site.py 58Index: Python-3.4.2/Lib/trace.py
56===================================================================
57--- Python-3.3.2.orig/Lib/site.py 2013-05-15 09:32:55.000000000 -0700
58+++ Python-3.3.2/Lib/site.py 2013-07-27 16:19:54.103877246 -0700
59@@ -303,13 +303,19 @@
60 if sys.platform in ('os2emx', 'riscos'):
61 sitepackages.append(os.path.join(prefix, "Lib", "site-packages"))
62 elif os.sep == '/':
63- sitepackages.append(os.path.join(prefix, "lib",
64+ sitepackages.append(os.path.join(prefix, sys.lib,
65 "python" + sys.version[:3],
66 "site-packages"))
67- sitepackages.append(os.path.join(prefix, "lib", "site-python"))
68+ if sys.lib != "lib":
69+ sitepackages.append(os.path.join(prefix, "lib",
70+ "python" + sys.version[:3],
71+ "site-packages"))
72+ sitepackages.append(os.path.join(prefix, sys.lib, "site-python"))
73+ if sys.lib != "lib":
74+ sitepackages.append(os.path.join(prefix, "lib", "site-python"))
75 else:
76 sitepackages.append(prefix)
77- sitepackages.append(os.path.join(prefix, "lib", "site-packages"))
78+ sitepackages.append(os.path.join(prefix, sys.lib, "site-packages"))
79 if sys.platform == "darwin":
80 # for framework builds *only* we add the standard Apple
81 # locations.
82Index: Python-3.3.2/Lib/trace.py
83=================================================================== 59===================================================================
84--- Python-3.3.2.orig/Lib/trace.py 2013-05-15 09:32:56.000000000 -0700 60--- Python-3.4.2.orig/Lib/trace.py
85+++ Python-3.3.2/Lib/trace.py 2013-07-27 16:19:54.103877246 -0700 61+++ Python-3.4.2/Lib/trace.py
86@@ -751,10 +751,10 @@ 62@@ -751,10 +751,10 @@ def main(argv=None):
87 # should I also call expanduser? (after all, could use $HOME) 63 # should I also call expanduser? (after all, could use $HOME)
88 64
89 s = s.replace("$prefix", 65 s = s.replace("$prefix",
@@ -96,11 +72,11 @@ Index: Python-3.3.2/Lib/trace.py
96 "python" + sys.version[:3])) 72 "python" + sys.version[:3]))
97 s = os.path.normpath(s) 73 s = os.path.normpath(s)
98 ignore_dirs.append(s) 74 ignore_dirs.append(s)
99Index: Python-3.3.2/Makefile.pre.in 75Index: Python-3.4.2/Makefile.pre.in
100=================================================================== 76===================================================================
101--- Python-3.3.2.orig/Makefile.pre.in 2013-07-27 16:19:16.000000000 -0700 77--- Python-3.4.2.orig/Makefile.pre.in
102+++ Python-3.3.2/Makefile.pre.in 2013-07-27 16:19:54.103877246 -0700 78+++ Python-3.4.2/Makefile.pre.in
103@@ -96,6 +96,8 @@ 79@@ -101,6 +101,8 @@ PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS
104 80
105 # Machine-dependent subdirectories 81 # Machine-dependent subdirectories
106 MACHDEP= @MACHDEP@ 82 MACHDEP= @MACHDEP@
@@ -109,7 +85,7 @@ Index: Python-3.3.2/Makefile.pre.in
109 85
110 # Multiarch directory (may be empty) 86 # Multiarch directory (may be empty)
111 MULTIARCH= @MULTIARCH@ 87 MULTIARCH= @MULTIARCH@
112@@ -115,7 +117,7 @@ 88@@ -120,7 +122,7 @@ LIBDIR= @libdir@
113 MANDIR= @mandir@ 89 MANDIR= @mandir@
114 INCLUDEDIR= @includedir@ 90 INCLUDEDIR= @includedir@
115 CONFINCLUDEDIR= $(exec_prefix)/include 91 CONFINCLUDEDIR= $(exec_prefix)/include
@@ -118,7 +94,7 @@ Index: Python-3.3.2/Makefile.pre.in
118 ABIFLAGS= @ABIFLAGS@ 94 ABIFLAGS= @ABIFLAGS@
119 95
120 # Detailed destination directories 96 # Detailed destination directories
121@@ -635,6 +637,7 @@ 97@@ -712,6 +714,7 @@ Modules/getpath.o: $(srcdir)/Modules/get
122 -DEXEC_PREFIX='"$(exec_prefix)"' \ 98 -DEXEC_PREFIX='"$(exec_prefix)"' \
123 -DVERSION='"$(VERSION)"' \ 99 -DVERSION='"$(VERSION)"' \
124 -DVPATH='"$(VPATH)"' \ 100 -DVPATH='"$(VPATH)"' \
@@ -126,7 +102,7 @@ Index: Python-3.3.2/Makefile.pre.in
126 -o $@ $(srcdir)/Modules/getpath.c 102 -o $@ $(srcdir)/Modules/getpath.c
127 103
128 Modules/python.o: $(srcdir)/Modules/python.c 104 Modules/python.o: $(srcdir)/Modules/python.c
129@@ -701,7 +704,7 @@ 105@@ -780,7 +783,7 @@ $(AST_C): $(AST_H) $(AST_ASDL) $(ASDLGEN
130 Python/compile.o Python/symtable.o Python/ast.o: $(GRAMMAR_H) $(AST_H) 106 Python/compile.o Python/symtable.o Python/ast.o: $(GRAMMAR_H) $(AST_H)
131 107
132 Python/getplatform.o: $(srcdir)/Python/getplatform.c 108 Python/getplatform.o: $(srcdir)/Python/getplatform.c
@@ -135,11 +111,11 @@ Index: Python-3.3.2/Makefile.pre.in
135 111
136 Python/importdl.o: $(srcdir)/Python/importdl.c 112 Python/importdl.o: $(srcdir)/Python/importdl.c
137 $(CC) -c $(PY_CORE_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c 113 $(CC) -c $(PY_CORE_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
138Index: Python-3.3.2/Modules/getpath.c 114Index: Python-3.4.2/Modules/getpath.c
139=================================================================== 115===================================================================
140--- Python-3.3.2.orig/Modules/getpath.c 2013-05-15 09:32:59.000000000 -0700 116--- Python-3.4.2.orig/Modules/getpath.c
141+++ Python-3.3.2/Modules/getpath.c 2013-07-27 16:19:54.107877246 -0700 117+++ Python-3.4.2/Modules/getpath.c
142@@ -121,9 +121,11 @@ 118@@ -117,9 +117,11 @@
143 #define EXEC_PREFIX PREFIX 119 #define EXEC_PREFIX PREFIX
144 #endif 120 #endif
145 121
@@ -153,20 +129,19 @@ Index: Python-3.3.2/Modules/getpath.c
153 #endif 129 #endif
154 130
155 #ifndef LANDMARK 131 #ifndef LANDMARK
156@@ -135,7 +137,7 @@ 132@@ -130,6 +132,7 @@ static wchar_t prefix[MAXPATHLEN+1];
133 static wchar_t exec_prefix[MAXPATHLEN+1];
157 static wchar_t progpath[MAXPATHLEN+1]; 134 static wchar_t progpath[MAXPATHLEN+1];
158 static wchar_t *module_search_path = NULL; 135 static wchar_t *module_search_path = NULL;
159 static int module_search_path_malloced = 0;
160-static wchar_t *lib_python = L"lib/python" VERSION;
161+static wchar_t *lib_python = L"" LIB_PYTHON; 136+static wchar_t *lib_python = L"" LIB_PYTHON;
162 137
163 static void 138 static void
164 reduce(wchar_t *dir) 139 reduce(wchar_t *dir)
165Index: Python-3.3.2/Python/getplatform.c 140Index: Python-3.4.2/Python/getplatform.c
166=================================================================== 141===================================================================
167--- Python-3.3.2.orig/Python/getplatform.c 2013-05-15 09:33:00.000000000 -0700 142--- Python-3.4.2.orig/Python/getplatform.c
168+++ Python-3.3.2/Python/getplatform.c 2013-07-27 16:19:54.107877246 -0700 143+++ Python-3.4.2/Python/getplatform.c
169@@ -10,3 +10,23 @@ 144@@ -10,3 +10,23 @@ Py_GetPlatform(void)
170 { 145 {
171 return PLATFORM; 146 return PLATFORM;
172 } 147 }
@@ -190,11 +165,11 @@ Index: Python-3.3.2/Python/getplatform.c
190+{ 165+{
191+ return LIB; 166+ return LIB;
192+} 167+}
193Index: Python-3.3.2/Python/sysmodule.c 168Index: Python-3.4.2/Python/sysmodule.c
194=================================================================== 169===================================================================
195--- Python-3.3.2.orig/Python/sysmodule.c 2013-05-15 09:33:00.000000000 -0700 170--- Python-3.4.2.orig/Python/sysmodule.c
196+++ Python-3.3.2/Python/sysmodule.c 2013-07-27 16:19:54.107877246 -0700 171+++ Python-3.4.2/Python/sysmodule.c
197@@ -1612,6 +1612,10 @@ 172@@ -1697,6 +1697,10 @@ _PySys_Init(void)
198 PyUnicode_FromString(Py_GetCopyright())); 173 PyUnicode_FromString(Py_GetCopyright()));
199 SET_SYS_FROM_STRING("platform", 174 SET_SYS_FROM_STRING("platform",
200 PyUnicode_FromString(Py_GetPlatform())); 175 PyUnicode_FromString(Py_GetPlatform()));
@@ -205,11 +180,11 @@ Index: Python-3.3.2/Python/sysmodule.c
205 SET_SYS_FROM_STRING("executable", 180 SET_SYS_FROM_STRING("executable",
206 PyUnicode_FromWideChar( 181 PyUnicode_FromWideChar(
207 Py_GetProgramFullPath(), -1)); 182 Py_GetProgramFullPath(), -1));
208Index: Python-3.3.2/setup.py 183Index: Python-3.4.2/setup.py
209=================================================================== 184===================================================================
210--- Python-3.3.2.orig/setup.py 2013-07-27 16:19:17.000000000 -0700 185--- Python-3.4.2.orig/setup.py
211+++ Python-3.3.2/setup.py 2013-07-27 16:19:54.107877246 -0700 186+++ Python-3.4.2/setup.py
212@@ -439,7 +439,7 @@ 187@@ -454,7 +454,7 @@ class PyBuildExt(build_ext):
213 # directories (i.e. '.' and 'Include') must be first. See issue 188 # directories (i.e. '.' and 'Include') must be first. See issue
214 # 10520. 189 # 10520.
215 if not cross_compiling: 190 if not cross_compiling:
@@ -218,7 +193,7 @@ Index: Python-3.3.2/setup.py
218 add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') 193 add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
219 # only change this for cross builds for 3.3, issues on Mageia 194 # only change this for cross builds for 3.3, issues on Mageia
220 if cross_compiling: 195 if cross_compiling:
221@@ -497,8 +497,7 @@ 196@@ -512,8 +512,7 @@ class PyBuildExt(build_ext):
222 # be assumed that no additional -I,-L directives are needed. 197 # be assumed that no additional -I,-L directives are needed.
223 if not cross_compiling: 198 if not cross_compiling:
224 lib_dirs = self.compiler.library_dirs + [ 199 lib_dirs = self.compiler.library_dirs + [
@@ -228,7 +203,7 @@ Index: Python-3.3.2/setup.py
228 ] 203 ]
229 inc_dirs = self.compiler.include_dirs + ['/usr/include'] 204 inc_dirs = self.compiler.include_dirs + ['/usr/include']
230 else: 205 else:
231@@ -675,11 +674,11 @@ 206@@ -696,11 +695,11 @@ class PyBuildExt(build_ext):
232 elif curses_library: 207 elif curses_library:
233 readline_libs.append(curses_library) 208 readline_libs.append(curses_library)
234 elif self.compiler.find_library_file(lib_dirs + 209 elif self.compiler.find_library_file(lib_dirs +
@@ -242,11 +217,11 @@ Index: Python-3.3.2/setup.py
242 extra_link_args=readline_extra_link_args, 217 extra_link_args=readline_extra_link_args,
243 libraries=readline_libs) ) 218 libraries=readline_libs) )
244 else: 219 else:
245Index: Python-3.3.2/Lib/sysconfig.py 220Index: Python-3.4.2/Lib/sysconfig.py
246=================================================================== 221===================================================================
247--- Python-3.3.2.orig/Lib/sysconfig.py 2013-05-15 09:32:55.000000000 -0700 222--- Python-3.4.2.orig/Lib/sysconfig.py
248+++ Python-3.3.2/Lib/sysconfig.py 2013-07-27 16:19:54.111877246 -0700 223+++ Python-3.4.2/Lib/sysconfig.py
249@@ -21,10 +21,10 @@ 224@@ -20,10 +20,10 @@ __all__ = [
250 225
251 _INSTALL_SCHEMES = { 226 _INSTALL_SCHEMES = {
252 'posix_prefix': { 227 'posix_prefix': {
@@ -260,7 +235,7 @@ Index: Python-3.3.2/Lib/sysconfig.py
260 'include': 235 'include':
261 '{installed_base}/include/python{py_version_short}{abiflags}', 236 '{installed_base}/include/python{py_version_short}{abiflags}',
262 'platinclude': 237 'platinclude':
263@@ -33,10 +33,10 @@ 238@@ -32,10 +32,10 @@ _INSTALL_SCHEMES = {
264 'data': '{base}', 239 'data': '{base}',
265 }, 240 },
266 'posix_home': { 241 'posix_home': {
@@ -274,7 +249,7 @@ Index: Python-3.3.2/Lib/sysconfig.py
274 'include': '{installed_base}/include/python', 249 'include': '{installed_base}/include/python',
275 'platinclude': '{installed_base}/include/python', 250 'platinclude': '{installed_base}/include/python',
276 'scripts': '{base}/bin', 251 'scripts': '{base}/bin',
277@@ -81,10 +81,10 @@ 252@@ -61,10 +61,10 @@ _INSTALL_SCHEMES = {
278 'data': '{userbase}', 253 'data': '{userbase}',
279 }, 254 },
280 'posix_user': { 255 'posix_user': {
@@ -288,11 +263,11 @@ Index: Python-3.3.2/Lib/sysconfig.py
288 'include': '{userbase}/include/python{py_version_short}', 263 'include': '{userbase}/include/python{py_version_short}',
289 'scripts': '{userbase}/bin', 264 'scripts': '{userbase}/bin',
290 'data': '{userbase}', 265 'data': '{userbase}',
291Index: Python-3.3.2/configure.ac 266Index: Python-3.4.2/configure.ac
292=================================================================== 267===================================================================
293--- Python-3.3.2.orig/configure.ac 2013-05-15 09:33:00.000000000 -0700 268--- Python-3.4.2.orig/configure.ac
294+++ Python-3.3.2/configure.ac 2013-07-27 16:19:54.111877246 -0700 269+++ Python-3.4.2/configure.ac
295@@ -769,6 +769,41 @@ 270@@ -791,6 +791,41 @@ esac
296 MULTIARCH=$($CC --print-multiarch 2>/dev/null) 271 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
297 AC_SUBST(MULTIARCH) 272 AC_SUBST(MULTIARCH)
298 273
@@ -334,3 +309,30 @@ Index: Python-3.3.2/configure.ac
334 309
335 AC_SUBST(LIBRARY) 310 AC_SUBST(LIBRARY)
336 AC_MSG_CHECKING(LIBRARY) 311 AC_MSG_CHECKING(LIBRARY)
312Index: Python-3.4.2/Lib/site.py
313===================================================================
314--- Python-3.4.2.orig/Lib/site.py
315+++ Python-3.4.2/Lib/site.py
316@@ -304,13 +304,19 @@ def getsitepackages(prefixes=None):
317 seen.add(prefix)
318
319 if os.sep == '/':
320- sitepackages.append(os.path.join(prefix, "lib",
321+ sitepackages.append(os.path.join(prefix, sys.lib,
322 "python" + sys.version[:3],
323 "site-packages"))
324- sitepackages.append(os.path.join(prefix, "lib", "site-python"))
325+ if sys.lib != "lib":
326+ sitepackages.append(os.path.join(prefix, "lib",
327+ "python" + sys.version[:3],
328+ "site-packages"))
329+ sitepackages.append(os.path.join(prefix, sys.lib, "site-python"))
330+ if sys.lib != "lib":
331+ sitepackages.append(os.path.join(prefix, sys.lib, "site-python"))
332 else:
333 sitepackages.append(prefix)
334- sitepackages.append(os.path.join(prefix, "lib", "site-packages"))
335+ sitepackages.append(os.path.join(prefix, sys.lib, "site-packages"))
336 if sys.platform == "darwin":
337 # for framework builds *only* we add the standard Apple
338 # locations.
diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.4.2.bb
index 6147408937..8bd69ed282 100644
--- a/meta/recipes-devtools/python/python3_3.3.3.bb
+++ b/meta/recipes-devtools/python/python3_3.4.2.bb
@@ -2,11 +2,11 @@ require recipes-devtools/python/python.inc
2 2
3DEPENDS = "python3-native libffi bzip2 db gdbm openssl readline sqlite3 zlib virtual/libintl xz" 3DEPENDS = "python3-native libffi bzip2 db gdbm openssl readline sqlite3 zlib virtual/libintl xz"
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
5PYTHON_MAJMIN = "3.3" 5PYTHON_MAJMIN = "3.4"
6PYTHON_BINABI= "${PYTHON_MAJMIN}m" 6PYTHON_BINABI= "${PYTHON_MAJMIN}m"
7DISTRO_SRC_URI ?= "file://sitecustomize.py" 7DISTRO_SRC_URI ?= "file://sitecustomize.py"
8DISTRO_SRC_URI_linuxstdbase = "" 8DISTRO_SRC_URI_linuxstdbase = ""
9SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ 9SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
10file://12-distutils-prefix-is-inside-staging-area.patch \ 10file://12-distutils-prefix-is-inside-staging-area.patch \
11file://python-config.patch \ 11file://python-config.patch \
12file://000-cross-compile.patch \ 12file://000-cross-compile.patch \
@@ -18,18 +18,14 @@ file://110-enable-zlib.patch \
18file://130-readline-setup.patch \ 18file://130-readline-setup.patch \
19file://150-fix-setupterm.patch \ 19file://150-fix-setupterm.patch \
20file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \ 20file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
21file://fix-ast.h-dependency.patch \
22file://makerace.patch \ 21file://makerace.patch \
23${DISTRO_SRC_URI} \ 22${DISTRO_SRC_URI} \
24file://python3-fix-build-error-with-Readline-6.3.patch \
25" 23"
26 24
27SRC_URI += "\ 25SRC_URI += "\
28 file://03-fix-tkinter-detection.patch \ 26 file://03-fix-tkinter-detection.patch \
29 file://04-default-is-optimized.patch \ 27 file://04-default-is-optimized.patch \
30 file://avoid_warning_about_tkinter.patch \ 28 file://avoid_warning_about_tkinter.patch \
31 file://06-ctypes-libffi-fix-configure.patch \
32 file://remove_sqlite_rpath.patch \
33 file://cgi_py.patch \ 29 file://cgi_py.patch \
34 file://host_include_contamination.patch \ 30 file://host_include_contamination.patch \
35 file://python-3.3-multilib.patch \ 31 file://python-3.3-multilib.patch \
@@ -42,10 +38,10 @@ SRC_URI += "\
42 file://sysconfig.py-add-_PYTHON_PROJECT_SRC.patch \ 38 file://sysconfig.py-add-_PYTHON_PROJECT_SRC.patch \
43 file://setup.py-check-cross_compiling-when-get-FLAGS.patch \ 39 file://setup.py-check-cross_compiling-when-get-FLAGS.patch \
44 " 40 "
45SRC_URI[md5sum] = "f3ebe34d4d8695bf889279b54673e10c" 41SRC_URI[md5sum] = "36fc7327c02c6f12fa24fc9ba78039e3"
46SRC_URI[sha256sum] = "e526e9b612f623888364d30cc9f3dfc34dcef39065c713bdbcddf47df84d8dcb" 42SRC_URI[sha256sum] = "1c6d9682d145c056537e477bbfa060ce727f9edd38df1827e0f970dcf04b2def"
47 43
48LIC_FILES_CHKSUM = "file://LICENSE;md5=4eaea08eaaf6875189b0c49f26fa2005" 44LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
49 45
50S = "${WORKDIR}/Python-${PV}" 46S = "${WORKDIR}/Python-${PV}"
51 47
@@ -75,9 +71,9 @@ export _PYTHON_PROJECT_SRC = "${S}"
75# No ctypes option for python 3 71# No ctypes option for python 3
76PYTHONLSBOPTS = "" 72PYTHONLSBOPTS = ""
77 73
78do_configure_prepend() { 74do_configure_append() {
79 rm -f ${S}/Makefile.orig 75 rm -f ${S}/Makefile.orig
80 autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" 76 autoreconf -Wcross --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi
81} 77}
82 78
83do_compile() { 79do_compile() {
@@ -170,7 +166,7 @@ do_install() {
170 install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN} 166 install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
171 fi 167 fi
172 168
173 oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h 169 oe_multilib_header python${PYTHON_BINABI}/pyconfig.h
174} 170}
175 171
176do_install_append_class-nativesdk () { 172do_install_append_class-nativesdk () {
@@ -212,6 +208,7 @@ FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
212 208
213# catch all the rest (unsorted) 209# catch all the rest (unsorted)
214PACKAGES += "${PN}-misc" 210PACKAGES += "${PN}-misc"
211RDEPENDS_${PN}-misc += "${PN}-core"
215FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}" 212FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}"
216 213
217# catch manpage 214# catch manpage