python-coherence: bump version
[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 = "${@opendreambox_srcrev('74621eca66b24511c92d11deb7ff927c324add88', d)}"
8 PV = "0.7.0"
9 GITHUB_BRANCH = "develop"
10
11 inherit setuptools opendreambox-github
12
13 do_configure_prepend() {
14         sed -e 's,from coherence import __version__$,__version__ = "${RECIPE_PV}",' -i setup.py
15 }
16 do_install_append() {
17         rm ${D}${bindir}/applet-coherence
18         rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/Coherence-${RECIPE_PV}-*.egg-info
19         rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/coherence/test
20 }
21
22 PACKAGES =+ "${PN}-bin"
23
24 RDEPENDS_${PN} = "python-xmlrpc python-twisted-web"
25 RDEPENDS_${PN}-bin = "${PN} python-zopeinterface"
26
27 FILES_${PN}-bin = "${bindir} ${PYTHON_SITEPACKAGES_DIR}/misc/*.py"