summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/python
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2014-12-04 13:09:35 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-11 11:34:56 +0000
commit74d4a5cb908c08f5e76886923430f898b4d62015 (patch)
tree4c0c19b96226f25d57a998cb58a6d9b068b84e04 /scripts/contrib/python
parent2b945a95444b722ac97c78783dd82f8d65b0254e (diff)
downloadpoky-74d4a5cb908c08f5e76886923430f898b4d62015.tar.gz
python3-core: Fix minimal python3 install
Added additional runtime dependencies for python3-core needed to run the interpreter with a minimal install (codecs,io,math,reprlib). Created python3-reprlib package to avoid getting python3-misc bringing lots of unneeded libraries. Fixed FILES-python3-core, missing _sysconfigdata, renamed copyreg undetected before due to previously needed installation of python3-misc. [YOCTO #6967] (From OE-Core rev: bafdfb28726d0a9b30b8283b2472727e8208059d) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@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/python')
-rwxr-xr-xscripts/contrib/python/generate-manifest-3.3.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/contrib/python/generate-manifest-3.3.py b/scripts/contrib/python/generate-manifest-3.3.py
index 288def293d..48cc84d4e0 100755
--- a/scripts/contrib/python/generate-manifest-3.3.py
+++ b/scripts/contrib/python/generate-manifest-3.3.py
@@ -166,15 +166,15 @@ if __name__ == "__main__":
166 # Parameters: revision, name, description, dependencies, filenames 166 # Parameters: revision, name, description, dependencies, filenames
167 # 167 #
168 168
169 m.addPackage( "${PN}-core", "Python interpreter and core modules", "${PN}-lang ${PN}-re", 169 m.addPackage( "${PN}-core", "Python interpreter and core modules", "${PN}-lang ${PN}-re ${PN}-reprlib ${PN}-codecs ${PN}-io ${PN}-math",
170 "__future__.* _abcoll.* abc.* copy.* copy_reg.* ConfigParser.* " + 170 "__future__.* _abcoll.* abc.* copy.* copyreg.* ConfigParser.* " +
171 "genericpath.* getopt.* linecache.* new.* " + 171 "genericpath.* getopt.* linecache.* new.* " +
172 "os.* posixpath.* struct.* " + 172 "os.* posixpath.* struct.* " +
173 "warnings.* site.* stat.* " + 173 "warnings.* site.* stat.* " +
174 "UserDict.* UserList.* UserString.* " + 174 "UserDict.* UserList.* UserString.* " +
175 "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " + 175 "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " +
176 "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " + 176 "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " +
177 "_weakrefset.* sysconfig.* config/Makefile " + 177 "_weakrefset.* sysconfig.* _sysconfigdata.* config/Makefile " +
178 "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " + 178 "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " +
179 "${libdir}/python${PYTHON_MAJMIN}/collections " + 179 "${libdir}/python${PYTHON_MAJMIN}/collections " +
180 "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ") 180 "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ")
@@ -329,6 +329,9 @@ if __name__ == "__main__":
329 m.addPackage( "${PN}-readline", "Python readline support", "${PN}-core", 329 m.addPackage( "${PN}-readline", "Python readline support", "${PN}-core",
330 "lib-dynload/readline.*.so rlcompleter.*" ) 330 "lib-dynload/readline.*.so rlcompleter.*" )
331 331
332 m.addPackage( "${PN}-reprlib", "Python alternate repr() implementation", "${PN}-core",
333 "${libdir}/python3.3/reprlib.py" )
334
332 m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core", 335 m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core",
333 "lib-dynload/resource.*.so" ) 336 "lib-dynload/resource.*.so" )
334 337