Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/supervisor/
Date: Fri, 02 Dec 2016 21:44:37
Message-Id: 1480715057.d95744e82caf478e4bfb1bad0ac291a96e5a770e.monsieurp@gentoo
1 commit: d95744e82caf478e4bfb1bad0ac291a96e5a770e
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Thu Dec 1 23:57:22 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 2 21:44:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95744e8
7
8 app-admin/supervisor: EAPI=6, fix deps, remove obsolete comments.
9
10 Package-Manager: portage-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/2978
12
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 app-admin/supervisor/supervisor-3.3.1-r1.ebuild | 51 +++++++++++++++++++++++++
16 1 file changed, 51 insertions(+)
17
18 diff --git a/app-admin/supervisor/supervisor-3.3.1-r1.ebuild b/app-admin/supervisor/supervisor-3.3.1-r1.ebuild
19 new file mode 100644
20 index 00000000..06fe66a
21 --- /dev/null
22 +++ b/app-admin/supervisor/supervisor-3.3.1-r1.ebuild
23 @@ -0,0 +1,51 @@
24 +# Copyright 1999-2016 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Id$
27 +
28 +EAPI=6
29 +
30 +PYTHON_COMPAT=( python2_7 ) # py2 only
31 +# xml.etree.ElementTree module required.
32 +PYTHON_REQ_USE="xml"
33 +
34 +inherit distutils-r1
35 +
36 +MY_PV="${PV/_beta/b}"
37 +
38 +DESCRIPTION="A system for controlling process state under UNIX"
39 +HOMEPAGE="http://supervisord.org/ https://pypi.python.org/pypi/supervisor"
40 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
41 +
42 +LICENSE="repoze ZPL BSD HPND GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="doc test"
46 +
47 +RDEPEND="
48 + dev-python/meld3[${PYTHON_USEDEP}]
49 +"
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
53 + test? (
54 + ${RDEPEND}
55 + dev-python/mock[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +S="${WORKDIR}/${PN}-${MY_PV}"
60 +
61 +python_compile_all() {
62 + use doc && emake -C docs html
63 +}
64 +
65 +python_test() {
66 + esetup.py test
67 +}
68 +
69 +python_install_all() {
70 + newinitd "${FILESDIR}/init.d-r1" supervisord
71 + newconfd "${FILESDIR}/conf.d" supervisord
72 + use doc && local HTML_DOCS=( docs/.build/html/. )
73 + distutils-r1_python_install_all
74 +}