Gentoo Archives: gentoo-commits

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