diff options
author | Andrey Grozin <grozin@gentoo.org> | 2017-11-14 20:16:40 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2017-11-14 20:16:40 +0700 |
commit | bf955d8ef7196d6b6391b5889d041f47ca4178e9 (patch) | |
tree | 670deb2c2f4415ac4e0a58b3aef24fe1794961dc /dev-python/spyder/spyder-3.2.4.ebuild | |
parent | app-text/lesspipe: Stable on amd64 (diff) | |
download | gentoo-bf955d8ef7196d6b6391b5889d041f47ca4178e9.tar.gz gentoo-bf955d8ef7196d6b6391b5889d041f47ca4178e9.tar.bz2 gentoo-bf955d8ef7196d6b6391b5889d041f47ca4178e9.zip |
dev-python/spyder: bump to 3.2.4
Closes: https://bugs.gentoo.org/637288
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-python/spyder/spyder-3.2.4.ebuild')
-rw-r--r-- | dev-python/spyder/spyder-3.2.4.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/spyder/spyder-3.2.4.ebuild b/dev-python/spyder/spyder-3.2.4.ebuild new file mode 100644 index 000000000000..485bde91fcf7 --- /dev/null +++ b/dev-python/spyder/spyder-3.2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit eutils distutils-r1 + +DESCRIPTION="Python IDE with matlab-like features" +HOMEPAGE="https://github.com/spyder-ide/spyder/ https://pypi.python.org/pypi/spyder/ http://pythonhosted.org/spyder/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc hdf5" + +RDEPEND=" + dev-python/PyQt5[${PYTHON_USEDEP},svg,webkit] + dev-python/QtPy[${PYTHON_USEDEP},svg,webkit] + dev-python/qtconsole[${PYTHON_USEDEP}] + >=dev-python/rope-0.10.7[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pep8[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + >=dev-python/qtawesome-0.4.1[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.3.0 + hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + app-arch/unzip" + +# Courtesy of Arfrever +PATCHES=( "${FILESDIR}"/${P}-build.patch ) + +python_compile_all() { + if use doc; then + sphinx-build doc doc/html || die "Generation of documentation failed" + fi +} + +python_install() { + distutils-r1_python_install + python_newscript scripts/${PN} ${PN}${EPYTHON:6:1} +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/html/. ) + distutils-r1_python_install_all + doicon spyder/images/spyder.svg + make_desktop_entry spyder Spyder spyder "Development;IDE" +} |