diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-07-02 06:07:33 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-07-02 06:07:33 +0000 |
commit | 484c2a4f489b55295f6f05fada8239330dc92f4a (patch) | |
tree | 082927a02697fa3a5d19e0681fd1aa195d0f43b1 /dev-python/spyder/spyder-2.3.5.2.ebuild | |
parent | Bump (diff) | |
download | historical-484c2a4f489b55295f6f05fada8239330dc92f4a.tar.gz historical-484c2a4f489b55295f6f05fada8239330dc92f4a.tar.bz2 historical-484c2a4f489b55295f6f05fada8239330dc92f4a.zip |
Bump
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Diffstat (limited to 'dev-python/spyder/spyder-2.3.5.2.ebuild')
-rw-r--r-- | dev-python/spyder/spyder-2.3.5.2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/spyder/spyder-2.3.5.2.ebuild b/dev-python/spyder/spyder-2.3.5.2.ebuild new file mode 100644 index 000000000000..33719e942e3e --- /dev/null +++ b/dev-python/spyder/spyder-2.3.5.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/spyder-2.3.5.2.ebuild,v 1.1 2015/07/02 06:07:24 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Python IDE with matlab-like features" +HOMEPAGE="http://code.google.com/p/spyderlib/ https://bitbucket.org/spyder-ide/spyderlib" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc ipython matplotlib numpy pep8 +pyflakes pylint +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}] ) + 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 + einfo "Generation of documentation" + PYTHONPATH="{BUILD_DIR}" \ + sphinx-build doc doc/html || die "Generation of documentation failed" + fi +} + +python_install_all() { + distutils-r1_python_install_all + doicon spyderlib/images/spyder.svg + make_desktop_entry spyder Spyder spyder "Development;IDE" + use doc && dohtml -r doc/html/ +} |