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