diff options
author | Stefan Kuhn <wuodan@hispeed.ch> | 2012-07-20 09:57:51 +0200 |
---|---|---|
committer | Stefan Kuhn <wuodan@hispeed.ch> | 2012-07-20 09:57:51 +0200 |
commit | 394191b36f04b594d6f5dc7dd9f6d482b84e4bbc (patch) | |
tree | 9229ba066c3125c05f209c66050d7c27fe3a4c33 | |
parent | Fix for: (diff) | |
download | wuodan-394191b36f04b594d6f5dc7dd9f6d482b84e4bbc.tar.gz wuodan-394191b36f04b594d6f5dc7dd9f6d482b84e4bbc.tar.bz2 wuodan-394191b36f04b594d6f5dc7dd9f6d482b84e4bbc.zip |
adding www-apache/mod_wsgi 9999.ebuild
-rw-r--r-- | www-apache/mod_wsgi/Manifest | 3 | ||||
-rw-r--r-- | www-apache/mod_wsgi/files/70_mod_wsgi.conf | 5 | ||||
-rw-r--r-- | www-apache/mod_wsgi/metadata.xml | 12 | ||||
-rw-r--r-- | www-apache/mod_wsgi/mod_wsgi-9999.ebuild | 45 |
4 files changed, 65 insertions, 0 deletions
diff --git a/www-apache/mod_wsgi/Manifest b/www-apache/mod_wsgi/Manifest new file mode 100644 index 0000000..7ea7837 --- /dev/null +++ b/www-apache/mod_wsgi/Manifest @@ -0,0 +1,3 @@ +AUX 70_mod_wsgi.conf 100 RMD160 60c74317eded93c727cc5ebb74e33f1e040d4187 SHA1 cf23e48a59c624cfc021dda43f3d16a899f4be3a SHA256 a4c1b49eb8c6d6609ad8ae8a9f8d6621f9f2bbc2c99addef3e2d6404ac364ed7 +EBUILD mod_wsgi-9999.ebuild 877 RMD160 f321ec82a0b8871391dccce3660ddab150480f0b SHA1 b4234d84e22a666a6ee7beb9c2ca8313c0bd11ab SHA256 929a243ae4da59b48fd3db85ddec64c344e45bc97b6d1f747eb784a77f5ff67d +MISC metadata.xml 329 RMD160 412cac15e9ba6e99c777189614ce1b39b4c13ed7 SHA1 9517e1f536f4e680c0cfa0299980f95a86a51ea3 SHA256 f1cf1f56ee39fe4faed1af70d24b369040e395e3fe8ce95f7f9c0394ec5cde6c diff --git a/www-apache/mod_wsgi/files/70_mod_wsgi.conf b/www-apache/mod_wsgi/files/70_mod_wsgi.conf new file mode 100644 index 0000000..3fabc59 --- /dev/null +++ b/www-apache/mod_wsgi/files/70_mod_wsgi.conf @@ -0,0 +1,5 @@ +<IfDefine WSGI> +LoadModule wsgi_module modules/mod_wsgi.so +</IfDefine> + +# vim: ts=4 filetype=apache diff --git a/www-apache/mod_wsgi/metadata.xml b/www-apache/mod_wsgi/metadata.xml new file mode 100644 index 0000000..7a75945 --- /dev/null +++ b/www-apache/mod_wsgi/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>apache</herd> + <maintainer> + <email>djc@gentoo.org</email> + <name>Dirkjan Ochtman</name> + </maintainer> + <upstream> + <remote-id type="google-code">modwsgi</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-apache/mod_wsgi/mod_wsgi-9999.ebuild b/www-apache/mod_wsgi/mod_wsgi-9999.ebuild new file mode 100644 index 0000000..8a7ca57 --- /dev/null +++ b/www-apache/mod_wsgi/mod_wsgi-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_wsgi/mod_wsgi-3.3.ebuild,v 1.5 2011/04/22 21:58:23 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="*" +PYTHON_USE_WITH="threads" + +inherit apache-module eutils python mercurial + +DESCRIPTION="An Apache2 module for running Python WSGI applications." +HOMEPAGE="http://code.google.com/p/modwsgi/" +EHG_REPO_URI="https://code.google.com/p/modwsgi" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +APACHE2_MOD_CONF="70_${PN}" +APACHE2_MOD_DEFINE="WSGI" + +DOCFILES="README" + +need_apache2 +S="${WORKDIR}/${PN}" + +src_configure() { + cd "${S}/${PN}" + econf --with-apxs=${APXS} +} + +src_compile() { + cd "${S}/${PN}" + default +} + +src_install() +{ + cd "${S}/${PN}" + emake DESTDIR="${D}" install || die "Install failed" +} |