# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" PYTHON_DEPEND="2:2.5" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" DISTUTILS_SRC_TEST="nosetests" inherit distutils eutils DESCRIPTION="A WSGI HTTP Server for UNIX" HOMEPAGE="http://gunicorn.org http://pypi.python.org/pypi/gunicorn" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" IUSE="doc examples test" KEYWORDS="~amd64 ~x86" RDEPEND="dev-python/setproctitle" DEPEND="dev-python/setuptools" DOCS="README.rst" src_prepare() { epatch "${FILESDIR}/${P}-"noegg.patch || die } src_install() { distutils_src_install use doc && dohtml -r doc/htdocs/* insinto "/usr/share/doc/${PF}" use examples && doins -r examples }