diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 16:10:06 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:51 +0000 |
commit | 8aa71adf4932b4a7e62c1d66c3de25faa3db23c2 (patch) | |
tree | 5808b74301a7ea4de136134f88ba352713676ab6 /scripts/contrib | |
parent | 69a910d2e7e440760d02e22f8fce90ee87e15d1d (diff) | |
download | poky-8aa71adf4932b4a7e62c1d66c3de25faa3db23c2.tar.gz |
python-*-manifest/generators: add runpy; python3-plistlib
* runpy allows running modules/scripts with 'python -m foo'
* python3-setuptools RDEPENDS on plistlib (present in python2)
* pip3 RDEPENDS on _markupbase (add to python3-core)
(From OE-Core rev: d95f1005c35bd9c7e22c40c7c17d264fe9435c6b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-x | scripts/contrib/python/generate-manifest-2.7.py | 3 | ||||
-rwxr-xr-x | scripts/contrib/python/generate-manifest-3.5.py | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py index 2491bd0bc4..ee7540399f 100755 --- a/scripts/contrib/python/generate-manifest-2.7.py +++ b/scripts/contrib/python/generate-manifest-2.7.py | |||
@@ -368,6 +368,9 @@ if __name__ == "__main__": | |||
368 | m.addPackage( "${PN}-robotparser", "Python robots.txt parser", "${PN}-core ${PN}-netclient", | 368 | m.addPackage( "${PN}-robotparser", "Python robots.txt parser", "${PN}-core ${PN}-netclient", |
369 | "robotparser.*") | 369 | "robotparser.*") |
370 | 370 | ||
371 | m.addPackage( "${PN}-runpy", "Python script for locating/executing scripts in module namespace", "${PN}-core ${PN}-pkgutil", | ||
372 | "runpy.*") | ||
373 | |||
371 | m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle", | 374 | m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle", |
372 | "subprocess.*" ) | 375 | "subprocess.*" ) |
373 | 376 | ||
diff --git a/scripts/contrib/python/generate-manifest-3.5.py b/scripts/contrib/python/generate-manifest-3.5.py index 33779cffab..7dfae46992 100755 --- a/scripts/contrib/python/generate-manifest-3.5.py +++ b/scripts/contrib/python/generate-manifest-3.5.py | |||
@@ -213,6 +213,7 @@ if __name__ == "__main__": | |||
213 | "${includedir}/python${PYTHON_BINABI}/pyconfig*.h " + | 213 | "${includedir}/python${PYTHON_BINABI}/pyconfig*.h " + |
214 | "${libdir}/python${PYTHON_MAJMIN}/collections " + | 214 | "${libdir}/python${PYTHON_MAJMIN}/collections " + |
215 | "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* " + | 215 | "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* " + |
216 | "${libdir}/python${PYTHON_MAJMIN}/_markupbase.* " + | ||
216 | "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* " + | 217 | "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.* " + |
217 | "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ") | 218 | "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ") |
218 | 219 | ||
@@ -360,6 +361,9 @@ if __name__ == "__main__": | |||
360 | m.addPackage( "${PN}-pkgutil", "Python package extension utility support", "${PN}-core", | 361 | m.addPackage( "${PN}-pkgutil", "Python package extension utility support", "${PN}-core", |
361 | "pkgutil.*") | 362 | "pkgutil.*") |
362 | 363 | ||
364 | m.addPackage( "${PN}-plistlib", "Generate and parse Mac OS X .plist files", "${PN}-core ${PN}-datetime ${PN}-io", | ||
365 | "plistlib.*") | ||
366 | |||
363 | m.addPackage( "${PN}-pprint", "Python pretty-print support", "${PN}-core ${PN}-io", | 367 | m.addPackage( "${PN}-pprint", "Python pretty-print support", "${PN}-core ${PN}-io", |
364 | "pprint.*" ) | 368 | "pprint.*" ) |
365 | 369 | ||
@@ -378,6 +382,9 @@ if __name__ == "__main__": | |||
378 | m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core", | 382 | m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core", |
379 | "lib-dynload/resource.*.so" ) | 383 | "lib-dynload/resource.*.so" ) |
380 | 384 | ||
385 | m.addPackage( "${PN}-runpy", "Python script for locating/executing scripts in module namespace", "${PN}-core ${PN}-pkgutil", | ||
386 | "runpy.*" ) | ||
387 | |||
381 | m.addPackage( "${PN}-selectors", "Python High-level I/O multiplexing", "${PN}-core", | 388 | m.addPackage( "${PN}-selectors", "Python High-level I/O multiplexing", "${PN}-core", |
382 | "selectors.*" ) | 389 | "selectors.*" ) |
383 | 390 | ||