summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
blob: ead8dea05b2f81586b714cf6973732f59212f205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "Telepathy framework - Python package"
HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                    file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822"

RDEPENDS_${PN} += "python-dbus"

SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
           file://parallel_make.patch"

PR = "r2"

inherit autotools

SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017"
SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376"

FILES_${PN} += "\
    ${libdir}/python*/site-packages/telepathy/*.py \
    ${libdir}/python*/site-packages/telepathy/*/*.py \
    "

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
}