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"