02bf0c4992
Version 4.6.7: Bugs Fixed Fix Windows build errors due to Python 3.7+ not providing empty function stubs for PyOS_AfterFork_Child() and PyOS_AfterFork_Parent(). Version 4.6.6: Bugs Fixed Fix compilation failures when using Python 3.8. Features Changed When running mod_wsgi-express it will do a search for the location of bash and sh when defining the shell to use for the generated apachectl. The shell used can be overridden using --shell-executable option. This is to get around issue with FreeBSD not having /bin/bash. New Features The Apache request ID is accessible in request events as request_id. The per request data dictionary accessible using mod_wsgi.request_data() is now also accessible in events as request_data.
24 lines
695 B
Makefile
24 lines
695 B
Makefile
# $NetBSD: Makefile,v 1.19 2019/07/03 19:50:33 adam Exp $
|
|
|
|
DISTNAME= mod_wsgi-4.6.7
|
|
PKGNAME= ${PYPKGPREFIX}-${APACHE_PKG_PREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mod_wsgi/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.modwsgi.org/
|
|
COMMENT= WSGI module for apache
|
|
LICENSE= apache-2.0
|
|
|
|
APACHE_MODULE= yes
|
|
MESSAGE_SUBST+= PYSITELIB=${PYSITELIB}
|
|
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} mod_wsgi-express mod_wsgi-express-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|