mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
python3: remove 2to3 symlink from package python3-2to3
The 2to3 symlink conflicts with its Python 2 equivalent in package python-2to3. The Python 3 version of the tool is still available as 2to3-3.4. (From OE-Core rev: ff3633fa6a379d502f65b20d6a57d30c59f09ab6) Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0b69680a33
commit
b5e9dbbe82
|
@ -11,7 +11,7 @@ PACKAGES="${PN}-dbg ${PN}-2to3 ${PN}-asyncio ${PN}-audio ${PN}-codecs ${PN}-comp
|
||||||
|
|
||||||
SUMMARY_${PN}-2to3="Python automated Python 2 to 3 code translator"
|
SUMMARY_${PN}-2to3="Python automated Python 2 to 3 code translator"
|
||||||
RDEPENDS_${PN}-2to3="${PN}-core"
|
RDEPENDS_${PN}-2to3="${PN}-core"
|
||||||
FILES_${PN}-2to3="${bindir}/2to3 ${libdir}/python3.4/lib2to3 "
|
FILES_${PN}-2to3="${libdir}/python3.4/lib2to3 "
|
||||||
|
|
||||||
SUMMARY_${PN}-asyncio="Python Asynchronous I/O, event loop, coroutines and tasks"
|
SUMMARY_${PN}-asyncio="Python Asynchronous I/O, event loop, coroutines and tasks"
|
||||||
RDEPENDS_${PN}-asyncio="${PN}-core"
|
RDEPENDS_${PN}-asyncio="${PN}-core"
|
||||||
|
|
|
@ -162,6 +162,9 @@ do_install() {
|
||||||
ARCH=${TARGET_ARCH} \
|
ARCH=${TARGET_ARCH} \
|
||||||
DESTDIR=${D} LIBDIR=${libdir} install
|
DESTDIR=${D} LIBDIR=${libdir} install
|
||||||
|
|
||||||
|
# avoid conflict with 2to3 from Python 2
|
||||||
|
rm -f ${D}/${bindir}/2to3
|
||||||
|
|
||||||
install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
|
install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
|
||||||
|
|
||||||
if [ -e ${WORKDIR}/sitecustomize.py ]; then
|
if [ -e ${WORKDIR}/sitecustomize.py ]; then
|
||||||
|
|
|
@ -194,7 +194,7 @@ if __name__ == "__main__":
|
||||||
"${datadir}/pkgconfig " )
|
"${datadir}/pkgconfig " )
|
||||||
|
|
||||||
m.addPackage( "${PN}-2to3", "Python automated Python 2 to 3 code translator", "${PN}-core",
|
m.addPackage( "${PN}-2to3", "Python automated Python 2 to 3 code translator", "${PN}-core",
|
||||||
"${bindir}/2to3 lib2to3" ) # package
|
"lib2to3" ) # package
|
||||||
|
|
||||||
m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter",
|
m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter",
|
||||||
"${bindir}/idle idlelib" ) # package
|
"${bindir}/idle idlelib" ) # package
|
||||||
|
|
Loading…
Reference in New Issue
Block a user