1 |
mgorny 13/03/26 19:01:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: celementtree-1.0.5-r2.ebuild |
5 |
Log: |
6 |
Migrate to distutils-r1. Switch examples to USE=examples (rather than USE=doc). |
7 |
|
8 |
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.31 dev-python/celementtree/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celementtree/ChangeLog?rev=1.31&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celementtree/ChangeLog?rev=1.31&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celementtree/ChangeLog?r1=1.30&r2=1.31 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/celementtree/ChangeLog,v |
20 |
retrieving revision 1.30 |
21 |
retrieving revision 1.31 |
22 |
diff -u -r1.30 -r1.31 |
23 |
--- ChangeLog 22 Feb 2012 08:57:01 -0000 1.30 |
24 |
+++ ChangeLog 26 Mar 2013 19:01:51 -0000 1.31 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/celementtree |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/celementtree/ChangeLog,v 1.30 2012/02/22 08:57:01 patrick Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/celementtree/ChangeLog,v 1.31 2013/03/26 19:01:51 mgorny Exp $ |
31 |
+ |
32 |
+*celementtree-1.0.5-r2 (26 Mar 2013) |
33 |
+ |
34 |
+ 26 Mar 2013; Michał Górny <mgorny@g.o> +celementtree-1.0.5-r2.ebuild: |
35 |
+ Migrate to distutils-r1. Switch examples to USE=examples (rather than |
36 |
+ USE=doc). |
37 |
|
38 |
22 Feb 2012; Patrick Lauer <patrick@g.o> celementtree-1.0.5-r1.ebuild: |
39 |
Restricting jython |
40 |
@@ -129,4 +135,3 @@ |
41 |
17 Jan 2005; Rob Cakebread <pythonhead@g.o> +metadata.xml, |
42 |
+celementtree-0.9.2.ebuild: |
43 |
Initial commit. |
44 |
- |
45 |
|
46 |
|
47 |
|
48 |
1.1 dev-python/celementtree/celementtree-1.0.5-r2.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celementtree/celementtree-1.0.5-r2.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celementtree/celementtree-1.0.5-r2.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: celementtree-1.0.5-r2.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2013 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/celementtree/celementtree-1.0.5-r2.ebuild,v 1.1 2013/03/26 19:01:51 mgorny Exp $ |
58 |
|
59 |
EAPI=5 |
60 |
|
61 |
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
62 |
|
63 |
inherit distutils-r1 |
64 |
|
65 |
MY_P="cElementTree-${PV}-20051216" |
66 |
|
67 |
DESCRIPTION="The cElementTree module is a C implementation of the ElementTree API" |
68 |
HOMEPAGE="http://effbot.org/zone/celementtree.htm http://pypi.python.org/pypi/cElementTree" |
69 |
SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz" |
70 |
|
71 |
LICENSE="ElementTree" |
72 |
SLOT="0" |
73 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris" |
74 |
IUSE="examples" |
75 |
|
76 |
RDEPEND=">=dev-python/elementtree-1.2[${PYTHON_USEDEP}] |
77 |
>=dev-libs/expat-1.95.8" |
78 |
DEPEND="${RDEPEND} |
79 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
|
83 |
python_prepare_all() { |
84 |
local PATCHES=( |
85 |
"${FILESDIR}/${P}-use_system_expat.patch" |
86 |
"${FILESDIR}/${P}-setuptools.patch" |
87 |
) |
88 |
distutils-r1_python_prepare_all |
89 |
} |
90 |
|
91 |
python_test() { |
92 |
"${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}" |
93 |
} |
94 |
|
95 |
python_install_all() { |
96 |
use examples && local EXAMPLES=( samples/. selftest.py ) |
97 |
|
98 |
distutils-r1_python_install_all |
99 |
} |