pkgsrc/sysutils/py-supervisor/Makefile
adam 1f9a050fa1 py-supervisor: updated to 4.2.1
4.2.1

- Fixed a bug on Python 3 where a network error could cause ``supervisord``
  to crash with the error ``<class 'TypeError'>:can't concat str to bytes``.
  Patch by Vinay Sajip.

- Fixed a bug where a test would fail on systems with glibc 2.3.1 because
  the default value of SOMAXCONN changed.
2020-09-10 10:24:30 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2020/09/10 10:24:30 adam Exp $
DISTNAME= supervisor-4.2.1
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"