pkgsrc/sysutils/py-supervisor/Makefile
adam 7d814c04d3 py-supervisor: updated to 4.2.0
4.2.0:

- When ``supervisord`` is run in the foreground, a new ``--silent`` option
  suppresses the main log from being echoed to ``stdout`` as it normally
  would.

- Parsing ``command=`` now supports a new expansion, ``%(numprocs)d``, that
  expands to the value of ``numprocs=`` in the same section.

- Web UI buttons no longer use background images.

- The Web UI now has a link to view ``tail -f stderr`` for a process in
  addition to the existing ``tail -f stdout`` link.  Based on a
  patch by OuroborosCoding.

- The HTTP server will now send an ``X-Accel-Buffering: no`` header in
  logtail responses to fix Nginx proxy buffering.

- When ``supervisord`` reaps an unknown PID, it will now log a description
  of the ``waitpid`` status.

- Fixed a bug introduced in 4.0.3 where ``supervisorctl tail -f foo | grep bar``
  would fail with the error ``NoneType object has no attribute 'lower'``.  This
  only occurred on Python 2.7 and only when piped.
2020-05-27 14:56:15 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2020/05/27 14:56:15 adam Exp $
DISTNAME= supervisor-4.2.0
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"