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/spyder: spyder-2.0.8.ebuild ChangeLog
Date: Tue, 01 Mar 2011 16:43:30
Message-Id: 20110301164320.8E7EE20054@flycatcher.gentoo.org
1 arfrever 11/03/01 16:43:20
2
3 Modified: ChangeLog
4 Added: spyder-2.0.8.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha25_p13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.16 dev-python/spyder/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 10 Jan 2011 18:00:15 -0000 1.15
24 +++ ChangeLog 1 Mar 2011 16:43:20 -0000 1.16
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/spyder
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.15 2011/01/10 18:00:15 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.16 2011/03/01 16:43:20 arfrever Exp $
30 +
31 +*spyder-2.0.8 (01 Mar 2011)
32 +
33 + 01 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -spyder-2.0.6.ebuild, +spyder-2.0.8.ebuild:
35 + Version bump.
36
37 *spyder-2.0.6 (10 Jan 2011)
38
39
40
41
42 1.1 dev-python/spyder/spyder-2.0.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.0.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.0.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: spyder-2.0.8.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/spyder-2.0.8.ebuild,v 1.1 2011/03/01 16:43:20 arfrever Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="2:2.5"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
57
58 inherit distutils eutils
59
60 DESCRIPTION="Python IDE with matlab-like features"
61 HOMEPAGE="http://code.google.com/p/spyderlib/ http://pypi.python.org/pypi/spyder"
62 SRC_URI="http://spyderlib.googlecode.com/files/${P}.zip"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc ipython matplotlib numpy +pyflakes pylint +rope scipy"
68
69 RDEPEND=">=dev-python/PyQt4-4.4[webkit]
70 ipython? ( dev-python/ipython )
71 matplotlib? ( dev-python/matplotlib )
72 numpy? ( dev-python/numpy )
73 pyflakes? ( >=dev-python/pyflakes-0.3 )
74 pylint? ( dev-python/pylint )
75 rope? ( >=dev-python/rope-0.9.0 )
76 scipy? ( sci-libs/scipy )"
77 DEPEND="${RDEPEND}
78 doc? ( dev-python/sphinx )"
79
80 PYTHON_MODNAME="spyderlib spyderplugins"
81
82 src_prepare() {
83 distutils_src_prepare
84 epatch "${FILESDIR}/${PN}-2.0.4-disable_sphinx_dependency.patch"
85 }
86
87 src_compile() {
88 distutils_src_compile
89
90 if use doc; then
91 einfo "Generation of documentation"
92 PYTHONPATH="build-$(PYTHON -f --ABI)" sphinx-build doc doc_output || die "Generation of documentation failed"
93 fi
94 }
95
96 src_install() {
97 distutils_src_install
98
99 if use doc; then
100 pushd doc_output > /dev/null
101 insinto /usr/share/doc/${PF}/html
102 doins -r [a-z]* _images _static || die "Installation of documentation failed"
103 popd > /dev/null
104 fi
105 }