commit 4e4542ac64c48bae25287613d7b5eedba7c81ef3
parent 1a7f05e515d3dcbdd81b9cc5250a1db2a1cf7a31
Author: Dan Callaghan <djc@djc.id.au>
Date: Thu, 30 Jun 2011 15:27:47 +1000
mod_wsgi
Diffstat:
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/metadata/categories.conf b/metadata/categories.conf
@@ -1,3 +1,4 @@
+apache-mod
app-backup
app-text
dev-haskell
diff --git a/packages/apache-mod/mod_wsgi/mod_wsgi-3.3.exheres-0 b/packages/apache-mod/mod_wsgi/mod_wsgi-3.3.exheres-0
@@ -0,0 +1,27 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require googlecode [ project=modwsgi suffix=tar.gz ]
+
+SUMMARY="Apache module for hosting Python WSGI applications"
+
+LICENCES="Apache-2.0"
+SLOT="0"
+PLATFORMS="~x86 ~amd64"
+
+DEPENDENCIES="
+ build+run:
+ www-servers/apache
+ dev-lang/python[>=2.3]
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_install() {
+ default
+ insinto /etc/apache2/modules.d
+ hereins 70_${PN}.conf <<EOF
+LoadModule wsgi_module libexec/apache2/modules/mod_wsgi.so
+EOF
+}
+