public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/supervisor/
Date: Sun,  7 Apr 2019 00:37:28 +0000 (UTC)	[thread overview]
Message-ID: <1554597384.a6b726225bd29a564fff3efa405b0a7f11658a82.sbraz@gentoo> (raw)

commit:     a6b726225bd29a564fff3efa405b0a7f11658a82
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 00:25:34 2019 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 00:36:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b72622

app-admin/supervisor: bump to 4.0.0, adds support for Python 3

Also remove now-unnecessary namespace package removal.

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

 app-admin/supervisor/Manifest                |  1 +
 app-admin/supervisor/supervisor-4.0.0.ebuild | 75 ++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest
index 270d4e2c9c7..71d54af1e63 100644
--- a/app-admin/supervisor/Manifest
+++ b/app-admin/supervisor/Manifest
@@ -1,3 +1,4 @@
 DIST supervisor-3.1.4.tar.gz 392321 BLAKE2B 316789fae200f02242a90d3a22a3c6486576f74dbab81b95efc72768a89c54999a370625f9589afe1edff08351840fbe27a7ef8674e6f1e3bbdd4237f3227df6 SHA512 7182db4169d37aa8f7a2a4e1d57ce40f6dea21759ed73fb49286dd5ffb2bdede0fccdc71344e93c8f8c067a2cbc4e3cb0a9a50b22bacdb1b8bc1378581ed5f07
 DIST supervisor-3.3.4.tar.gz 419794 BLAKE2B b916c22f3ec1cc180d495f08dac1a66cfd5a93c060906c015a85b2bf64733b4ed298b67050db1332639902a1c6601118a5c05e01c54ed4fc32910d1c24431131 SHA512 fab141b52a548a3efd26f175798b1b8fbb46ce465aa48c3281cb80584b829ecef90ae1355e4106632d13c84363ae03f081d69fb4148303ff387ab7d4e778d21a
 DIST supervisor-3.3.5.tar.gz 421220 BLAKE2B 63e9db005596921c4a4426de361fc20992a27b67b67ee1256cd64fe6d385909682a5055e4797512410f36f6855592f53c9c5720c54a2dae967578691d05ff3fc SHA512 66c43d40c216e5c3120e083407c848295fa1e59d6d9da916a4bae5c37d4d13208c3bf7c0c8b8a5d570270eb44fac0b1bbcceddb2e84e4f3fc1b6241b43116af7
+DIST supervisor-4.0.0.tar.gz 432825 BLAKE2B 2eca01119f6bfd6bea728ea297424e6e08cc94cc8da78e53fc431013b83b5620a8c88f1a6ef0fcf5f57df46ad43f04215425bede83c02479731795b326dd27c4 SHA512 cca945179aaa16cd7042160b44a2d80e4a6aa388dcabd1572c6ed8610dc6af06cb446a18a5f8fa868a891482032380bf176c1331d9d09702d59fbf8b01651577

diff --git a/app-admin/supervisor/supervisor-4.0.0.ebuild b/app-admin/supervisor/supervisor-4.0.0.ebuild
new file mode 100644
index 00000000000..2741d256322
--- /dev/null
+++ b/app-admin/supervisor/supervisor-4.0.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+# xml.etree.ElementTree module required.
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 systemd user
+
+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"
+
+LICENSE="repoze ZPL BSD HPND GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+	>=dev-python/meld3-1.0.0[${PYTHON_USEDEP}]
+	dev-python/setuptools[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+	test? (
+		${RDEPEND}
+		dev-python/mock[${PYTHON_USEDEP}]
+	)
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+python_compile_all() {
+	if use doc; then
+		emake -C docs html
+		HTML_DOCS=( docs/.build/html/. )
+	fi
+}
+
+python_test() {
+	esetup.py test
+}
+
+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() {
+	enewgroup supervisor
+	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	other threads:[~2019-04-07  0:37 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-07  0:37 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-30 13:07 [gentoo-commits] repo/gentoo:master commit in: app-admin/supervisor/ Louis Sautier
2025-01-30 13:07 Louis Sautier
2024-05-28 17:01 Sam James
2024-04-29 20:13 Louis Sautier
2024-04-27  6:53 Michał Górny
2023-05-20  6:22 Michał Górny
2023-05-01  0:30 Sam James
2023-05-01  0:16 Sam James
2022-12-24 18:38 Louis Sautier
2022-11-01 10:20 Yixun Lan
2021-12-30 23:31 Louis Sautier
2021-12-30 23:31 Louis Sautier
2021-06-03  8:23 Sam James
2021-06-01 11:58 Sam James
2021-05-31 22:24 Louis Sautier
2021-02-27  0:46 Louis Sautier
2020-09-11 23:56 Louis Sautier
2020-08-21  9:20 Louis Sautier
2020-08-11 18:51 Agostino Sarubbo
2020-08-11 14:23 Agostino Sarubbo
2020-05-03 20:07 Louis Sautier
2020-03-01 20:39 Louis Sautier
2020-02-11 12:03 Louis Sautier
2020-02-11 11:09 Agostino Sarubbo
2020-02-11  9:52 Agostino Sarubbo
2020-02-10 12:59 Louis Sautier
2019-07-26 10:21 Louis Sautier
2019-07-17 15:05 Louis Sautier
2019-07-17 15:05 Louis Sautier
2019-05-23  8:24 Louis Sautier
2019-05-23  8:24 Louis Sautier
2019-04-19 11:10 Louis Sautier
2019-04-19 11:10 Louis Sautier
2019-04-10 22:24 Louis Sautier
2019-04-07  0:37 Louis Sautier
2018-12-23 20:10 Louis Sautier
2018-12-23 20:10 Louis Sautier
2017-07-26 15:31 Michał Górny
2017-07-26 15:31 Michał Górny
2017-07-26 15:31 Michał Górny
2017-06-11  7:19 Michael Palimaka
2017-06-11  7:19 Michael Palimaka
2016-12-02 21:44 Patrice Clement
2016-12-02 21:44 Patrice Clement
2016-10-29 21:17 Michał Górny
2016-10-01 20:15 Patrick Lauer
2016-06-13  9:12 Patrick Lauer
2016-04-03 18:30 Patrick Lauer
2016-03-12 10:02 Patrick Lauer
2016-02-18  9:58 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1554597384.a6b726225bd29a564fff3efa405b0a7f11658a82.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox