Gentoo Archives: gentoo-commits

From: "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/falcon: ChangeLog falcon-0.1.6.ebuild falcon-0.1.4.ebuild
Date: Sat, 18 May 2013 19:55:50
Message-Id: 20130518195542.E39F92171D@flycatcher.gentoo.org
1 rafaelmartins 13/05/18 19:55:42
2
3 Modified: ChangeLog
4 Added: falcon-0.1.6.ebuild
5 Removed: falcon-0.1.4.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key )
10
11 Revision Changes Path
12 1.2 dev-python/falcon/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/falcon/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/falcon/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/falcon/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/falcon/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 11 May 2013 20:49:15 -0000 1.1
25 +++ ChangeLog 18 May 2013 19:55:42 -0000 1.2
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/falcon
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/falcon/ChangeLog,v 1.1 2013/05/11 20:49:15 rafaelmartins Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/falcon/ChangeLog,v 1.2 2013/05/18 19:55:42 rafaelmartins Exp $
31 +
32 +*falcon-0.1.6 (18 May 2013)
33 +
34 + 18 May 2013; Rafael G. Martins <rafaelmartins@g.o>
35 + -falcon-0.1.4.ebuild, +falcon-0.1.6.ebuild:
36 + Version bump.
37
38 *falcon-0.1.4 (11 May 2013)
39
40
41
42
43 1.1 dev-python/falcon/falcon-0.1.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/falcon/falcon-0.1.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/falcon/falcon-0.1.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: falcon-0.1.6.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/falcon/falcon-0.1.6.ebuild,v 1.1 2013/05/18 19:55:42 rafaelmartins Exp $
53
54 EAPI=5
55
56 # Python 2.6 is supported, but depends on ordereddict, that isn't packaged for
57 # Gentoo, and I don't think it is worth to maintain it. If someone needs it,
58 # please let me know. PyPy also works, but needs testing.
59 PYTHON_COMPAT=( python{2_7,3_3} )
60
61 inherit distutils-r1
62
63 DESCRIPTION="A supersonic micro-framework for building cloud APIs."
64 HOMEPAGE="http://falconframework.org/ https://pypi.python.org/pypi/falcon"
65 SRC_URI="https://github.com/racker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
66
67 LICENSE="Apache-2.0"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="+cython test"
71
72 RDEPEND="dev-python/six[${PYTHON_USEDEP}]
73 cython? (
74 dev-python/cython[${PYTHON_USEDEP}] )"
75
76 DEPEND="${RDEPEND}
77 dev-python/setuptools[${PYTHON_USEDEP}]
78 test? (
79 dev-python/cython[${PYTHON_USEDEP}]
80 dev-python/nose[${PYTHON_USEDEP}]
81 dev-python/testtools[${PYTHON_USEDEP}] )"
82
83 python_test() {
84 nosetests || die "Testing failed with ${EPYTHON}"
85 }
86
87 src_prepare() {
88 if ! use cython; then
89 sed -i -e 's/if with_cython:/if False:/' setup.py \
90 || die 'sed failed.'
91 fi
92 }