Gentoo Archives: gentoo-commits

From: "Rob Cakebread (pythonhead)" <pythonhead@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/cherrypy: ChangeLog cherrypy-2.3.0.ebuild
Date: Wed, 02 Jul 2008 05:32:28
Message-Id: E1KDux5-0007xi-1L@stork.gentoo.org
1 pythonhead 08/07/02 05:32:23
2
3 Modified: ChangeLog
4 Added: cherrypy-2.3.0.ebuild
5 Log:
6 Version bump. Dropped amd64, ia64 and ppc because of new dependency on webtest and its deps webob and wsgiref
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 i686)
8
9 Revision Changes Path
10 1.29 dev-python/cherrypy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cherrypy/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cherrypy/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cherrypy/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 29 Apr 2008 02:03:25 -0000 1.28
23 +++ ChangeLog 2 Jul 2008 05:32:22 -0000 1.29
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/cherrypy
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.28 2008/04/29 02:03:25 pythonhead Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.29 2008/07/02 05:32:22 pythonhead Exp $
29 +
30 +*cherrypy-2.3.0 (02 Jul 2008)
31 +
32 + 02 Jul 2008; Rob Cakebread <pythonhead@g.o> +cherrypy-2.3.0.ebuild:
33 + Version bump. Dropped amd64, ia64 and ppc because of new dependency on
34 + webtest and its deps webob and wsgiref
35
36 *cherrypy-3.0.3 (29 Apr 2008)
37
38
39
40
41 1.1 dev-python/cherrypy/cherrypy-2.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cherrypy/cherrypy-2.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cherrypy/cherrypy-2.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cherrypy-2.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/cherrypy-2.3.0.ebuild,v 1.1 2008/07/02 05:32:22 pythonhead Exp $
51
52 inherit eutils distutils
53
54 MY_P=CherryPy-${PV}
55
56 DESCRIPTION="CherryPy is a pythonic, object-oriented web development framework."
57 SRC_URI="http://download.cherrypy.org/cherrypy/${PV}/${MY_P}.tar.gz"
58 HOMEPAGE="http://www.cherrypy.org/"
59 IUSE="doc test"
60 SLOT="0"
61 KEYWORDS="~x86"
62 LICENSE="BSD"
63
64 DEPEND="dev-python/setuptools
65 test? ( >=dev-python/webtest-1.0 )
66 app-arch/unzip"
67 RDEPEND=""
68
69 S=${WORKDIR}/${MY_P}
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 #Remove test_cache_filter, only works outside of portage
76 sed -i \
77 -e '/raw_input/d' \
78 -e "/'test_cache_filter',/d" \
79 cherrypy/test/test.py || die "sed failed"
80 sed -i \
81 -e 's/"cherrypy.tutorial",//' \
82 -e "/('cherrypy\/tutorial',/, /),/d" \
83 -e 's/distutils.core/setuptools/' \
84 setup.py || die "sed failed"
85 }
86
87 src_install() {
88 distutils_src_install
89 if use doc ; then
90 insinto /usr/share/doc/${PF}
91 doins -r cherrypy/tutorial
92 fi
93 }
94
95 src_test() {
96 PYTHONPATH=. "${python}" cherrypy/test/test.py || die "test failed"
97 }
98
99
100
101 --
102 gentoo-commits@l.g.o mailing list