b4ced1f37f
4.2.2 (2021-02-26) ------------------ - Fixed a bug where ``supervisord`` could crash if a subprocess exited immediately before trying to kill it. - Fixed a bug where the ``stdout_syslog`` and ``stderr_syslog`` options of a ``[program:x]`` section could not be used unless file logging for the same program had also been configured. The file and syslog options can now be used independently. Patch by Scott Stroupe. - Fixed a bug where the ``logfile`` option in the ``[supervisord]`` section would not log to syslog when the special filename of ``syslog`` was supplied, as is supported by all other log filename options. Patch by Franck Cuny. - Fixed a bug where environment variables defined in ``environment=`` in the ``[supervisord]`` section or a ``[program:x]`` section could not be used in ``%(ENV_x)s`` expansions. Patch by MythRen. - The ``supervisorctl signal`` command now allows a signal to be sent when a process is in the ``STOPPING`` state. Patch by Mike Gould. - ``supervisorctl`` and ``supervisord`` now print help when given ``-?`` in addition to the existing ``-h``/``--help``.
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2021/02/27 09:59:54 adam Exp $
|
|
|
|
DISTNAME= supervisor-4.2.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/supervisor/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://supervisord.org/
|
|
COMMENT= System for controlling process state under UNIX
|
|
LICENSE= original-bsd
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
.endif
|
|
|
|
REPLACE_PYTHON+= supervisor/scripts/*.py
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_STAGE.python= pre-build
|
|
SUBST_MESSAGE.python= Fixing Python path.
|
|
SUBST_FILES.python+= supervisor/tests/fixtures/unkillable_spew.py
|
|
SUBST_FILES.python+= supervisor/tests/fixtures/spew.py
|
|
SUBST_SED.python+= -e "s,<<PYTHON>>,${PYTHONBIN},"
|
|
|
|
post-install:
|
|
.for bin in echo_supervisord_conf pidproxy supervisorctl supervisord
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
|
|
.endfor
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|