Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/
Date: Tue, 23 Feb 2016 08:20:51
Message-Id: 1456190610.0ef7cd23af05f3f4df796448800c89cd73fc5b0e.monsieurp@gentoo
1 commit: 0ef7cd23af05f3f4df796448800c89cd73fc5b0e
2 Author: T. Malfatti <malfatti <AT> gmx <DOT> com>
3 AuthorDate: Thu Feb 18 22:59:30 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 01:23:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef7cd23
7
8 dev-python/spyder: Add spyder-2.3.8 ebuild
9
10 dev-python/spyder/Manifest | 1 +
11 dev-python/spyder/metadata.xml | 1 +
12 dev-python/spyder/spyder-2.3.8.ebuild | 52 +++++++++++++++++++++++++++++++++++
13 3 files changed, 54 insertions(+)
14
15 diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
16 index 3aad7ff..e7bbcbb 100644
17 --- a/dev-python/spyder/Manifest
18 +++ b/dev-python/spyder/Manifest
19 @@ -1,2 +1,3 @@
20 DIST spyder-2.3.4.zip 3707063 SHA256 da4b13d6faed3e8810c0418f8274b26fde4f265ea4f93bee154af128a755c184 SHA512 7a4ea65ea06e9944094fc94db78327f9e23a8fd6dda5d0e9aa0e82ba4cd7d9f50b1eb837395a3fa2fabe814df873ad8ddbcca223144c47af4007b0493575e41e WHIRLPOOL 53e8f42bdafe01072457f27e45a279f92a198f181344f8267be2b3940cbd6d3743685ffe3264b04344f83bcb73b3eb8c9ec0e6bf8ccef26e19901324bfacb682
21 DIST spyder-2.3.5.2.zip 3039104 SHA256 40e589467b561af534aac6d8cc2ea0dc244d3ae4457afb41b3aec6db6f8b2336 SHA512 ac8e078991b2889c3359e700bd89d4c8487eeba412512bc9bd7685214f687001bcc411016283bcde4eb73f6186ffc5cadc9614d911acd8b788899ef5aafd66e1 WHIRLPOOL e2b2bca44bd2ec1461875a358868ab34c60f30ac5164ff6312302b495e859000b97afc78ce12c69dbc328fdcbead247a9defce9e29c08de367fc7d3a321ff007
22 +DIST spyder-2.3.8.zip 3043528 SHA256 99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e SHA512 7d40e081ce2ea579d8d98e58e31b53afc04360bebcd52a226adc5ed387ed94d1aa24d0372c2e3594689d0f44a81df9986d8c3fbe4ccbae7a493ad039aaba3acc WHIRLPOOL dfd1edb2006c89df1a5bbc9d42a5e4e0042691fbcef71f855af6c0111f2b38bb88aef61ac00cfe8fed574e631af295aacb6d784d184ddb107e46616ce3a65e01
23
24 diff --git a/dev-python/spyder/metadata.xml b/dev-python/spyder/metadata.xml
25 index 57eeb9d..374a8a5 100644
26 --- a/dev-python/spyder/metadata.xml
27 +++ b/dev-python/spyder/metadata.xml
28 @@ -22,6 +22,7 @@
29 <flag name="pep8">Add support for <pkg>dev-python/pep8</pkg></flag>
30 <flag name="pyflakes">Add support for <pkg>dev-python/pyflakes</pkg></flag>
31 <flag name="pylint">Add support for <pkg>dev-python/pylint</pkg></flag>
32 + <flag name="qtconsole">Add support for <pkg>dev-python/qtconsole</pkg></flag>
33 <flag name="rope">Add support for <pkg>dev-python/rope</pkg></flag>
34 <flag name="scipy">Add support for <pkg>sci-libs/scipy</pkg></flag>
35 <flag name="sphinx">Add support for <pkg>dev-python/sphinx</pkg></flag>
36
37 diff --git a/dev-python/spyder/spyder-2.3.8.ebuild b/dev-python/spyder/spyder-2.3.8.ebuild
38 new file mode 100644
39 index 0000000..86d8585
40 --- /dev/null
41 +++ b/dev-python/spyder/spyder-2.3.8.ebuild
42 @@ -0,0 +1,52 @@
43 +# Copyright 1999-2015 Gentoo Foundation
44 +# Distributed under the terms of the GNU General Public License v2
45 +# $Id$
46 +
47 +EAPI=6
48 +
49 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
50 +
51 +inherit distutils-r1
52 +
53 +DESCRIPTION="Python IDE with matlab-like features"
54 +HOMEPAGE="https://github.com/spyder-ide/spyder"
55 +SRC_URI="https://bitbucket.org/spyder-ide/spyderlib/downloads/spyder-2.3.8.zip"
56 +
57 +LICENSE="MIT"
58 +SLOT="0"
59 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
60 +IUSE="doc ipython matplotlib numpy pep8 +pyflakes pylint qtconsole +rope scipy sphinx"
61 +
62 +# rope requires no version bordering since all are >= miniumum version
63 +RDEPEND="
64 + || ( dev-python/PyQt4[${PYTHON_USEDEP},svg,webkit]
65 + dev-python/pyside[${PYTHON_USEDEP},svg,webkit] )
66 + ipython? ( dev-python/ipython[qt4,${PYTHON_USEDEP}] )
67 + qtconsole? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
68 + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
69 + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
70 + pep8? ( dev-python/pep8[${PYTHON_USEDEP}] )
71 + pyflakes? ( >=dev-python/pyflakes-0.5[${PYTHON_USEDEP}] )
72 + pylint? ( dev-python/pylint[${PYTHON_USEDEP}] )
73 + rope? ( $(python_gen_cond_dep 'dev-python/rope[${PYTHON_USEDEP}]' python2_7) )
74 + scipy? ( sci-libs/scipy[${PYTHON_USEDEP}] )
75 + sphinx? ( >=dev-python/sphinx-0.6.0[${PYTHON_USEDEP}] )"
76 +DEPEND="${RDEPEND}
77 + app-arch/unzip
78 + doc? ( >=dev-python/sphinx-0.6.0[${PYTHON_USEDEP}] )"
79 +
80 +# Courtesy of Arfrever
81 +PATCHES=( "${FILESDIR}"/${PN}-2.3.1-build.patch )
82 +
83 +python_compile_all() {
84 + if use doc; then
85 + sphinx-build doc doc/html || die "Generation of documentation failed"
86 + fi
87 +}
88 +
89 +python_install_all() {
90 + use doc && local HTML_DOCS=( doc/html/. )
91 + distutils-r1_python_install_all
92 + doicon spyderlib/images/spyder.svg
93 + make_desktop_entry spyder Spyder spyder "Development;IDE"
94 +}