37ff838249
Pyro 4.76 - corrected bogus space in worker thread name - thread server can now be cleanly stopped with SIGINT / Ctrl-C on Windows (if the selectors module is available which is also used by the multiplex server) - the behavior of the NATPORT config item has been corrected to be in line with the API behavior of the Daemon: if you leave this at 0 (the default), it will now correctly replicate the internal port number as NAT port (instead of crashing with a configuration error) - certs are now included in sdist archive so the ssl unit tests also run as intended - now correctly checks for write access to the correct logfile location, instead of assuming the current directory
30 lines
963 B
Makefile
30 lines
963 B
Makefile
# $NetBSD: Makefile,v 1.25 2019/06/21 11:20:32 adam Exp $
|
|
|
|
DISTNAME= Pyro4-4.76
|
|
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"
|