mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
telepathy-python: Rename to telepathy-python3
This avoid recipe conflict with py2 version and adjust to delete __pycache__ files which are py3 specific Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a16eaae6fd
commit
e134e4c1b7
|
|
@ -7,13 +7,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
|||
DEPENDS = "libxslt-native"
|
||||
RDEPENDS_${PN} += "python-dbus"
|
||||
|
||||
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
|
||||
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${PV}.tar.gz \
|
||||
file://parallel_make.patch \
|
||||
file://remove_duplicate_install.patch \
|
||||
file://telepathy-python_fix_for_automake_1.12.patch"
|
||||
|
||||
PR = "r6"
|
||||
|
||||
S = "${WORKDIR}/telepathy-python-${PV}"
|
||||
|
||||
inherit autotools python3native
|
||||
|
||||
SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017"
|
||||
|
|
@ -25,8 +27,8 @@ FILES_${PN} += "\
|
|||
"
|
||||
|
||||
do_install_append () {
|
||||
rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyc
|
||||
rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyo
|
||||
rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyc
|
||||
rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyo
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/__pycache__
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/__pycache__
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/*/__pycache__
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/*/__pycache__
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user