summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb
diff options
context:
space:
mode:
authorjmbills <jasonm.bills@yahoo.com>2021-04-21 21:58:31 +0300
committerGitHub <noreply@github.com>2021-04-21 21:58:31 +0300
commit5de22d24866c4b7cf3579a30cd3fe963f06d7ef9 (patch)
treed7b76b8111aedb06ee17ced2c9cbdebaeaaf6311 /meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb
parentd0a0a5ae2ed84e7b8a45e2838325dd82a3fc1fec (diff)
parentab16ab3d0de4dc9d130ae3db366c38888f1ada5a (diff)
downloadopenbmc-5de22d24866c4b7cf3579a30cd3fe963f06d7ef9.tar.xz
Merge pull request #65 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb
new file mode 100644
index 000000000..0ff4b35d9
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.2.1.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Supervisor: A Process Control System"
+DESCRIPTION = "\
+Supervisor is a client/server system that allows its users \
+to monitorand control a number of processes on UNIX-like \
+operating systems."
+HOMEPAGE = "https://github.com/Supervisor/supervisor"
+LICENSE = "BSD-4-Clause"
+LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=5b4e3a2172bba4c47cded5885e7e507e"
+
+SRC_URI[sha256sum] = "c479c875853e9c013d1fa73e529fd2165ff1ecaecc7e82810ba57e7362ae984d"
+
+PYPI_PACKAGE = "supervisor"
+inherit pypi systemd setuptools3
+RDEPENDS_${PN} = "\
+ ${PYTHON_PN}-meld3 \
+"
+
+SRC_URI += "file://supervisord.conf \
+ file://supervisor.service \
+ "
+SYSTEMD_SERVICE_${PN} = "supervisor.service"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/supervisor
+ install -d ${D}${systemd_system_unitdir}
+
+ install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor
+ install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir}
+}