pkgsrc/www/py-mod_wsgi/Makefile
adam bb7b62dd02 py-mod_wsgi: updated to 4.6.5
Version 4.6.5

Bugs Fixed
* When running mod_wsgi-express and serving up static files from the document root, and the WSGI application was mounted at a sub URL using --mount-point, the static files in the document root outside of the mount point for the WSGI application would no longer be accessible.
* If no system mime types file can be found, fall back to /dev/null so that Apache can still at least start up.

Features Changed
* On macOS, use /var/tmp as default parent directory for server root directory rather than value of $TMPDIR. The latter can produce a path which is too long and UNIX socket cannot be written there.

New Features
* Now possible to use mod_wsgi-express in an a zipapp created using shiv. This entailed a special workaround to detect when shiv was used, so that the unpacked site-packages directory could be added to the Python module search path for mod_wsgi-express.
2018-12-11 09:46:23 +00:00

24 lines
696 B
Makefile

# $NetBSD: Makefile,v 1.18 2018/12/11 09:46:23 adam Exp $
DISTNAME= mod_wsgi-4.6.5
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"