mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
554962b380
commit
f7fd58319c
@@ -166,15 +166,15 @@ if __name__ == "__main__":
|
||||
# Parameters: revision, name, description, dependencies, filenames
|
||||
#
|
||||
|
||||
m.addPackage( "${PN}-core", "Python interpreter and core modules", "${PN}-lang ${PN}-re",
|
||||
"__future__.* _abcoll.* abc.* copy.* copy_reg.* ConfigParser.* " +
|
||||
m.addPackage( "${PN}-core", "Python interpreter and core modules", "${PN}-lang ${PN}-re ${PN}-reprlib ${PN}-codecs ${PN}-io ${PN}-math",
|
||||
"__future__.* _abcoll.* abc.* copy.* copyreg.* ConfigParser.* " +
|
||||
"genericpath.* getopt.* linecache.* new.* " +
|
||||
"os.* posixpath.* struct.* " +
|
||||
"warnings.* site.* stat.* " +
|
||||
"UserDict.* UserList.* UserString.* " +
|
||||
"lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " +
|
||||
"lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " +
|
||||
"_weakrefset.* sysconfig.* config/Makefile " +
|
||||
"_weakrefset.* sysconfig.* _sysconfigdata.* config/Makefile " +
|
||||
"${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " +
|
||||
"${libdir}/python${PYTHON_MAJMIN}/collections " +
|
||||
"${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ")
|
||||
@@ -329,6 +329,9 @@ if __name__ == "__main__":
|
||||
m.addPackage( "${PN}-readline", "Python readline support", "${PN}-core",
|
||||
"lib-dynload/readline.*.so rlcompleter.*" )
|
||||
|
||||
m.addPackage( "${PN}-reprlib", "Python alternate repr() implementation", "${PN}-core",
|
||||
"${libdir}/python3.3/reprlib.py" )
|
||||
|
||||
m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core",
|
||||
"lib-dynload/resource.*.so" )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user