app-admin/supervisor: initial import of version 3.3.1

This commit is contained in:
Julian Ospald 2016-08-13 17:21:27 +02:00
parent 0eb6a7abe8
commit 73f979c914
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# /etc/conf.d/supervisord
# Options to pass to the supervisord process
SUPD_OPTS=""

View File

@ -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"

View File

@ -0,0 +1,29 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# 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
}