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