summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2015-01-25 12:00:28 +0000
committeradam <adam@pkgsrc.org>2015-01-25 12:00:28 +0000
commitc06e1a89a691e2a615781a3baf20d130d31508d1 (patch)
treee63d5f58084ff0a88a6fcb57ada1dc6c5867c9c4 /www
parent06ec7bf1af1ad1c2a448b55584c81ea6e9cb55ba (diff)
downloadpkgsrc-c06e1a89a691e2a615781a3baf20d130d31508d1.tar.gz
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.
Diffstat (limited to 'www')
-rw-r--r--www/py-mod_wsgi/ALTERNATIVES1
-rw-r--r--www/py-mod_wsgi/DESCR5
-rw-r--r--www/py-mod_wsgi/MESSAGE9
-rw-r--r--www/py-mod_wsgi/Makefile34
-rw-r--r--www/py-mod_wsgi/PLIST158
-rw-r--r--www/py-mod_wsgi/distinfo5
6 files changed, 212 insertions, 0 deletions
diff --git a/www/py-mod_wsgi/ALTERNATIVES b/www/py-mod_wsgi/ALTERNATIVES
new file mode 100644
index 00000000000..906ca506d7e
--- /dev/null
+++ b/www/py-mod_wsgi/ALTERNATIVES
@@ -0,0 +1 @@
+bin/mod_wsgi-express @PREFIX@/bin/mod_wsgi-express@PYVERSSUFFIX@
diff --git a/www/py-mod_wsgi/DESCR b/www/py-mod_wsgi/DESCR
new file mode 100644
index 00000000000..f5fd2d9e934
--- /dev/null
+++ b/www/py-mod_wsgi/DESCR
@@ -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.
diff --git a/www/py-mod_wsgi/MESSAGE b/www/py-mod_wsgi/MESSAGE
new file mode 100644
index 00000000000..777ef03b9fa
--- /dev/null
+++ b/www/py-mod_wsgi/MESSAGE
@@ -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
+
+===========================================================================
diff --git a/www/py-mod_wsgi/Makefile b/www/py-mod_wsgi/Makefile
new file mode 100644
index 00000000000..01360900753
--- /dev/null
+++ b/www/py-mod_wsgi/Makefile
@@ -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"
diff --git a/www/py-mod_wsgi/PLIST b/www/py-mod_wsgi/PLIST
new file mode 100644
index 00000000000..96fc52d5c8e
--- /dev/null
+++ b/www/py-mod_wsgi/PLIST
@@ -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
diff --git a/www/py-mod_wsgi/distinfo b/www/py-mod_wsgi/distinfo
new file mode 100644
index 00000000000..f533af06d09
--- /dev/null
+++ b/www/py-mod_wsgi/distinfo
@@ -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