pkgsrc/www/py-mod_wsgi/Makefile
adam 27f5320f06 Changes 4.4.12:
Bugs Fixed
1. If the WSGI application when run under daemon mode returned response content as many small blocks, this could result in excessive memory usage in the Apache child worker process proxying the request due to many buckets being buffered until the buffer size threshold was reached. If the number of buckets reaches a builtin threshold the buffered data will now be forcibly flushed even if the size threshold hadn’t been reached.
2015-06-10 10:37:06 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2015/06/10 10:37:06 adam Exp $
DISTNAME= mod_wsgi-4.4.12
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= http://pypi.python.org/packages/source/m/mod_wsgi/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://code.google.com/p/modwsgi/
COMMENT= WSGI module for apache
LICENSE= apache-2.0
PKG_APACHE_ACCEPTED= apache22 apache24
DEPENDS+= ${PYPKGPREFIX}-mod_wsgi-metrics>=1.0.0:../../www/py-mod_wsgi-metrics
APACHE_MODULE= yes
MESSAGE_SUBST+= PYSITELIB=${PYSITELIB}
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
# __init__.py is the same as in mod_wsgi-metrics; remove it to avoid conflict
post-extract:
${RM} -f ${WRKSRC}/src/__init__.py
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/mod_wsgi-express \
${DESTDIR}${PREFIX}/bin/mod_wsgi-express${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"