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: ChangeLog decorator-3.2.0.ebuild
Date: Thu, 27 May 2010 17:03:49
Message-Id: 20100527170343.583982CF38@corvid.gentoo.org
1 arfrever 10/05/27 17:03:43
2
3 Modified: ChangeLog
4 Added: decorator-3.2.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.15 dev-python/decorator/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/decorator/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/decorator/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/decorator/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 20 May 2010 07:52:23 -0000 1.14
23 +++ ChangeLog 27 May 2010 17:03:42 -0000 1.15
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/decorator
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.14 2010/05/20 07:52:23 phajdan.jr Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.15 2010/05/27 17:03:42 arfrever Exp $
29 +
30 +*decorator-3.2.0 (27 May 2010)
31 +
32 + 27 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +decorator-3.2.0.ebuild:
34 + Version bump.
35
36 20 May 2010; Pawel Hajdan jr <phajdan.jr@g.o>
37 decorator-3.1.2.ebuild:
38
39
40
41 1.1 dev-python/decorator/decorator-3.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/decorator/decorator-3.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/decorator/decorator-3.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: decorator-3.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/decorator-3.2.0.ebuild,v 1.1 2010/05/27 17:03:42 arfrever Exp $
51
52 EAPI="3"
53 SUPPORT_PYTHON_ABIS="1"
54
55 inherit distutils
56
57 DESCRIPTION="Simplifies the usage of decorators for the average programmer"
58 HOMEPAGE="http://pypi.python.org/pypi/decorator"
59 SRC_URI="http://pypi.python.org/packages/source/d/${PN}/${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
64 IUSE="doc"
65
66 DEPEND="dev-python/setuptools"
67 RDEPEND=""
68
69 DOCS="README.txt"
70 PYTHON_MODNAME="decorator.py"
71
72 src_test() {
73 testing() {
74 if [[ "${PYTHON_ABI}" == 3.* ]]; then
75 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" documentation3.py
76 else
77 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" documentation.py
78 fi
79 }
80 python_execute_function testing
81 }
82
83 src_install() {
84 distutils_src_install
85
86 if use doc; then
87 dodoc documentation.pdf documentation3.pdf || die "dodoc failed"
88 dohtml documentation.html documentation3.html || die "dohtml failed"
89 fi
90 }