The mod_wsgi package provides an Apache module that implements a WSGI compliant interface for hosting Python based web applications on top of the Apache web server.

This commit is contained in:
adam 2015-01-25 12:00:28 +00:00
parent fdc2f89622
commit 19590c30a5
6 changed files with 212 additions and 0 deletions

View file

@ -0,0 +1 @@
bin/mod_wsgi-express @PREFIX@/bin/mod_wsgi-express@PYVERSSUFFIX@

5
www/py-mod_wsgi/DESCR Normal file
View file

@ -0,0 +1,5 @@
The aim of mod_wsgi is to implement a simple to use Apache module which can
host any Python application which supports the Python WSGI interface.
The module would be suitable for use in hosting high performance production web
sites, as well as your average personal sites running on commodity web hosting
services.

9
www/py-mod_wsgi/MESSAGE Normal file
View file

@ -0,0 +1,9 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2015/01/25 12:00:28 adam Exp $
In order to use this module in your Apache 2.x installation, you need to
add the following to your httpd.conf file:
LoadModule wsgi_module ${PYSITELIB}/mod_wsgi/server/mod_wsgi-${PYPKGPREFIX}.so
===========================================================================

34
www/py-mod_wsgi/Makefile Normal file
View file

@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.1 2015/01/25 12:00:28 adam Exp $
DISTNAME= mod_wsgi-4.4.6
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}
# __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"

158
www/py-mod_wsgi/PLIST Normal file
View file

@ -0,0 +1,158 @@
@comment $NetBSD: PLIST,v 1.1 2015/01/25 12:00:28 adam Exp $
bin/mod_wsgi-express${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/mod_wsgi/docs/.buildinfo
${PYSITELIB}/mod_wsgi/docs/__init__.py
${PYSITELIB}/mod_wsgi/docs/__init__.pyc
${PYSITELIB}/mod_wsgi/docs/__init__.pyo
${PYSITELIB}/mod_wsgi/docs/_images/dead-parrot.jpg
${PYSITELIB}/mod_wsgi/docs/_sources/index.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/index.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.3.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.4.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.5.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-1.6.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.3.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.4.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.5.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.6.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.7.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-2.8.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-3.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-3.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-3.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-3.3.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-3.4.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-3.5.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.1.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.1.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.1.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.1.3.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.3.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.4.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.5.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.6.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.7.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.2.8.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.3.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.3.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.3.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.0.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.1.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.2.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.3.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.4.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.5.txt
${PYSITELIB}/mod_wsgi/docs/_sources/release-notes/version-4.4.6.txt
${PYSITELIB}/mod_wsgi/docs/_static/ajax-loader.gif
${PYSITELIB}/mod_wsgi/docs/_static/basic.css
${PYSITELIB}/mod_wsgi/docs/_static/comment-bright.png
${PYSITELIB}/mod_wsgi/docs/_static/comment-close.png
${PYSITELIB}/mod_wsgi/docs/_static/comment.png
${PYSITELIB}/mod_wsgi/docs/_static/css/badge_only.css
${PYSITELIB}/mod_wsgi/docs/_static/css/theme.css
${PYSITELIB}/mod_wsgi/docs/_static/doctools.js
${PYSITELIB}/mod_wsgi/docs/_static/down-pressed.png
${PYSITELIB}/mod_wsgi/docs/_static/down.png
${PYSITELIB}/mod_wsgi/docs/_static/file.png
${PYSITELIB}/mod_wsgi/docs/_static/fonts/fontawesome-webfont.eot
${PYSITELIB}/mod_wsgi/docs/_static/fonts/fontawesome-webfont.svg
${PYSITELIB}/mod_wsgi/docs/_static/fonts/fontawesome-webfont.ttf
${PYSITELIB}/mod_wsgi/docs/_static/fonts/fontawesome-webfont.woff
${PYSITELIB}/mod_wsgi/docs/_static/jquery.js
${PYSITELIB}/mod_wsgi/docs/_static/js/theme.js
${PYSITELIB}/mod_wsgi/docs/_static/minus.png
${PYSITELIB}/mod_wsgi/docs/_static/plus.png
${PYSITELIB}/mod_wsgi/docs/_static/pygments.css
${PYSITELIB}/mod_wsgi/docs/_static/searchtools.js
${PYSITELIB}/mod_wsgi/docs/_static/underscore.js
${PYSITELIB}/mod_wsgi/docs/_static/up-pressed.png
${PYSITELIB}/mod_wsgi/docs/_static/up.png
${PYSITELIB}/mod_wsgi/docs/_static/websupport.js
${PYSITELIB}/mod_wsgi/docs/genindex.html
${PYSITELIB}/mod_wsgi/docs/index.html
${PYSITELIB}/mod_wsgi/docs/objects.inv
${PYSITELIB}/mod_wsgi/docs/release-notes/index.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.3.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.4.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.5.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-1.6.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.3.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.4.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.5.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.6.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.7.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-2.8.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-3.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-3.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-3.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-3.3.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-3.4.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-3.5.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.1.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.1.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.1.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.1.3.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.3.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.4.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.5.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.6.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.7.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.2.8.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.3.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.3.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.3.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.0.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.1.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.2.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.3.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.4.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.5.html
${PYSITELIB}/mod_wsgi/docs/release-notes/version-4.4.6.html
${PYSITELIB}/mod_wsgi/docs/search.html
${PYSITELIB}/mod_wsgi/docs/searchindex.js
${PYSITELIB}/mod_wsgi/images/__init__.py
${PYSITELIB}/mod_wsgi/images/__init__.pyc
${PYSITELIB}/mod_wsgi/images/__init__.pyo
${PYSITELIB}/mod_wsgi/images/snake-whiskey.jpg
${PYSITELIB}/mod_wsgi/server/__init__.py
${PYSITELIB}/mod_wsgi/server/__init__.pyc
${PYSITELIB}/mod_wsgi/server/__init__.pyo
${PYSITELIB}/mod_wsgi/server/apxs_config.py
${PYSITELIB}/mod_wsgi/server/apxs_config.pyc
${PYSITELIB}/mod_wsgi/server/apxs_config.pyo
${PYSITELIB}/mod_wsgi/server/management/__init__.py
${PYSITELIB}/mod_wsgi/server/management/__init__.pyc
${PYSITELIB}/mod_wsgi/server/management/__init__.pyo
${PYSITELIB}/mod_wsgi/server/management/commands/__init__.py
${PYSITELIB}/mod_wsgi/server/management/commands/__init__.pyc
${PYSITELIB}/mod_wsgi/server/management/commands/__init__.pyo
${PYSITELIB}/mod_wsgi/server/management/commands/runmodwsgi.py
${PYSITELIB}/mod_wsgi/server/management/commands/runmodwsgi.pyc
${PYSITELIB}/mod_wsgi/server/management/commands/runmodwsgi.pyo
${PYSITELIB}/mod_wsgi/server/mod_wsgi-${PYPKGPREFIX}.so

5
www/py-mod_wsgi/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/01/25 12:00:28 adam Exp $
SHA1 (mod_wsgi-4.4.6.tar.gz) = 441834e243364dc0e89c52bdb16227c630c7dc1e
RMD160 (mod_wsgi-4.4.6.tar.gz) = 566bf10f97eb0ee21d7978957c65f038eec8574c
Size (mod_wsgi-4.4.6.tar.gz) = 966200 bytes