python-coherence: bump SRCREV again
[opendreambox.git] / meta-opendreambox / recipes-devtools / python / python-coherence_git.bb
1 SUMMARY = "Python UPnP framework"
2 HOMEPAGE = "http://coherence.beebits.net/"
3 SECTION = "devel/python"
4 LICENSE = "MIT"
5 LIC_FILES_CHKSUM = "file://LICENCE;md5=3f7c147addd67ce1d53239c68a6b7022"
6 DEPENDS = "libxml2"
7 SRCREV = "3526bad97dca89a2113664924a2deced3a401c55"
8 PV = "0.6.9"
9
10 SRC_URI = "git://github.com/sreichholf/python-coherence.git;protocol=git;branch=develop"
11
12 S = "${WORKDIR}/git"
13
14 inherit setuptools
15
16 do_configure_prepend() {
17         sed -e 's,from coherence import __version__$,__version__ = "${PV}",' -i setup.py
18 }
19 do_install_append() {
20         rm ${D}${bindir}/applet-coherence
21         rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/Coherence-${PV}-*.egg-info
22         rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/coherence/test
23 }
24
25 PACKAGES =+ "${PN}-bin"
26
27 RDEPENDS_${PN} = "python-xmlrpc python-twisted-web"
28 RDEPENDS_${PN}-bin = "${PN} python-zopeinterface"
29
30 FILES_${PN}-bin = "${bindir} ${PYTHON_SITEPACKAGES_DIR}/misc/*.py"