summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2007-09-07 14:51:12 +0000
committerDirkjan Ochtman <djc@gentoo.org>2007-09-07 14:51:12 +0000
commitbdb621b7048939e886aea56880def5c0d453099e (patch)
treeed71b04e0bf0bfb9d849c14b59ccc82280cff122 /www-apache
parentnet-mail/fdm: updated to 1.3c (diff)
downloadsunrise-bdb621b7048939e886aea56880def5c0d453099e.tar.gz
sunrise-bdb621b7048939e886aea56880def5c0d453099e.tar.bz2
sunrise-bdb621b7048939e886aea56880def5c0d453099e.zip
www-apache/mod_wsgi: New ebuild for bug 189209; thanks to Adrian Perez, jokey and mpagano_.
svn path=/sunrise/; revision=4564
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_wsgi/ChangeLog8
-rw-r--r--www-apache/mod_wsgi/Manifest4
-rw-r--r--www-apache/mod_wsgi/files/digest-mod_wsgi-1.03
-rw-r--r--www-apache/mod_wsgi/metadata.xml5
-rw-r--r--www-apache/mod_wsgi/mod_wsgi-1.0.ebuild35
5 files changed, 55 insertions, 0 deletions
diff --git a/www-apache/mod_wsgi/ChangeLog b/www-apache/mod_wsgi/ChangeLog
new file mode 100644
index 000000000..ebc211a8e
--- /dev/null
+++ b/www-apache/mod_wsgi/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for www-apache/mod_wsgi
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 07 Sep 2007; Dirkjan Ochtman (djc) <mail@manuzhai.nl> +metadata.xml,
+ +mod_wsgi-1.0.ebuild:
+ New ebuild for bug 189209; thanks to Adrian Perez, jokey and mpagano_.
+
diff --git a/www-apache/mod_wsgi/Manifest b/www-apache/mod_wsgi/Manifest
new file mode 100644
index 000000000..563f4b45e
--- /dev/null
+++ b/www-apache/mod_wsgi/Manifest
@@ -0,0 +1,4 @@
+DIST mod_wsgi-1.0.tar.gz 71455 RMD160 19dfb1e4562dc14b9865b20a0f5da695105ce2e6 SHA1 1fa7d76ff587c6c322f6aae6d69ee945ea7b5c6b SHA256 647a976558d73d9d3ab714542d45d2b03899cef921117e5cec9fb4a998d82b48
+EBUILD mod_wsgi-1.0.ebuild 742 RMD160 a9c0222ca0841851176ebf3806583e941fb8eb87 SHA1 22151be0c7b7657f6b83a3fec87dc5f1acd8a24f SHA256 01cd8847430c445558931ec50f37e15629e2d8bd162fd0149fb1de94dd222ed0
+MISC ChangeLog 289 RMD160 88602efaffc7736396383c3743267e5622e41066 SHA1 305d8dd600789beb908ac205d88ef0af475d0212 SHA256 a96afc868a370c35b8c9836e3d86097c86d654045671ebce4e7d69c9ba3ae4c4
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/www-apache/mod_wsgi/files/digest-mod_wsgi-1.0 b/www-apache/mod_wsgi/files/digest-mod_wsgi-1.0
new file mode 100644
index 000000000..0b914fe6b
--- /dev/null
+++ b/www-apache/mod_wsgi/files/digest-mod_wsgi-1.0
@@ -0,0 +1,3 @@
+MD5 44e20174c127a50a75f040f881b0a52c mod_wsgi-1.0.tar.gz 71455
+RMD160 19dfb1e4562dc14b9865b20a0f5da695105ce2e6 mod_wsgi-1.0.tar.gz 71455
+SHA256 647a976558d73d9d3ab714542d45d2b03899cef921117e5cec9fb4a998d82b48 mod_wsgi-1.0.tar.gz 71455
diff --git a/www-apache/mod_wsgi/metadata.xml b/www-apache/mod_wsgi/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/www-apache/mod_wsgi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/www-apache/mod_wsgi/mod_wsgi-1.0.ebuild b/www-apache/mod_wsgi/mod_wsgi-1.0.ebuild
new file mode 100644
index 000000000..bc0b9c7b1
--- /dev/null
+++ b/www-apache/mod_wsgi/mod_wsgi-1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit apache-module
+
+MY_P="${P/_r/}"
+DESCRIPTION="An Apache2 module for running Python WSGI applications."
+HOMEPAGE="http://code.google.com/p/modwsgi/"
+SRC_URI="http://modwsgi.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+APACHE2_MOD_DEFINE="WSGI"
+APACHE2_SAFE_MPMS="worker prefork"
+DOCFILES="README"
+
+need_apache2
+
+src_compile() {
+ econf --with-apxs=${APXS2} || die "econf failed"
+ emake OPT="`apxs2 -q CFLAGS` -fPIC" || die "econf failed"
+}
+
+pkg_postinst() {
+ apache-module_pkg_postinst
+}