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/codetools: ChangeLog codetools-3.2.0.ebuild
Date: Sun, 30 Jan 2011 00:42:23
Message-Id: 20110130004209.484C120054@flycatcher.gentoo.org
1 arfrever 11/01/30 00:42:09
2
3 Modified: ChangeLog
4 Added: codetools-3.2.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha19_p14/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 dev-python/codetools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/codetools/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/codetools/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/codetools/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 18 Oct 2010 13:08:58 -0000 1.7
24 +++ ChangeLog 30 Jan 2011 00:42:09 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/codetools
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v 1.7 2010/10/18 13:08:58 arfrever Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v 1.8 2011/01/30 00:42:09 arfrever Exp $
31 +
32 +*codetools-3.2.0 (30 Jan 2011)
33 +
34 + 30 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + -codetools-3.1.2.ebuild, +codetools-3.2.0.ebuild:
36 + Version bump.
37
38 *codetools-3.1.2 (18 Oct 2010)
39
40
41
42
43 1.1 dev-python/codetools/codetools-3.2.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/codetools/codetools-3.2.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/codetools/codetools-3.2.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: codetools-3.2.0.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-3.2.0.ebuild,v 1.1 2011/01/30 00:42:09 arfrever Exp $
53
54 EAPI="3"
55 PYTHON_DEPEND="2"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="3.* *-jython"
58 DISTUTILS_SRC_TEST="setup.py"
59
60 inherit distutils
61
62 MY_PN="CodeTools"
63 MY_P="${MY_PN}-${PV}"
64
65 DESCRIPTION="Enthought Tool Suite: Code analysis and execution tools"
66 HOMEPAGE="http://code.enthought.com/projects/code_tools/ http://pypi.python.org/pypi/CodeTools"
67 SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
68
69 IUSE="doc examples test"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 LICENSE="BSD"
73
74 RDEPEND="dev-python/numpy
75 >=dev-python/traits-3.6.0"
76 DEPEND="${RDEPEND}
77 dev-python/setuptools
78 doc? ( dev-python/sphinx )
79 test? ( dev-python/nose )"
80
81 S="${WORKDIR}/${MY_P}"
82
83 PYTHON_MODNAME="enthought"
84
85 src_compile() {
86 distutils_src_compile
87
88 if use doc; then
89 einfo "Generation of documentation"
90 pushd docs > /dev/null
91 emake html || die "Generation of documentation failed"
92 popd > /dev/null
93 fi
94 }
95
96 src_install() {
97 find -name "*LICENSE.txt" -delete
98 distutils_src_install
99
100 if use doc; then
101 pushd docs/build/html > /dev/null
102 insinto /usr/share/doc/${PF}/html
103 doins -r [a-z]* _images _static || die "Installation of documentation failed"
104 popd > /dev/null
105 fi
106
107 if use examples; then
108 insinto /usr/share/doc/${PF}/examples
109 doins -r examples/* || die "Installation of examples failed"
110 fi
111 }