summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/supervisor/supervisor-3.0_beta1.ebuild')
-rw-r--r--app-admin/supervisor/supervisor-3.0_beta1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/supervisor/supervisor-3.0_beta1.ebuild b/app-admin/supervisor/supervisor-3.0_beta1.ebuild
new file mode 100644
index 000000000000..104ce608603e
--- /dev/null
+++ b/app-admin/supervisor/supervisor-3.0_beta1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/supervisor/supervisor-3.0_beta1.ebuild,v 1.1 2012/11/13 07:27:13 patrick Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.5"
+PYTHON_USE_WITH="xml(+)"
+SUPPORT_PYTHON_ABIS="1"
+# xml.etree.ElementTree module required.
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils eutils
+
+MY_PV="${PV/_beta/b}"
+
+DESCRIPTION="A system for controlling process state under UNIX"
+HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="repoze ZPL BSD as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/meld3
+ dev-python/setuptools"
+DEPEND="${RDEPEND}
+ test? ( dev-python/mock )"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DOCS="CHANGES.txt TODO.txt"
+
+src_install() {
+ distutils_src_install
+ newinitd "${FILESDIR}/init.d" supervisord || die "newinitd failed"
+ newconfd "${FILESDIR}/conf.d" supervisord || die "newconfd failed"
+}