From 4b69ca4f39b68c602a8369d1772cbf772844559d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 27 Dec 2022 14:46:25 +0800 Subject: python3-supervisor: upgrade 4.2.4 -> 4.2.5 Changelog: ========== -Fixed a bug where the XML-RPC method supervisor.startProcess() would return 500 Internal Server Error instead of an XML-RPC fault response if the command could not be parsed. -Fixed a bug on Python 2.7 where a UnicodeDecodeError may have occurred when using the web interface. -Removed use of urllib.parse functions splithost, splitport, and splittype deprecated in Python 3.8. -Removed use of asynchat and asyncore deprecated in Python 3.10. -The return value of the XML-RPC method supervisor.getAllConfigInfo() now includes the directory, uid, and serverurl of the program. -If a subprocess exits with a unexpected exit code (one not listed in exitcodes= in a [program:x] section) then the exit will now be logged at the WARN level instead of INFO. -supervisorctl shutdown now shows an error message if an argument is given. -File descriptors are now closed using the faster os.closerange() instead of calling os.close() in a loop. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-supervisor_4.2.5.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb (limited to 'meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb') diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb new file mode 100644 index 0000000000..53f8011b02 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb @@ -0,0 +1,34 @@ +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] = "34761bae1a23c58192281a5115fb07fbf22c9b0133c08166beffc70fed3ebc12" + +PYPI_PACKAGE = "supervisor" +inherit pypi systemd setuptools3 +RDEPENDS:${PN} = "\ + python3-meld3 \ + python3-io \ + python3-xmlrpc \ + python3-resource \ + python3-setuptools \ + python3-smtpd \ +" + +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} +} -- cgit v1.2.3-54-g00ecf