commit:     8e762a1c4e45009339e3a5b0955e3aea998e5a2f
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 08:38:00 2020 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 09:18:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e762a1c

app-admin/supervisor: bump to 4.2.1, add Python 3.9 support

Package-Manager: Portage-3.0.3, Repoman-2.3.23
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 app-admin/supervisor/Manifest                |  1 +
 app-admin/supervisor/supervisor-4.2.1.ebuild | 54 ++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest
index 6d9daeb6899..9f01b83f929 100644
--- a/app-admin/supervisor/Manifest
+++ b/app-admin/supervisor/Manifest
@@ -1,3 +1,4 @@
 DIST supervisor-4.0.4.tar.gz 437708 BLAKE2B 
211726da07ce31c00da0d6edba57942d78ee5d2757927b22afe569364c29aaf55375d4895b381f06071bc6b6c39a926ca2073e8fcb8e0ea9673a89aafd08b346
 SHA512 
22a38f759b0584310f5e16acbfc7b0c4cc59f3206fbfaf6295bd40a826d50ad02c8b0093821362c5038dd987a6599879d82dcefe948a2eda702b89e9f92e471e
 DIST supervisor-4.1.0.tar.gz 459020 BLAKE2B 
0c4bdc2c89f54c08ad536b43852941f1aadb0173013e0f73337302f500b779023bfa0fcf8cc3ace4968cfc724998a08ea5a63680e290051d13c7cd8ac788dd24
 SHA512 
1ae343293707ebf33d0a0c0bda2c6cc78278e12737940a79e51b2365e7a20b07d9f5e50134ed2abbf8e7af1ebd8f1746002a159cde1cfc35e83fda0a77dae9c5
 DIST supervisor-4.2.0.tar.gz 456056 BLAKE2B 
51b66cfc34505b937c47c9b510d81bcc777b9372fdeb2e08fc25153d2718cd2682258b812630160954587ceb992e1a528cdd5bf0d270139f7ffac9463ac2f015
 SHA512 
626d806f4b03be7cbff795afd1bdb3ff5ca5ecf44f035909ea1aa9360da9fa3047b2fe05543190bf1442f01dcdd403be19fcd907519bf7e26615900bc4bf9d0f
+DIST supervisor-4.2.1.tar.gz 460935 BLAKE2B 
0c65f904599c1e8a04cd3a71085e2b2a5460691c2bfd790d3b7c10449cae08472bcd72a870cbe611801434624f405ea3e245f156cab93f25a8df784b58d948d7
 SHA512 
c560ef959f8d580fb20c1812aa2a838c9feaeb3726a754e8084fa8c7406ff9258139b55b081558b8d8f33e4672cdfad40695170f55412a5e85a6c1aed0f11657

diff --git a/app-admin/supervisor/supervisor-4.2.1.ebuild 
b/app-admin/supervisor/supervisor-4.2.1.ebuild
new file mode 100644
index 00000000000..9cf38eee7a6
--- /dev/null
+++ b/app-admin/supervisor/supervisor-4.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+# xml.etree.ElementTree module required.
+PYTHON_REQ_USE="xml(+)"
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 systemd
+
+MY_PV="${PV/_beta/b}"
+
+DESCRIPTION="A system for controlling process state under UNIX"
+HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/";
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="repoze ZPL BSD HPND GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="acct-group/supervisor"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+python_install_all() {
+       distutils-r1_python_install_all
+       newinitd "${FILESDIR}/init.d-r2" supervisord
+       newconfd "${FILESDIR}/conf.d-r1" supervisord
+       dodoc supervisor/skel/sample.conf
+       keepdir /etc/supervisord.d
+       insinto /etc
+       doins "${FILESDIR}/supervisord.conf"
+       keepdir /var/log/supervisor
+       systemd_dounit "${FILESDIR}/supervisord.service"
+}
+
+pkg_preinst() {
+       fowners :supervisor /var/log/supervisor
+       fperms 750 /var/log/supervisor
+}
+
+pkg_postinst() {
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               # This is a new installation
+               elog "You may install your configuration files in 
${EROOT}/etc/supervisord.d"
+               elog "For config examples, see 
${EROOT}/usr/share/doc/${PF}/sample.conf.bz2"
+               elog ""
+               elog "By default, only members of the supervisor group can run 
supervisorctl."
+       fi
+}

Reply via email to