From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0A751396D1 for ; Tue, 15 Aug 2017 20:10:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4812FE0F11; Tue, 15 Aug 2017 20:10:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 183F8E0F11 for ; Tue, 15 Aug 2017 20:10:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A7333416D1 for ; Tue, 15 Aug 2017 20:10:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C10B07849 for ; Tue, 15 Aug 2017 20:10:02 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1502827790.23192fa950497901243e77e0621baf62916f6b2f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/spyder/spyder-3.0.2-r2.ebuild X-VCS-Directories: dev-python/spyder/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 23192fa950497901243e77e0621baf62916f6b2f X-VCS-Branch: master Date: Tue, 15 Aug 2017 20:10:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 62a233ea-742b-47e1-b3c0-0b0d6923a3fd X-Archives-Hash: bafa3219bb50514cfce20fb8651fb85e commit: 23192fa950497901243e77e0621baf62916f6b2f Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 15 18:20:21 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Aug 15 20:09:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23192fa9 dev-python/spyder: Drop dev-python/{PyQt4,pyside} options Gentoo-bug: 620822, 610100 Package-Manager: Portage-2.3.7, Repoman-2.3.3 dev-python/spyder/spyder-3.0.2-r2.ebuild | 60 ++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/dev-python/spyder/spyder-3.0.2-r2.ebuild b/dev-python/spyder/spyder-3.0.2-r2.ebuild new file mode 100644 index 00000000000..bc0c9dcd883 --- /dev/null +++ b/dev-python/spyder/spyder-3.0.2-r2.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} ) + +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}] + $(python_gen_cond_dep 'dev-python/rope[${PYTHON_USEDEP}]' python2_7) + $(python_gen_cond_dep 'dev-python/rope_py3k[${PYTHON_USEDEP}]' python3_4 python3_5) + 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[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + 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" +}