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 80342138353 for ; Sun, 1 Mar 2020 20:39:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75C2FE08E2; Sun, 1 Mar 2020 20:39:24 +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 3DEB8E08E0 for ; Sun, 1 Mar 2020 20:39:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1254534F23F for ; Sun, 1 Mar 2020 20:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4091414E for ; Sun, 1 Mar 2020 20:39:21 +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: <1583095151.2b31f686b80091668d7d394c739f6e9c4e467dcc.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.1.0.ebuild X-VCS-Directories: app-admin/supervisor/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 2b31f686b80091668d7d394c739f6e9c4e467dcc X-VCS-Branch: master Date: Sun, 1 Mar 2020 20:39:21 +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: a80dc8d3-7c63-4a42-98e8-9ebeeedb9235 X-Archives-Hash: 23c469e08454dd62608901658759b773 commit: 2b31f686b80091668d7d394c739f6e9c4e467dcc Author: Louis Sautier gentoo org> AuthorDate: Sun Mar 1 01:29:02 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun Mar 1 20:39:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b31f686 app-admin/supervisor: bump to 4.1.0, add Py3.8, improvements * Switch supervisor group to GLEP 81. * Rely on distutils_enable_* functions. * meld3 is now bundled with supervisor. * Stop requiring mock for tests (not needed for Python 3). Closes: https://bugs.gentoo.org/702732 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Louis Sautier gentoo.org> app-admin/supervisor/Manifest | 1 + app-admin/supervisor/supervisor-4.1.0.ebuild | 54 ++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest index 1c7ee90462b..9f8a8819e14 100644 --- a/app-admin/supervisor/Manifest +++ b/app-admin/supervisor/Manifest @@ -1 +1,2 @@ DIST supervisor-4.0.4.tar.gz 437708 BLAKE2B 211726da07ce31c00da0d6edba57942d78ee5d2757927b22afe569364c29aaf55375d4895b381f06071bc6b6c39a926ca2073e8fcb8e0ea9673a89aafd08b346 SHA512 22a38f759b0584310f5e16acbfc7b0c4cc59f3206fbfaf6295bd40a826d50ad02c8b0093821362c5038dd987a6599879d82dcefe948a2eda702b89e9f92e471e +DIST supervisor-4.1.0.tar.gz 459020 BLAKE2B 0c4bdc2c89f54c08ad536b43852941f1aadb0173013e0f73337302f500b779023bfa0fcf8cc3ace4968cfc724998a08ea5a63680e290051d13c7cd8ac788dd24 SHA512 1ae343293707ebf33d0a0c0bda2c6cc78278e12737940a79e51b2365e7a20b07d9f5e50134ed2abbf8e7af1ebd8f1746002a159cde1cfc35e83fda0a77dae9c5 diff --git a/app-admin/supervisor/supervisor-4.1.0.ebuild b/app-admin/supervisor/supervisor-4.1.0.ebuild new file mode 100644 index 00000000000..66bc0c1f582 --- /dev/null +++ b/app-admin/supervisor/supervisor-4.1.0.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} ) +# 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 +}