1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
8 PYTHON_REQ_USE="threads"
10 inherit apache-module eutils python-single-r1
12 DESCRIPTION="An Apache2 module for running Python WSGI applications"
13 HOMEPAGE="https://code.google.com/p/modwsgi/"
14 SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
18 KEYWORDS="amd64 ppc x86"
24 APACHE2_MOD_CONF="70_${PN}"
25 APACHE2_MOD_DEFINE="WSGI"
32 econf --with-apxs=${APXS} --with-python=${PYTHON}