From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CDFB01382C5 for ; Sat, 27 Feb 2021 00:46:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0323CE0849; Sat, 27 Feb 2021 00:46:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4AEC0E0849 for ; Sat, 27 Feb 2021 00:46:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8ED33410D9 for ; Sat, 27 Feb 2021 00:46:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EF4D4E9 for ; Sat, 27 Feb 2021 00:46:05 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1614386754.d270e4b38c1d850ee96908b1a9fa1eb2fd630133.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/supervisor/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/supervisor/Manifest app-admin/supervisor/supervisor-4.2.2.ebuild X-VCS-Directories: app-admin/supervisor/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: d270e4b38c1d850ee96908b1a9fa1eb2fd630133 X-VCS-Branch: master Date: Sat, 27 Feb 2021 00:46:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eae15902-6edd-4fe6-943e-f135ae16ce97 X-Archives-Hash: 6d258689a257d7b224eaddf5f6492ab5 commit: d270e4b38c1d850ee96908b1a9fa1eb2fd630133 Author: Louis Sautier gentoo org> AuthorDate: Sat Feb 27 00:13:21 2021 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sat Feb 27 00:45:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d270e4b3 app-admin/supervisor: bump to 4.2.2 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Louis Sautier gentoo.org> app-admin/supervisor/Manifest | 1 + app-admin/supervisor/supervisor-4.2.2.ebuild | 58 ++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest index 03d5647fd2b..a69d766839e 100644 --- a/app-admin/supervisor/Manifest +++ b/app-admin/supervisor/Manifest @@ -1,2 +1,3 @@ DIST supervisor-4.2.0.tar.gz 456056 BLAKE2B 51b66cfc34505b937c47c9b510d81bcc777b9372fdeb2e08fc25153d2718cd2682258b812630160954587ceb992e1a528cdd5bf0d270139f7ffac9463ac2f015 SHA512 626d806f4b03be7cbff795afd1bdb3ff5ca5ecf44f035909ea1aa9360da9fa3047b2fe05543190bf1442f01dcdd403be19fcd907519bf7e26615900bc4bf9d0f DIST supervisor-4.2.1.tar.gz 460935 BLAKE2B 0c65f904599c1e8a04cd3a71085e2b2a5460691c2bfd790d3b7c10449cae08472bcd72a870cbe611801434624f405ea3e245f156cab93f25a8df784b58d948d7 SHA512 c560ef959f8d580fb20c1812aa2a838c9feaeb3726a754e8084fa8c7406ff9258139b55b081558b8d8f33e4672cdfad40695170f55412a5e85a6c1aed0f11657 +DIST supervisor-4.2.2.tar.gz 463657 BLAKE2B 766feffcbd70b575b6b7dfd6ed98e3510e0fd9362c423b677d44a2b5dd23ded14a349a279d3d28d4fd9e04a2175c8f00e24c07df310b61d34c7f69f60d26a4ac SHA512 f787206e6c6a5d3dfc4284974a4a87cbcaeac0c705afb2b8eae53f066413bd9e68095c5309e29625e01469a4748613370e1ac0d7be84b9d72c3623244bdd2eb3 diff --git a/app-admin/supervisor/supervisor-4.2.2.ebuild b/app-admin/supervisor/supervisor-4.2.2.ebuild new file mode 100644 index 00000000000..281756fef94 --- /dev/null +++ b/app-admin/supervisor/supervisor-4.2.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) +# xml.etree.ElementTree module required. +PYTHON_REQ_USE="xml(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 systemd + +DESCRIPTION="A system for controlling process state under UNIX" +HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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_prepare_all() { + # The workaround can be dropped once this is merged: + # https://github.com/Supervisor/supervisor/pull/1413 + sed -i "/ setup.py test/d" docs/conf.py || die + distutils-r1_python_prepare_all +} + +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 +}