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/cheetah: ChangeLog cheetah-2.0.ebuild cheetah-2.0_rc8.ebuild cheetah-2.0_rc8-r1.ebuild
Date: Fri, 12 Oct 2007 23:56:39
Message-Id: E1IgUDF-0006Mk-Jq@stork.gentoo.org
1 pythonhead 07/10/12 23:46:37
2
3 Modified: ChangeLog
4 Added: cheetah-2.0.ebuild
5 Removed: cheetah-2.0_rc8.ebuild cheetah-2.0_rc8-r1.ebuild
6 Log:
7 Version bump, dropped old rc versions
8 (Portage version: 2.1.3.12)
9
10 Revision Changes Path
11 1.37 dev-python/cheetah/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 19 Jul 2007 18:06:40 -0000 1.36
24 +++ ChangeLog 12 Oct 2007 23:46:37 -0000 1.37
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/cheetah
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.36 2007/07/19 18:06:40 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.37 2007/10/12 23:46:37 pythonhead Exp $
30 +
31 +*cheetah-2.0 (12 Oct 2007)
32 +
33 + 12 Oct 2007; Rob Cakebread <pythonhead@g.o>
34 + -cheetah-2.0_rc8.ebuild, -cheetah-2.0_rc8-r1.ebuild, +cheetah-2.0.ebuild:
35 + Version bump, dropped old rc versions
36
37 19 Jul 2007; Fabian Groffen <grobian@g.o> cheetah-0.9.17.ebuild,
38 cheetah-0.9.18.ebuild, cheetah-1.0.ebuild, cheetah-2.0_rc8.ebuild:
39
40
41
42 1.1 dev-python/cheetah/cheetah-2.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/cheetah-2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/cheetah-2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cheetah-2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/cheetah-2.0.ebuild,v 1.1 2007/10/12 23:46:37 pythonhead Exp $
52
53 NEED_PYTHON=2.2
54
55 inherit distutils
56
57 MY_PN=Cheetah
58 MY_P=${MY_PN}-${PV/_}
59
60 DESCRIPTION="Python-powered template engine and code generator."
61 HOMEPAGE="http://www.cheetahtemplate.org/"
62 SRC_URI="mirror://sourceforge/cheetahtemplate/${MY_P}.tar.gz"
63 LICENSE="PSF-2.2"
64 IUSE=""
65 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
66 SLOT="0"
67
68 DEPEND="dev-python/setuptools"
69 RDEPEND=""
70
71 S=${WORKDIR}/${MY_P}
72 PYTHON_MODNAME="Cheetah"
73 DOCS="README CHANGES TODO"
74 #Wacky setup.py, must have for Python 2.4:
75 export CHEETAH_USE_SETUPTOOLS='true'
76
77 pkg_postinst() {
78 ewarn "This release requires re-compilation of all compiled templates!"
79 }
80
81 src_test() {
82 #We need to do the sed here because files don't exist until after src_build
83 local p="$(ls -d ${S}/build/lib.* )"
84 local s="$(ls -d ${S}/build/scripts*)"
85 sed -i \
86 -e "s:\(self\.go(\"\)\(${PN}\):\1PYTHONPATH=\'${p}\' \'${s}/\2\':" \
87 src/Tests/CheetahWrapper.py || die "sed failed"
88
89 PYTHONPATH="${p}" "${python}" src/Tests/Test.py || die "tests failed"
90 }
91
92
93
94 --
95 gentoo-commits@g.o mailing list