Added new mod_wsgi ebuild

git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@5726 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
Admin 2008-02-06 14:58:48 +00:00
parent c3f176e93b
commit 4052b0929e
5 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# ChangeLog for www-apache/mod_wsgi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_wsgi/ChangeLog,v 1.3 2008/01/31 19:16:52 hollow Exp $
31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> files/70_mod_wsgi.conf,
metadata.xml, mod_wsgi-1.0.ebuild:
fix depend.apache usage wrt #208033; update metadata; cleanup
10 Sep 2007; Benedikt Böhm <hollow@gentoo.org> metadata.xml:
fix metadata
*mod_wsgi-1.0 (08 Sep 2007)
08 Sep 2007; Benedikt Böhm <hollow@gentoo.org> +files/70_mod_wsgi.conf,
+metadata.xml, +mod_wsgi-1.0.ebuild:
initial version, #189209

View File

@ -0,0 +1,5 @@
AUX 70_mod_wsgi.conf 100 RMD160 60c74317eded93c727cc5ebb74e33f1e040d4187 SHA1 cf23e48a59c624cfc021dda43f3d16a899f4be3a SHA256 a4c1b49eb8c6d6609ad8ae8a9f8d6621f9f2bbc2c99addef3e2d6404ac364ed7
DIST mod_wsgi-1.3.tar.gz 72546 RMD160 1ba3744f3ff50b5fc3ebdda2ad9525fcf3dc0d98 SHA1 cedbf5507dd68938638ac52f135b49c13c61b81d SHA256 9d98176e1670df7d5b45e645a7536cc3201a598f4e2de8a0a0c788a6f1b01fee
EBUILD mod_wsgi-1.3.ebuild 794 RMD160 fbda026d620c64b4f9a2e18c8c70618610bdc83d SHA1 98767dc6a4a4a816771ed7b755590684691112d4 SHA256 2b8c158521a569c386be1f6021cb6fa286ccabf5e24f575d4cf440f5d93cb64f
MISC ChangeLog 638 RMD160 06c135dac647544611587b02590798b994ce4b71 SHA1 8d0d03fc7f9ad9a3ff2624c3ba42d8ee016b8711 SHA256 492950bdf792e1f19d76c12f34a30e90ef93672676c7936baefd981f651eec1b
MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe

View File

@ -0,0 +1,5 @@
<IfDefine WSGI>
LoadModule wsgi_module modules/mod_wsgi.so
</IfDefine>
# vim: ts=4 filetype=apache

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>apache</herd>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_wsgi/mod_wsgi-1.0.ebuild,v 1.2 2008/01/31 19:16:52 hollow Exp $
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_CONF="70_${PN}"
APACHE2_MOD_DEFINE="WSGI"
DOCFILES="README"
need_apache2
src_compile() {
econf --with-apxs=${APXS} || die "econf failed"
emake OPT="$(${APXS} -q CFLAGS) -fPIC" || die "econf failed"
}