From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/epsilon: ChangeLog epsilon-0.6.0.ebuild epsilon-0.5.11.ebuild |
Date: | Mon, 30 Nov 2009 02:46:37 |
Message-Id: | E1NEwHb-0006bP-To@stork.gentoo.org |
1 | arfrever 09/11/30 02:46:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: epsilon-0.6.0.ebuild |
5 | Removed: epsilon-0.5.11.ebuild |
6 | Log: |
7 | Version bump. Set SUPPORT_PYTHON_ABIS. |
8 | (Portage version: 14920-svn/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.16 dev-python/epsilon/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/epsilon/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/epsilon/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/epsilon/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/epsilon/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 17 May 2009 01:18:26 -0000 1.15 |
24 | +++ ChangeLog 30 Nov 2009 02:46:35 -0000 1.16 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/epsilon |
27 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/epsilon/ChangeLog,v 1.15 2009/05/17 01:18:26 arfrever Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/epsilon/ChangeLog,v 1.16 2009/11/30 02:46:35 arfrever Exp $ |
30 | + |
31 | +*epsilon-0.6.0 (30 Nov 2009) |
32 | + |
33 | + 30 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + -epsilon-0.5.11.ebuild, +epsilon-0.6.0.ebuild: |
35 | + Version bump. Set SUPPORT_PYTHON_ABIS. |
36 | |
37 | *epsilon-0.5.12 (17 May 2009) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/epsilon/epsilon-0.6.0.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/epsilon/epsilon-0.6.0.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/epsilon/epsilon-0.6.0.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: epsilon-0.6.0.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/epsilon/epsilon-0.6.0.ebuild,v 1.1 2009/11/30 02:46:35 arfrever Exp $ |
52 | |
53 | EAPI="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | |
56 | # setup.py uses epsilon.setuphelper.autosetup(), which tries to use |
57 | # build-${PYTHON_ABI} directories as packages. |
58 | DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
59 | |
60 | inherit distutils twisted |
61 | |
62 | MY_PN="Epsilon" |
63 | MY_P="${MY_PN}-${PV}" |
64 | |
65 | DESCRIPTION="Epsilon is a Python utilities package, most famous for its Time class." |
66 | HOMEPAGE="http://divmod.org/trac/wiki/DivmodEpsilon http://pypi.python.org/pypi/Epsilon" |
67 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
68 | |
69 | LICENSE="MIT" |
70 | SLOT="0" |
71 | KEYWORDS="~amd64 ~ia64 ~ppc64 ~x86" |
72 | IUSE="" |
73 | |
74 | DEPEND=">=dev-python/twisted-2.4" |
75 | RDEPEND="${DEPEND}" |
76 | RESTRICT_PYTHON_ABIS="3.*" |
77 | |
78 | S="${WORKDIR}/${MY_P}" |
79 | |
80 | DOCS="NAME.txt NEWS.txt" |
81 | |
82 | src_prepare() { |
83 | # Rename to avoid file-collisions |
84 | mv bin/benchmark bin/epsilon-benchmark |
85 | sed -i \ |
86 | -e "s#bin/benchmark#bin/epsilon-benchmark#" \ |
87 | setup.py || die "sed failed" |
88 | # otherwise we get sandbox violations as it wants to update |
89 | # the plugin cache |
90 | epatch "${FILESDIR}/epsilon_plugincache_portagesandbox.patch" |
91 | |
92 | python_copy_sources |
93 | } |
94 | |
95 | src_test() { |
96 | # Release tests need DivmodCombinator. |
97 | rm -f epsilon/test/test_release.py* |
98 | |
99 | testing() { |
100 | PYTHONPATH="build-${PYTHON_ABI}/lib" trial epsilon |
101 | } |
102 | python_execute_function testing |
103 | } |
104 | |
105 | pkg_postrm() { |
106 | twisted_pkg_postrm |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | twisted_pkg_postinst |
111 | } |