Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/spyder: spyder-2.1.6.ebuild ChangeLog
Date: Wed, 08 Feb 2012 06:35:10
Message-Id: 20120208063459.68B812004B@flycatcher.gentoo.org
1 patrick 12/02/08 06:34:59
2
3 Modified: ChangeLog
4 Added: spyder-2.1.6.ebuild
5 Log:
6 Bump for #401965
7
8 (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 dev-python/spyder/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 22 Nov 2011 13:49:22 -0000 1.22
24 +++ ChangeLog 8 Feb 2012 06:34:59 -0000 1.23
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.22 2011/11/22 13:49:22 grozin Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.23 2012/02/08 06:34:59 patrick Exp $
31 +
32 +*spyder-2.1.6 (08 Feb 2012)
33 +
34 + 08 Feb 2012; Patrick Lauer <patrick@g.o> +spyder-2.1.6.ebuild:
35 + Bump for #401965
36
37 22 Nov 2011; Andrey Grozin <grozin@g.o> spyder-2.1.2.ebuild,
38 +files/spyder-2.1.2-disable_sphinx_dependency.patch, metadata.xml:
39
40
41
42 1.1 dev-python/spyder/spyder-2.1.6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.1.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.1.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: spyder-2.1.6.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.1.6.ebuild,v 1.1 2012/02/08 06:34:59 patrick Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="2:2.5"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython *-pypy-*"
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 pep8 +pyflakes pylint +rope scipy sphinx"
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 pep8? ( dev-python/pep8 )
74 pyflakes? ( >=dev-python/pyflakes-0.3 )
75 pylint? ( dev-python/pylint )
76 rope? ( >=dev-python/rope-0.9.3 )
77 scipy? ( sci-libs/scipy )
78 sphinx? ( dev-python/sphinx )"
79 DEPEND="${RDEPEND}
80 doc? ( dev-python/sphinx )"
81
82 PYTHON_MODNAME="spyderlib spyderplugins"
83
84 src_prepare() {
85 distutils_src_prepare
86 epatch "${FILESDIR}/${PN}-2.1.2-disable_sphinx_dependency.patch"
87 }
88
89 src_compile() {
90 distutils_src_compile
91
92 if use doc; then
93 einfo "Generation of documentation"
94 PYTHONPATH="build-$(PYTHON -f --ABI)" \
95 sphinx-build doc doc_output || die "Generation of documentation failed"
96 fi
97 }
98
99 src_install() {
100 distutils_src_install
101 doicon spyderlib/images/spyder.svg || die
102 make_desktop_entry spyder Spyder spyder "Development;IDE"
103 if use doc; then
104 pushd doc_output > /dev/null
105 insinto /usr/share/doc/${PF}/html
106 doins -r [a-z]* _images _static || die "Installation of documentation failed"
107 popd > /dev/null
108 fi
109 }