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