diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-02-06 17:26:34 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-08 10:57:19 +0000 |
| commit | e2c3247c233876ab090c9ce3d5325a6d46ab350f (patch) | |
| tree | cf38957a3510be612cde924f6184a5251b968a43 /meta/recipes-devtools/python/python3/python3-manifest.json | |
| parent | cd6c61a26177296e24b442e2eda1514b5f931c0a (diff) | |
| download | poky-e2c3247c233876ab090c9ce3d5325a6d46ab350f.tar.gz | |
python3: upgrade to 3.7.2
I took the same approach as the recent perl upgrade: write recipe from scratch,
taking the pieces from the old recipe only when they were proven to be necessary.
The pgo, manifest and ptest features are all preserved.
New features:
- native and target recipes are now unified into one recipe
- check_build_completeness.py runs right after do_compile() and verifies that
all optional modules have been built (a notorious source of regressions)
- a new approach to sysconfig.py and distutils/sysconfig.py returning values
appropriate for native or target builds: we copy the configuration file to a
separate folder, add that folder to sys.path (through environment variable
that differs between native and target builds), and point python to the file
through another environment variable.
There were a few other patches where it was difficult to decide if the patch
is still relevant, and how to test that it works correctly; please add those
as-needed by testing the new python.
(From OE-Core rev: 02714c105426b0d687620913c1a7401b386428b6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/python3-manifest.json')
| -rw-r--r-- | meta/recipes-devtools/python/python3/python3-manifest.json | 56 |
1 files changed, 21 insertions, 35 deletions
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 3641d5bd7b..24f9805fbd 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json | |||
| @@ -109,7 +109,7 @@ | |||
| 109 | "core" | 109 | "core" |
| 110 | ], | 110 | ], |
| 111 | "files": [ | 111 | "files": [ |
| 112 | "${bindir}/2to3-*", | 112 | "${bindir}/2to3*", |
| 113 | "${libdir}/python${PYTHON_MAJMIN}/lib2to3" | 113 | "${libdir}/python${PYTHON_MAJMIN}/lib2to3" |
| 114 | ], | 114 | ], |
| 115 | "cached": [] | 115 | "cached": [] |
| @@ -117,24 +117,18 @@ | |||
| 117 | "asyncio": { | 117 | "asyncio": { |
| 118 | "summary": "Python Asynchronous I/", | 118 | "summary": "Python Asynchronous I/", |
| 119 | "rdepends": [ | 119 | "rdepends": [ |
| 120 | "compression", | ||
| 121 | "core", | 120 | "core", |
| 122 | "crypt", | ||
| 123 | "io", | 121 | "io", |
| 124 | "logging", | 122 | "logging", |
| 125 | "math", | ||
| 126 | "multiprocessing", | ||
| 127 | "netclient", | 123 | "netclient", |
| 128 | "pickle", | 124 | "numbers", |
| 129 | "shell", | 125 | "stringold" |
| 130 | "stringold", | ||
| 131 | "threading", | ||
| 132 | "unixadmin" | ||
| 133 | ], | 126 | ], |
| 134 | "files": [ | 127 | "files": [ |
| 135 | "${libdir}/python${PYTHON_MAJMIN}/asyncio", | 128 | "${libdir}/python${PYTHON_MAJMIN}/asyncio", |
| 136 | "${libdir}/python${PYTHON_MAJMIN}/concurrent", | 129 | "${libdir}/python${PYTHON_MAJMIN}/concurrent", |
| 137 | "${libdir}/python${PYTHON_MAJMIN}/concurrent/futures" | 130 | "${libdir}/python${PYTHON_MAJMIN}/concurrent/futures", |
| 131 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_asyncio.*.so" | ||
| 138 | ], | 132 | ], |
| 139 | "cached": [] | 133 | "cached": [] |
| 140 | }, | 134 | }, |
| @@ -174,19 +168,7 @@ | |||
| 174 | "compile": { | 168 | "compile": { |
| 175 | "summary": "Python bytecode compilation support", | 169 | "summary": "Python bytecode compilation support", |
| 176 | "rdepends": [ | 170 | "rdepends": [ |
| 177 | "asyncio", | 171 | "core" |
| 178 | "compression", | ||
| 179 | "core", | ||
| 180 | "crypt", | ||
| 181 | "io", | ||
| 182 | "logging", | ||
| 183 | "math", | ||
| 184 | "multiprocessing", | ||
| 185 | "pickle", | ||
| 186 | "shell", | ||
| 187 | "stringold", | ||
| 188 | "threading", | ||
| 189 | "unixadmin" | ||
| 190 | ], | 172 | ], |
| 191 | "files": [ | 173 | "files": [ |
| 192 | "${libdir}/python${PYTHON_MAJMIN}/compileall.py", | 174 | "${libdir}/python${PYTHON_MAJMIN}/compileall.py", |
| @@ -239,7 +221,7 @@ | |||
| 239 | "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.py", | 221 | "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.py", |
| 240 | "${libdir}/python${PYTHON_MAJMIN}/_markupbase.py", | 222 | "${libdir}/python${PYTHON_MAJMIN}/_markupbase.py", |
| 241 | "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py", | 223 | "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py", |
| 242 | "${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py", | 224 | "${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py", |
| 243 | "${libdir}/python${PYTHON_MAJMIN}/_weakrefset.py", | 225 | "${libdir}/python${PYTHON_MAJMIN}/_weakrefset.py", |
| 244 | "${libdir}/python${PYTHON_MAJMIN}/abc.py", | 226 | "${libdir}/python${PYTHON_MAJMIN}/abc.py", |
| 245 | "${libdir}/python${PYTHON_MAJMIN}/argparse.py", | 227 | "${libdir}/python${PYTHON_MAJMIN}/argparse.py", |
| @@ -413,9 +395,13 @@ | |||
| 413 | "files": [ | 395 | "files": [ |
| 414 | "${libdir}/python${PYTHON_MAJMIN}/crypt.py", | 396 | "${libdir}/python${PYTHON_MAJMIN}/crypt.py", |
| 415 | "${libdir}/python${PYTHON_MAJMIN}/hashlib.py", | 397 | "${libdir}/python${PYTHON_MAJMIN}/hashlib.py", |
| 398 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_blake2.*.so", | ||
| 416 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_crypt.*.so", | 399 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_crypt.*.so", |
| 417 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hashlib.*.so", | 400 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hashlib.*.so", |
| 418 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha256.*.so", | 401 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha256.*.so", |
| 402 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha3.*.so", | ||
| 403 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha1.*.so", | ||
| 404 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_md5.*.so", | ||
| 419 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha512.*.so" | 405 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha512.*.so" |
| 420 | ], | 406 | ], |
| 421 | "cached": [ | 407 | "cached": [ |
| @@ -506,8 +492,7 @@ | |||
| 506 | "${libdir}/*.o", | 492 | "${libdir}/*.o", |
| 507 | "${libdir}/lib*${SOLIBSDEV}", | 493 | "${libdir}/lib*${SOLIBSDEV}", |
| 508 | "${libdir}/pkgconfig", | 494 | "${libdir}/pkgconfig", |
| 509 | "${libdir}/python${PYTHON_MAJMIN}/config*/Makefile", | 495 | "${prefix}/lib/python${PYTHON_MAJMIN}/config*/" |
| 510 | "${libdir}/python${PYTHON_MAJMIN}/config*/Makefile/__pycache__" | ||
| 511 | ], | 496 | ], |
| 512 | "rdepends": [ | 497 | "rdepends": [ |
| 513 | "core" | 498 | "core" |
| @@ -820,7 +805,9 @@ | |||
| 820 | "multiprocessing": { | 805 | "multiprocessing": { |
| 821 | "summary": "Python multiprocessing support", | 806 | "summary": "Python multiprocessing support", |
| 822 | "rdepends": [ | 807 | "rdepends": [ |
| 823 | "core" | 808 | "core", |
| 809 | "io", | ||
| 810 | "pickle" | ||
| 824 | ], | 811 | ], |
| 825 | "files": [ | 812 | "files": [ |
| 826 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_multiprocessing.*.so", | 813 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_multiprocessing.*.so", |
| @@ -831,18 +818,14 @@ | |||
| 831 | "netclient": { | 818 | "netclient": { |
| 832 | "summary": "Python Internet Protocol clients", | 819 | "summary": "Python Internet Protocol clients", |
| 833 | "rdepends": [ | 820 | "rdepends": [ |
| 834 | "compression", | ||
| 835 | "core", | 821 | "core", |
| 836 | "crypt", | 822 | "crypt", |
| 837 | "ctypes", | ||
| 838 | "datetime", | 823 | "datetime", |
| 839 | "email", | 824 | "email", |
| 840 | "io", | 825 | "io", |
| 841 | "math", | 826 | "math", |
| 842 | "mime", | 827 | "mime", |
| 843 | "shell", | 828 | "stringold" |
| 844 | "stringold", | ||
| 845 | "unixadmin" | ||
| 846 | ], | 829 | ], |
| 847 | "files": [ | 830 | "files": [ |
| 848 | "${libdir}/python${PYTHON_MAJMIN}/base64.py", | 831 | "${libdir}/python${PYTHON_MAJMIN}/base64.py", |
| @@ -850,6 +833,7 @@ | |||
| 850 | "${libdir}/python${PYTHON_MAJMIN}/hmac.py", | 833 | "${libdir}/python${PYTHON_MAJMIN}/hmac.py", |
| 851 | "${libdir}/python${PYTHON_MAJMIN}/http", | 834 | "${libdir}/python${PYTHON_MAJMIN}/http", |
| 852 | "${libdir}/python${PYTHON_MAJMIN}/http/__pycache__", | 835 | "${libdir}/python${PYTHON_MAJMIN}/http/__pycache__", |
| 836 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_uuid.*.so", | ||
| 853 | "${libdir}/python${PYTHON_MAJMIN}/mimetypes.py", | 837 | "${libdir}/python${PYTHON_MAJMIN}/mimetypes.py", |
| 854 | "${libdir}/python${PYTHON_MAJMIN}/nntplib.py", | 838 | "${libdir}/python${PYTHON_MAJMIN}/nntplib.py", |
| 855 | "${libdir}/python${PYTHON_MAJMIN}/poplib.py", | 839 | "${libdir}/python${PYTHON_MAJMIN}/poplib.py", |
| @@ -904,13 +888,16 @@ | |||
| 904 | ], | 888 | ], |
| 905 | "files": [ | 889 | "files": [ |
| 906 | "${libdir}/python${PYTHON_MAJMIN}/_pydecimal.py", | 890 | "${libdir}/python${PYTHON_MAJMIN}/_pydecimal.py", |
| 891 | "${libdir}/python${PYTHON_MAJMIN}/contextvars.py", | ||
| 907 | "${libdir}/python${PYTHON_MAJMIN}/decimal.py", | 892 | "${libdir}/python${PYTHON_MAJMIN}/decimal.py", |
| 908 | "${libdir}/python${PYTHON_MAJMIN}/fractions.py", | 893 | "${libdir}/python${PYTHON_MAJMIN}/fractions.py", |
| 894 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_contextvars.*.so", | ||
| 909 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_decimal.*.so", | 895 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_decimal.*.so", |
| 910 | "${libdir}/python${PYTHON_MAJMIN}/numbers.py" | 896 | "${libdir}/python${PYTHON_MAJMIN}/numbers.py" |
| 911 | ], | 897 | ], |
| 912 | "cached": [ | 898 | "cached": [ |
| 913 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_pydecimal.*.pyc", | 899 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_pydecimal.*.pyc", |
| 900 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/contextvars.*.pyc", | ||
| 914 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/decimal.*.pyc", | 901 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/decimal.*.pyc", |
| 915 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/fractions.*.pyc", | 902 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/fractions.*.pyc", |
| 916 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/numbers.*.pyc" | 903 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/numbers.*.pyc" |
| @@ -1134,13 +1121,12 @@ | |||
| 1134 | "files": [ | 1121 | "files": [ |
| 1135 | "${libdir}/python${PYTHON_MAJMIN}/_dummy_thread.py", | 1122 | "${libdir}/python${PYTHON_MAJMIN}/_dummy_thread.py", |
| 1136 | "${libdir}/python${PYTHON_MAJMIN}/_threading_local.py", | 1123 | "${libdir}/python${PYTHON_MAJMIN}/_threading_local.py", |
| 1137 | "${libdir}/python${PYTHON_MAJMIN}/dummy_threading.py", | 1124 | "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_queue.*.so", |
| 1138 | "${libdir}/python${PYTHON_MAJMIN}/queue.py" | 1125 | "${libdir}/python${PYTHON_MAJMIN}/queue.py" |
| 1139 | ], | 1126 | ], |
| 1140 | "cached": [ | 1127 | "cached": [ |
| 1141 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_dummy_thread.*.pyc", | 1128 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_dummy_thread.*.pyc", |
| 1142 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_threading_local.*.pyc", | 1129 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_threading_local.*.pyc", |
| 1143 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/dummy_threading.*.pyc", | ||
| 1144 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/queue.*.pyc" | 1130 | "${libdir}/python${PYTHON_MAJMIN}/__pycache__/queue.*.pyc" |
| 1145 | ] | 1131 | ] |
| 1146 | }, | 1132 | }, |
