From 73f979c9140f4939ddbe00393db9786fab29c51e Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 13 Aug 2016 17:21:27 +0200 Subject: [PATCH] app-admin/supervisor: initial import of version 3.3.1 --- .../supervisor/files/openrc/confd/supervisord | 4 +++ .../supervisor/files/openrc/initd/supervisord | 12 ++++++++ .../supervisor/supervisor-3.3.1.exheres-0 | 29 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 packages/app-admin/supervisor/files/openrc/confd/supervisord create mode 100644 packages/app-admin/supervisor/files/openrc/initd/supervisord create mode 100644 packages/app-admin/supervisor/supervisor-3.3.1.exheres-0 diff --git a/packages/app-admin/supervisor/files/openrc/confd/supervisord b/packages/app-admin/supervisor/files/openrc/confd/supervisord new file mode 100644 index 0000000..922f4ce --- /dev/null +++ b/packages/app-admin/supervisor/files/openrc/confd/supervisord @@ -0,0 +1,4 @@ +# /etc/conf.d/supervisord + +# Options to pass to the supervisord process +SUPD_OPTS="" diff --git a/packages/app-admin/supervisor/files/openrc/initd/supervisord b/packages/app-admin/supervisor/files/openrc/initd/supervisord new file mode 100644 index 0000000..f22f49d --- /dev/null +++ b/packages/app-admin/supervisor/files/openrc/initd/supervisord @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems" + +command="/usr/bin/supervisord" +pidfile="/var/run/supervisord.pid" +command_args="--nodaemon --pidfile ${pidfile} ${SUPD_OPTS}" +command_background="yes" + +required_files="/etc/supervisord.conf" diff --git a/packages/app-admin/supervisor/supervisor-3.3.1.exheres-0 b/packages/app-admin/supervisor/supervisor-3.3.1.exheres-0 new file mode 100644 index 0000000..765d957 --- /dev/null +++ b/packages/app-admin/supervisor/supervisor-3.3.1.exheres-0 @@ -0,0 +1,29 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require openrc-service [ openrc_confd_files=[ "${FILES}"/openrc/confd ] ] +require setup-py [ import=setuptools blacklist="3" ] +require pypi + +SUMMARY="A system for controlling process state under UNIX" +HOMEPAGE+=" http://supervisord.org/" + +LICENCES="repoze BSD-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + run: + dev-python/meld3[python_abis:*(-)?] + test: + dev-python/mock[python_abis:*(-)?] +" + +RESTRICT="test" # sydbox violations + +src_install() { + setup-py_src_install + install_openrc_files +} +