aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-supervisor.inc
diff options
context:
space:
mode:
authorParthiban Nallathambi <parthitce@gmail.com>2019-05-01 14:20:40 +0200
committerKhem Raj <raj.khem@gmail.com>2019-05-02 14:13:57 -0700
commitc5c6e9b545d1f108975498cb4b0d34b40a254d91 (patch)
treecdbd885d592d473a711cda36d15657894e96ca5e /meta-python/recipes-devtools/python/python-supervisor.inc
parent941481128020cf062a9f1c263c526cad726390cb (diff)
downloadmeta-openembedded-contrib-c5c6e9b545d1f108975498cb4b0d34b40a254d91.tar.gz
python3-supervisor: add version 4.0.2
Added python3-supervisor with following missing DEPENDS - python3-meld3 version 1.0.2 Signed-off-by: Parthiban Nallathambi <parthitce@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-supervisor.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-supervisor.inc30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-supervisor.inc b/meta-python/recipes-devtools/python/python-supervisor.inc
new file mode 100644
index 0000000000..beab497392
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-supervisor.inc
@@ -0,0 +1,30 @@
+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"
+LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=5b4e3a2172bba4c47cded5885e7e507e"
+
+SRC_URI[md5sum] = "ac70dadd051dcaf1d03c467d51a3aac1"
+SRC_URI[sha256sum] = "5604457da4fb89d850e78c128205fe4938c9277f87301885b33c94c60361e575"
+
+PYPI_PACKAGE = "supervisor"
+inherit pypi systemd
+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}
+}