summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-avahi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-avahi.inc')
-rw-r--r--meta-openstack/recipes-devtools/python/python-avahi.inc32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-avahi.inc b/meta-openstack/recipes-devtools/python/python-avahi.inc
deleted file mode 100644
index c235959..0000000
--- a/meta-openstack/recipes-devtools/python/python-avahi.inc
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "Python bindings for the avahi zeroconf client"
2HOMEPAGE = "https://github.com/lathiat/avahi"
3SECTION = "devel/python"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
7
8SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
11SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
12
13S = "${WORKDIR}/avahi-${PV}"
14
15inherit python3native
16
17# we only need the python bindings
18do_install () {
19 install -d ${D}${PYTHON_SITEPACKAGES_DIR}/avahi
20
21 sed -i'' -e "s,@PYTHON\@,${bindir}/${PYTHON_PN},g" \
22 ${S}/avahi-python/avahi/__init__.py \
23 ${S}/avahi-python/avahi-bookmarks.in
24
25 install -m 0775 ${S}/avahi-python/avahi/__init__.py \
26 ${D}${PYTHON_SITEPACKAGES_DIR}/avahi/__init__.py
27
28 install -m 0775 ${S}/avahi-python/avahi-bookmarks.in \
29 ${D}${PYTHON_SITEPACKAGES_DIR}/avahi/avahi-bookmarks
30}
31
32FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/avahi"