dev-python/spyder: Add spyder-2.3.8 ebuild

This commit is contained in:
T. Malfatti
2016-02-18 20:59:30 -02:00
committed by Thawann Malfatti
parent 3b1ed8380b
commit 0ef7cd23af
3 changed files with 54 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST spyder-2.3.4.zip 3707063 SHA256 da4b13d6faed3e8810c0418f8274b26fde4f265ea4f93bee154af128a755c184 SHA512 7a4ea65ea06e9944094fc94db78327f9e23a8fd6dda5d0e9aa0e82ba4cd7d9f50b1eb837395a3fa2fabe814df873ad8ddbcca223144c47af4007b0493575e41e WHIRLPOOL 53e8f42bdafe01072457f27e45a279f92a198f181344f8267be2b3940cbd6d3743685ffe3264b04344f83bcb73b3eb8c9ec0e6bf8ccef26e19901324bfacb682
DIST spyder-2.3.5.2.zip 3039104 SHA256 40e589467b561af534aac6d8cc2ea0dc244d3ae4457afb41b3aec6db6f8b2336 SHA512 ac8e078991b2889c3359e700bd89d4c8487eeba412512bc9bd7685214f687001bcc411016283bcde4eb73f6186ffc5cadc9614d911acd8b788899ef5aafd66e1 WHIRLPOOL e2b2bca44bd2ec1461875a358868ab34c60f30ac5164ff6312302b495e859000b97afc78ce12c69dbc328fdcbead247a9defce9e29c08de367fc7d3a321ff007
DIST spyder-2.3.8.zip 3043528 SHA256 99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e SHA512 7d40e081ce2ea579d8d98e58e31b53afc04360bebcd52a226adc5ed387ed94d1aa24d0372c2e3594689d0f44a81df9986d8c3fbe4ccbae7a493ad039aaba3acc WHIRLPOOL dfd1edb2006c89df1a5bbc9d42a5e4e0042691fbcef71f855af6c0111f2b38bb88aef61ac00cfe8fed574e631af295aacb6d784d184ddb107e46616ce3a65e01

View File

@@ -22,6 +22,7 @@
<flag name="pep8">Add support for <pkg>dev-python/pep8</pkg></flag>
<flag name="pyflakes">Add support for <pkg>dev-python/pyflakes</pkg></flag>
<flag name="pylint">Add support for <pkg>dev-python/pylint</pkg></flag>
<flag name="qtconsole">Add support for <pkg>dev-python/qtconsole</pkg></flag>
<flag name="rope">Add support for <pkg>dev-python/rope</pkg></flag>
<flag name="scipy">Add support for <pkg>sci-libs/scipy</pkg></flag>
<flag name="sphinx">Add support for <pkg>dev-python/sphinx</pkg></flag>

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Python IDE with matlab-like features"
HOMEPAGE="https://github.com/spyder-ide/spyder"
SRC_URI="https://bitbucket.org/spyder-ide/spyderlib/downloads/spyder-2.3.8.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc ipython matplotlib numpy pep8 +pyflakes pylint qtconsole +rope scipy sphinx"
# rope requires no version bordering since all are >= miniumum version
RDEPEND="
|| ( dev-python/PyQt4[${PYTHON_USEDEP},svg,webkit]
dev-python/pyside[${PYTHON_USEDEP},svg,webkit] )
ipython? ( dev-python/ipython[qt4,${PYTHON_USEDEP}] )
qtconsole? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
pep8? ( dev-python/pep8[${PYTHON_USEDEP}] )
pyflakes? ( >=dev-python/pyflakes-0.5[${PYTHON_USEDEP}] )
pylint? ( dev-python/pylint[${PYTHON_USEDEP}] )
rope? ( $(python_gen_cond_dep 'dev-python/rope[${PYTHON_USEDEP}]' python2_7) )
scipy? ( sci-libs/scipy[${PYTHON_USEDEP}] )
sphinx? ( >=dev-python/sphinx-0.6.0[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
app-arch/unzip
doc? ( >=dev-python/sphinx-0.6.0[${PYTHON_USEDEP}] )"
# Courtesy of Arfrever
PATCHES=( "${FILESDIR}"/${PN}-2.3.1-build.patch )
python_compile_all() {
if use doc; then
sphinx-build doc doc/html || die "Generation of documentation failed"
fi
}
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
distutils-r1_python_install_all
doicon spyderlib/images/spyder.svg
make_desktop_entry spyder Spyder spyder "Development;IDE"
}