6ec0daca4c
4.80: fix possible race condition when creating instances with instancemode "single"
30 lines
963 B
Makefile
30 lines
963 B
Makefile
# $NetBSD: Makefile,v 1.27 2020/05/03 18:28:10 adam Exp $
|
|
|
|
DISTNAME= Pyro4-4.80
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/irmen/Pyro4
|
|
COMMENT= Distributed Object Technology system in Python
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-serpent>=1.27:../../devel/py-serpent
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pyro4-check-config pyro4-check-config-${PYVERSSUFFIX} && \
|
|
${MV} pyro4-flameserver pyro4-flameserver-${PYVERSSUFFIX} && \
|
|
${MV} pyro4-httpgateway pyro4-httpgateway-${PYVERSSUFFIX} && \
|
|
${MV} pyro4-ns pyro4-ns-${PYVERSSUFFIX} && \
|
|
${MV} pyro4-nsc pyro4-nsc-${PYVERSSUFFIX} && \
|
|
${MV} pyro4-test-echoserver pyro4-test-echoserver-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/tests && ${PYTHONBIN} run_testsuite.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|