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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7634C1581E7 for ; Mon, 29 Apr 2024 20:13:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9417E29F8; Mon, 29 Apr 2024 20:13:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 964ADE29F8 for ; Mon, 29 Apr 2024 20:13:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 93AC934306E for ; Mon, 29 Apr 2024 20:13:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E87CB16C0 for ; Mon, 29 Apr 2024 20:13:25 +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: <1714421439.593416ef4837798a7ee2fc6564cb2955f10a0a3f.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/supervisor/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/supervisor/supervisor-4.2.5-r1.ebuild X-VCS-Directories: app-admin/supervisor/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 593416ef4837798a7ee2fc6564cb2955f10a0a3f X-VCS-Branch: master Date: Mon, 29 Apr 2024 20:13:25 +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: 0be78455-0062-4010-a6a0-a64e4ed167e8 X-Archives-Hash: 0a000a84b5c0ba1217c57b36547e63ea commit: 593416ef4837798a7ee2fc6564cb2955f10a0a3f Author: Louis Sautier gentoo org> AuthorDate: Thu Apr 25 22:39:25 2024 +0000 Commit: Louis Sautier gentoo org> CommitDate: Mon Apr 29 20:10:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593416ef app-admin/supervisor: re-add setuptools to RDEPEND, enable py312 It was mistakenly removed at some point, probably when we switched to DISTUTILS_USE_PEP517=setuptools. Closes: https://bugs.gentoo.org/930642 Closes: https://bugs.gentoo.org/929275 Signed-off-by: Louis Sautier gentoo.org> app-admin/supervisor/supervisor-4.2.5-r1.ebuild | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/app-admin/supervisor/supervisor-4.2.5-r1.ebuild b/app-admin/supervisor/supervisor-4.2.5-r1.ebuild new file mode 100644 index 000000000000..0ec69aee0dc9 --- /dev/null +++ b/app-admin/supervisor/supervisor-4.2.5-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +# xml.etree.ElementTree module required. +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 systemd pypi + +DESCRIPTION="A system for controlling process state under UNIX" +HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/" + +LICENSE="repoze ZPL BSD HPND GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +# setuptools is required because the package uses pkg_resources +RDEPEND=" + acct-group/supervisor + dev-python/setuptools[${PYTHON_USEDEP}] +" + +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 +}