/[gentoo-x86]/www-servers/gunicorn/gunicorn-0.13.4.ebuild
Gentoo

Contents of /www-servers/gunicorn/gunicorn-0.13.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jan 28 15:16:40 2012 UTC (3 years, 6 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #400527

(Portage version: 2.1.10.44/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/gunicorn/gunicorn-0.13.4.ebuild,v 1.2 2012/01/27 17:06:49 ago Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2:2.5"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
9
10 inherit distutils
11
12 DESCRIPTION="A WSGI HTTP Server for UNIX, fast clients and nothing else"
13 HOMEPAGE="http://gunicorn.org http://pypi.python.org/pypi/gunicorn"
14 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15
16 LICENSE="MIT"
17 SLOT="0"
18 IUSE="doc examples test"
19 KEYWORDS="amd64 x86"
20
21 RDEPEND="dev-python/setproctitle"
22 DEPEND="dev-python/setuptools
23 test? ( dev-python/nose )"
24
25 # tests are failing randomly.
26 RESTRICT="test"
27
28 DOCS="README.rst"
29
30 src_install() {
31 distutils_src_install
32 use doc && dohtml -r doc/htdocs/*
33 insinto "/usr/share/doc/${PF}"
34 use examples && doins -r examples
35 }
36
37 src_test() {
38 # distutils_src_test doesn't works if gunicorn isn't installed yet
39 testing() {
40 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py test
41 }
42 python_execute_function testing
43 }

  ViewVC Help
Powered by ViewVC 1.1.20