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: spyder-2.1.11.ebuild ChangeLog spyder-2.0.12.ebuild spyder-2.1.7.ebuild
Date: Thu, 02 Aug 2012 17:50:34
Message-Id: 20120802175004.1B4952004C@flycatcher.gentoo.org
1 bicatali 12/08/02 17:50:04
2
3 Modified: ChangeLog
4 Added: spyder-2.1.11.ebuild
5 Removed: spyder-2.0.12.ebuild spyder-2.1.7.ebuild
6 Log:
7 Version bump. Keyword amd64-linux and x86-linux. Updated patch
8
9 (Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.28 dev-python/spyder/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.28&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?rev=1.28&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/ChangeLog?r1=1.27&r2=1.28
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v
21 retrieving revision 1.27
22 retrieving revision 1.28
23 diff -u -r1.27 -r1.28
24 --- ChangeLog 17 Apr 2012 14:53:25 -0000 1.27
25 +++ ChangeLog 2 Aug 2012 17:50:03 -0000 1.28
26 @@ -1,6 +1,14 @@
27 # ChangeLog for dev-python/spyder
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.27 2012/04/17 14:53:25 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.28 2012/08/02 17:50:03 bicatali Exp $
31 +
32 +*spyder-2.1.11 (02 Aug 2012)
33 +
34 + 02 Aug 2012; Sébastien Fabbro <bicatali@g.o>
35 + +files/spyder-2.1.11-disable_sphinx_dependency.patch, +spyder-2.1.11.ebuild,
36 + -files/spyder-2.0.10-disable_sphinx_dependency.patch, -spyder-2.0.12.ebuild,
37 + -spyder-2.1.7.ebuild:
38 + Version bump. Keyword amd64-linux and x86-linux. Updated patch
39
40 *spyder-2.1.9 (17 Apr 2012)
41
42 @@ -146,4 +154,3 @@
43 20 Oct 2009; Andrey Grozin <grozin@g.o> +spyder-1.0.0.ebuild,
44 +metadata.xml:
45 Initial import
46 -
47
48
49
50 1.1 dev-python/spyder/spyder-2.1.11.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.1.11.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/spyder-2.1.11.ebuild?rev=1.1&content-type=text/plain
54
55 Index: spyder-2.1.11.ebuild
56 ===================================================================
57 # Copyright 1999-2012 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/spyder-2.1.11.ebuild,v 1.1 2012/08/02 17:50:03 bicatali Exp $
60
61 EAPI="3"
62 PYTHON_DEPEND="2:2.5"
63 SUPPORT_PYTHON_ABIS="1"
64 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
65
66 inherit distutils eutils
67
68 DESCRIPTION="Python IDE with matlab-like features"
69 HOMEPAGE="http://code.google.com/p/spyderlib/ http://pypi.python.org/pypi/spyder"
70 SRC_URI="http://spyderlib.googlecode.com/files/${P}.zip"
71
72 LICENSE="MIT"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
75 IUSE="doc ipython matplotlib numpy pep8 +pyflakes pylint +rope scipy sphinx"
76
77 RDEPEND=">=dev-python/PyQt4-4.4[webkit]
78 ipython? ( dev-python/ipython )
79 matplotlib? ( dev-python/matplotlib )
80 numpy? ( dev-python/numpy )
81 pep8? ( dev-python/pep8 )
82 pyflakes? ( >=dev-python/pyflakes-0.3 )
83 pylint? ( dev-python/pylint )
84 rope? ( >=dev-python/rope-0.9.3 )
85 scipy? ( sci-libs/scipy )
86 sphinx? ( dev-python/sphinx )"
87 DEPEND="${RDEPEND}
88 app-arch/unzip
89 doc? ( dev-python/sphinx )"
90
91 PYTHON_MODNAME="spyderlib spyderplugins"
92
93 src_prepare() {
94 distutils_src_prepare
95 epatch "${FILESDIR}"/${PN}-2.1.11-disable_sphinx_dependency.patch
96 }
97
98 src_compile() {
99 distutils_src_compile
100 if use doc; then
101 einfo "Generation of documentation"
102 PYTHONPATH="build-$(PYTHON -f --ABI)" \
103 sphinx-build doc doc_output || die "Generation of documentation failed"
104 fi
105 }
106
107 src_install() {
108 distutils_src_install
109 doicon spyderlib/images/spyder.svg
110 make_desktop_entry spyder Spyder spyder "Development;IDE"
111 if use doc; then
112 pushd doc_output > /dev/null
113 insinto /usr/share/doc/${PF}/html
114 doins -r [a-z]* _images _static
115 popd > /dev/null
116 fi
117 }