blob: f93c3953742ed1d13775dc7297af5dfa56bcf564 (
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
30
31
32
33
|
SUMMARY = "Python UPnP framework"
HOMEPAGE = "http://coherence.beebits.net/"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENCE;md5=3f7c147addd67ce1d53239c68a6b7022"
DEPENDS = "libxml2"
SRCREV = "d4d3be1305bb9cb24845ac7dd9e8135a7b7f6d67"
PV = "0.6.7"
PR = "r5"
SRC_URI = "git://github.com/sreichholf/coherence.git;protocol=git"
S = "${WORKDIR}/git/Coherence"
inherit setuptools
do_configure_prepend() {
sed -e 's,^from coherence import __version__$,__version__ = "${PV}",' -i setup.py
}
do_install_append() {
rm ${D}${bindir}/applet-coherence
rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/Coherence-${PV}-*.egg-info
rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/coherence/test
rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/misc/Desktop-Applet
}
RDEPENDS_${PN} = "python-xmlrpc python-twisted-web"
PACKAGES =+ "${PN}-bin"
RDEPENDS_${PN}-bin = "${PN} python-zopeinterface"
FILES_${PN}-bin = "${bindir} ${PYTHON_SITEPACKAGES_DIR}/misc/*.py"
|