Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/decorator: decorator-3.1.2.ebuild ChangeLog decorator-2.2.0.ebuild decorator-2.3.2.ebuild
Date: Sat, 29 Aug 2009 15:27:15
Message-Id: E1MhUek-00052e-Kg@stork.gentoo.org
1 arfrever 09/08/29 20:36:14
2
3 Modified: ChangeLog
4 Added: decorator-3.1.2.ebuild
5 Removed: decorator-2.2.0.ebuild decorator-2.3.2.ebuild
6 Log:
7 Version bump.
8 (Portage version: 14170-svn/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 dev-python/decorator/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 4 Aug 2009 23:50:40 -0000 1.6
24 +++ ChangeLog 29 Aug 2009 20:36:14 -0000 1.7
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/decorator
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.6 2009/08/04 23:50:40 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.7 2009/08/29 20:36:14 arfrever Exp $
30 +
31 +*decorator-3.1.2 (29 Aug 2009)
32 +
33 + 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -decorator-2.2.0.ebuild, -decorator-2.3.2.ebuild, +decorator-3.1.2.ebuild:
35 + Version bump.
36
37 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
38 decorator-3.0.1.ebuild:
39
40
41
42 1.1 dev-python/decorator/decorator-3.1.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/decorator-3.1.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/decorator-3.1.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: decorator-3.1.2.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/decorator/decorator-3.1.2.ebuild,v 1.1 2009/08/29 20:36:14 arfrever Exp $
52
53 EAPI="2"
54 SUPPORT_PYTHON_ABIS="1"
55
56 inherit distutils
57
58 DESCRIPTION="Simplifies the usage of decorators for the average programmer"
59 HOMEPAGE="http://pypi.python.org/pypi/decorator"
60 SRC_URI="http://pypi.python.org/packages/source/d/${PN}/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc"
66
67 DEPEND=""
68 RDEPEND=""
69
70 RESTRICT_PYTHON_ABIS="3*"
71
72 DOCS="CHANGES.txt README.txt"
73
74 src_test() {
75 # multiprocessing module is available only in Python >=2.6, and isn't used anyway.
76 sed -i -e '/multiprocessing/d' documentation.py || die
77 testing() {
78 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" documentation.py
79 }
80 python_execute_function testing
81 }
82
83 src_install() {
84 distutils_src_install
85 if use doc; then
86 dodoc documentation.pdf || die "dodoc pdf doc failed"
87 dohtml documentation.html || die "dohtml html doc failed"
88 fi
89 }
90
91 pkg_postinst() {
92 python_mod_optimize decorator.py
93 }
94
95 pkg_postrm() {
96 python_mod_cleanup
97 }