summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python-supervisor.inc30
-rw-r--r--meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb32
2 files changed, 30 insertions, 32 deletions
diff --git a/meta-python/recipes-devtools/python/python-supervisor.inc b/meta-python/recipes-devtools/python/python-supervisor.inc
deleted file mode 100644
index 1ac18bbe69..0000000000
--- a/meta-python/recipes-devtools/python/python-supervisor.inc
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Supervisor: A Process Control System"
2DESCRIPTION = "\
3Supervisor is a client/server system that allows its users \
4to monitorand control a number of processes on UNIX-like \
5operating systems."
6HOMEPAGE = "https://github.com/Supervisor/supervisor"
7LICENSE = "BSD-4-Clause"
8LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=5b4e3a2172bba4c47cded5885e7e507e"
9
10SRC_URI[md5sum] = "ecea94eedc70ba5127fdeb0665bcca0d"
11SRC_URI[sha256sum] = "2dc86fe0476e945e61483d614ceb2cf4f93b95282eb243bdf792621994360383"
12
13PYPI_PACKAGE = "supervisor"
14inherit pypi systemd
15RDEPENDS_${PN} = "\
16 ${PYTHON_PN}-meld3 \
17"
18
19SRC_URI += "file://supervisord.conf \
20 file://supervisor.service \
21 "
22SYSTEMD_SERVICE_${PN} = "supervisor.service"
23
24do_install_append() {
25 install -d ${D}${sysconfdir}/supervisor
26 install -d ${D}${systemd_system_unitdir}
27
28 install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor
29 install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir}
30}
diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb
index d29e1d6b66..56ab27e0f6 100644
--- a/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb
@@ -1,2 +1,30 @@
1inherit setuptools3 1SUMMARY = "Supervisor: A Process Control System"
2require python-supervisor.inc 2DESCRIPTION = "\
3Supervisor is a client/server system that allows its users \
4to monitorand control a number of processes on UNIX-like \
5operating systems."
6HOMEPAGE = "https://github.com/Supervisor/supervisor"
7LICENSE = "BSD-4-Clause"
8LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=5b4e3a2172bba4c47cded5885e7e507e"
9
10SRC_URI[md5sum] = "ecea94eedc70ba5127fdeb0665bcca0d"
11SRC_URI[sha256sum] = "2dc86fe0476e945e61483d614ceb2cf4f93b95282eb243bdf792621994360383"
12
13PYPI_PACKAGE = "supervisor"
14inherit pypi systemd setuptools3
15RDEPENDS_${PN} = "\
16 ${PYTHON_PN}-meld3 \
17"
18
19SRC_URI += "file://supervisord.conf \
20 file://supervisor.service \
21 "
22SYSTEMD_SERVICE_${PN} = "supervisor.service"
23
24do_install_append() {
25 install -d ${D}${sysconfdir}/supervisor
26 install -d ${D}${systemd_system_unitdir}
27
28 install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor
29 install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir}
30}