summaryrefslogtreecommitdiffstats
path: root/scripts
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-31 10:19:01 +0000
commitf7fd58319c95299d0fa92374b7de732d36f6bf42 (patch)
treea51a7bb933e8ca841a01cfccb49291065dfecee5 /scripts
parent554962b380cee1100faec80b6ee89a50c64715bc (diff)
downloadpoky-f7fd58319c95299d0fa92374b7de732d36f6bf42.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) (From OE-Core rev: 19134b005af620a115db4530409e164eff1e5d9e) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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