Gentoo Archives: gentoo-commits

From: "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/gunicorn: ChangeLog gunicorn-0.16.1.ebuild
Date: Tue, 27 Nov 2012 03:20:11
Message-Id: 20121127032000.784F320C65@flycatcher.gentoo.org
1 rafaelmartins 12/11/27 03:20:00
2
3 Modified: ChangeLog
4 Added: gunicorn-0.16.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 www-servers/gunicorn/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gunicorn/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gunicorn/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gunicorn/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/gunicorn/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 24 Oct 2012 00:39:44 -0000 1.22
24 +++ ChangeLog 27 Nov 2012 03:20:00 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-servers/gunicorn
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/gunicorn/ChangeLog,v 1.22 2012/10/24 00:39:44 rafaelmartins Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/gunicorn/ChangeLog,v 1.23 2012/11/27 03:20:00 rafaelmartins Exp $
30 +
31 +*gunicorn-0.16.1 (27 Nov 2012)
32 +
33 + 27 Nov 2012; Rafael G. Martins <rafaelmartins@g.o>
34 + +gunicorn-0.16.1.ebuild:
35 + Version bump.
36
37 *gunicorn-0.15.0 (24 Oct 2012)
38
39
40
41
42 1.1 www-servers/gunicorn/gunicorn-0.16.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gunicorn/gunicorn-0.16.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gunicorn/gunicorn-0.16.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gunicorn-0.16.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-servers/gunicorn/gunicorn-0.16.1.ebuild,v 1.1 2012/11/27 03:20:00 rafaelmartins Exp $
52
53 EAPI="5"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="2.5 3.1 *-jython"
56 DISTUTILS_SRC_TEST="nosetests"
57
58 inherit distutils eutils
59
60 DESCRIPTION="A WSGI HTTP Server for UNIX"
61 HOMEPAGE="http://gunicorn.org http://pypi.python.org/pypi/gunicorn"
62 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 IUSE="doc test"
67 KEYWORDS="~amd64 ~x86"
68
69 RDEPEND="dev-python/setproctitle"
70 DEPEND="dev-python/setuptools
71 doc? ( dev-python/sphinx )
72 test? ( dev-python/pytest )"
73
74 DOCS="README.rst"
75
76 src_prepare() {
77 # these tests requires an already installed version of gunicorn
78 rm tests/test_003-config.py
79 }
80
81 src_compile() {
82 distutils_src_compile
83
84 if use doc; then
85 einfo "Generation of documentation"
86 cd docs
87 sphinx-build -b html source build || die "Generation of documentation failed"
88 fi
89 }
90
91 src_install() {
92 distutils_src_install
93
94 use doc && dohtml -r docs/build/
95 }