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: ChangeLog spyder-2.0.11.ebuild
Date: Fri, 29 Apr 2011 21:24:53
Message-Id: 20110429212442.1F95620054@flycatcher.gentoo.org
1 arfrever 11/04/29 21:24:42
2
3 Modified: ChangeLog
4 Added: spyder-2.0.11.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha30_p19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 dev-python/spyder/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 6 Apr 2011 14:26:36 -0000 1.17
24 +++ ChangeLog 29 Apr 2011 21:24:41 -0000 1.18
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.17 2011/04/06 14:26:36 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.18 2011/04/29 21:24:41 arfrever Exp $
30 +
31 +*spyder-2.0.11 (29 Apr 2011)
32 +
33 + 29 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +spyder-2.0.11.ebuild:
35 + Version bump.
36
37 *spyder-2.0.10 (06 Apr 2011)
38
39
40
41
42 1.1 dev-python/spyder/spyder-2.0.11.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.0.11.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.0.11.ebuild?rev=1.1&content-type=text/plain
46
47 Index: spyder-2.0.11.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.11.ebuild,v 1.1 2011/04/29 21:24:42 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.10-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 }