Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/chameleon: chameleon-2.6.1.ebuild ChangeLog
Date: Fri, 30 Dec 2011 04:26:43
Message-Id: 20111230042633.BD7EF2004B@flycatcher.gentoo.org
1 patrick 11/12/30 04:26:33
2
3 Modified: ChangeLog
4 Added: chameleon-2.6.1.ebuild
5 Log:
6 Bump for #393593
7
8 (Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 dev-python/chameleon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/chameleon/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/chameleon/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/chameleon/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/chameleon/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 14 Sep 2011 08:26:17 -0000 1.6
24 +++ ChangeLog 30 Dec 2011 04:26:33 -0000 1.7
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/chameleon
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chameleon/ChangeLog,v 1.6 2011/09/14 08:26:17 djc Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/chameleon/ChangeLog,v 1.7 2011/12/30 04:26:33 patrick Exp $
30 +
31 +*chameleon-2.6.1 (30 Dec 2011)
32 +
33 + 30 Dec 2011; Patrick Lauer <patrick@g.o> +chameleon-2.6.1.ebuild:
34 + Bump for #393593
35
36 *chameleon-2.4.3 (14 Sep 2011)
37
38
39
40
41 1.1 dev-python/chameleon/chameleon-2.6.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/chameleon/chameleon-2.6.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/chameleon/chameleon-2.6.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: chameleon-2.6.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/chameleon/chameleon-2.6.1.ebuild,v 1.1 2011/12/30 04:26:33 patrick Exp $
51
52 EAPI=3
53
54 SUPPORT_PYTHON_ABIS=1
55 PYTHON_DEPEND="2:2.7 3"
56 RESTRICT_PYTHON_ABIS="2.[456]"
57 DISTUTILS_SRC_TEST="setup.py"
58
59 inherit distutils
60
61 MY_PN="Chameleon"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="Fast HTML/XML template compiler for Python"
65 HOMEPAGE="http://chameleon.repoze.org http://pypi.python.org/pypi/Chameleon"
66 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
67
68 LICENSE="repoze"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="doc test"
72
73 DEPEND="dev-python/setuptools
74 doc? ( dev-python/sphinx )"
75 RDEPEND=""
76
77 S="${WORKDIR}/${MY_P}"
78
79 src_compile() {
80 distutils_src_compile
81
82 if use doc ; then
83 emake html || die "make html failed"
84 fi
85 }
86
87 src_install() {
88 distutils_src_install
89
90 delete_tests_and_incompatible_modules() {
91 rm -fr "${ED}$(python_get_sitedir)/chameleon/tests"
92
93 if [[ "$(python_get_version -l --major)" == "3" ]]; then
94 rm -f "${ED}$(python_get_sitedir)/chameleon/"{benchmark.py,py25.py}
95 fi
96 }
97 python_execute_function -q delete_tests_and_incompatible_modules
98
99 if use doc; then
100 pushd _build/html > /dev/null
101 insinto /usr/share/doc/${PF}/html
102 doins -r [a-z]* _static
103 popd > /dev/null
104 fi
105 }