Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Telepathy IM framework - Python package" |
| 2 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" |
| 3 | LICENSE = "LGPLv2.1+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
| 5 | file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822" |
| 6 | |
| 7 | DEPENDS = "libxslt-native" |
| 8 | |
| 9 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${PV}.tar.gz \ |
| 10 | file://parallel_make.patch \ |
| 11 | file://remove_duplicate_install.patch \ |
| 12 | file://telepathy-python_fix_for_automake_1.12.patch" |
| 13 | |
| 14 | PR = "r6" |
| 15 | |
| 16 | S = "${WORKDIR}/telepathy-python-${PV}" |
| 17 | |
| 18 | inherit autotools python3native |
| 19 | |
| 20 | SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017" |
| 21 | SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" |
| 22 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 23 | FILES:${PN} += "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | ${libdir}/python*/site-packages/telepathy/*.py \ |
| 25 | ${libdir}/python*/site-packages/telepathy/*/*.py \ |
| 26 | " |
| 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 28 | do_install:append () { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 29 | rm -fr ${D}${libdir}/python*/site-packages/telepathy/__pycache__ |
| 30 | rm -fr ${D}${libdir}/python*/site-packages/telepathy/__pycache__ |
| 31 | rm -fr ${D}${libdir}/python*/site-packages/telepathy/*/__pycache__ |
| 32 | rm -fr ${D}${libdir}/python*/site-packages/telepathy/*/__pycache__ |
| 33 | } |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 34 | RDEPENDS:${PN} += "python3-dbus" |