Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/routes: ChangeLog routes-1.11.ebuild
Date: Tue, 29 Sep 2009 02:24:31
Message-Id: E1MsSOD-0003TA-77@stork.gentoo.org
1 arfrever 09/09/29 02:24:29
2
3 Modified: ChangeLog
4 Added: routes-1.11.ebuild
5 Log:
6 Version bump. Set SUPPORT_PYTHON_ABIS.
7 (Portage version: 14458-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.7 dev-python/routes/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 4 Sep 2009 17:37:15 -0000 1.6
23 +++ ChangeLog 29 Sep 2009 02:24:28 -0000 1.7
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/routes
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.6 2009/09/04 17:37:15 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.7 2009/09/29 02:24:28 arfrever Exp $
29 +
30 +*routes-1.11 (29 Sep 2009)
31 +
32 + 29 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +routes-1.11.ebuild:
34 + Version bump. Set SUPPORT_PYTHON_ABIS.
35
36 04 Sep 2009; Patrick Lauer <patrick@g.o> -routes-1.6.3.ebuild,
37 -routes-1.8.ebuild:
38
39
40
41 1.1 dev-python/routes/routes-1.11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/routes-1.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/routes-1.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: routes-1.11.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/routes/routes-1.11.ebuild,v 1.1 2009/09/29 02:24:28 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
54
55 inherit distutils
56
57 MY_PN="Routes"
58 MY_P="${MY_PN}-${PV}"
59
60 DESCRIPTION="A Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions."
61 HOMEPAGE="http://routes.groovie.org"
62 SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc test"
68
69 DEPEND="dev-python/setuptools
70 doc? ( dev-python/buildutils dev-python/pudge )
71 test? ( dev-python/coverage dev-python/nose )"
72 RDEPEND=""
73 RESTRICT_PYTHON_ABIS="3.*"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_compile() {
78 distutils_src_compile
79
80 if use doc; then
81 PYTHONPATH=. "${python}" setup.py pudge || die "Generation of documentation failed"
82 fi
83 }
84
85 src_test() {
86 testing() {
87 PYTHONPATH="build-${PYTHON_ABI}" nosetests-${PYTHON_ABI}
88 }
89 python_execute_function testing
90 }
91
92 src_install() {
93 distutils_src_install
94 use doc && dohtml -r docs/html/*
95 }