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/cheetah: ChangeLog cheetah-2.4.0.ebuild
Date: Sun, 25 Oct 2009 13:22:50
Message-Id: E1N233G-0003Rj-0o@stork.gentoo.org
1 arfrever 09/10/25 13:22:30
2
3 Modified: ChangeLog
4 Added: cheetah-2.4.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 14724-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.51 dev-python/cheetah/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/ChangeLog?rev=1.51&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/ChangeLog?rev=1.51&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/ChangeLog?r1=1.50&r2=1.51
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v
19 retrieving revision 1.50
20 retrieving revision 1.51
21 diff -u -r1.50 -r1.51
22 --- ChangeLog 10 Oct 2009 12:33:28 -0000 1.50
23 +++ ChangeLog 25 Oct 2009 13:22:29 -0000 1.51
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/cheetah
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.50 2009/10/10 12:33:28 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.51 2009/10/25 13:22:29 arfrever Exp $
29 +
30 +*cheetah-2.4.0 (25 Oct 2009)
31 +
32 + 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +cheetah-2.4.0.ebuild:
34 + Version bump.
35
36 10 Oct 2009; Fabian Groffen <grobian@g.o> cheetah-2.2.2.ebuild:
37 Merge from Prefix
38
39
40
41 1.1 dev-python/cheetah/cheetah-2.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/cheetah-2.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cheetah/cheetah-2.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cheetah-2.4.0.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/cheetah/cheetah-2.4.0.ebuild,v 1.1 2009/10/25 13:22:29 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
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/ http://rtyler.github.com/cheetah/ http://pypi.python.org/pypi/Cheetah"
62 SRC_URI="http://pypi.python.org/packages/source/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
63
64 LICENSE="PSF-2.2"
65 IUSE=""
66 KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
67 SLOT="0"
68
69 RDEPEND="dev-python/markdown"
70 DEPEND="${RDEPEND}
71 dev-python/setuptools"
72 RESTRICT_PYTHON_ABIS="3.*"
73
74 S="${WORKDIR}/${MY_P}"
75
76 PYTHON_MODNAME="Cheetah"
77 DOCS="CHANGES README.markdown TODO"
78
79 src_test() {
80 # Disable broken tests.
81 sed \
82 -e "/Unicode/d" \
83 -e "s/if not sys.platform.startswith('java'):/if False:/" \
84 -i cheetah/Tests/Test.py || die "sed failed"
85
86 testing() {
87 PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" cheetah/Tests/Test.py
88 }
89 python_execute_function testing
90 }
91
92 src_install() {
93 [[ -z "${ED}" ]] && local ED="${D}"
94 distutils_src_install
95 rm -fr "${ED}"usr/lib*/python*/site-packages/Cheetah/Tests
96 }