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 EC34F138334 for ; Thu, 9 Aug 2018 01:55:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C06FCE08E5; Thu, 9 Aug 2018 01:55:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1B2C3E08F2 for ; Thu, 9 Aug 2018 01:55:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 F0ADD335DA9 for ; Wed, 8 Aug 2018 13:41:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8102380 for ; Wed, 8 Aug 2018 13:41:38 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1533735689.d11de97429a5eeb0564c92a14e921cae7cb80686.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/spyder/Manifest dev-python/spyder/files/spyder-3.3.0-build.patch dev-python/spyder/metadata.xml dev-python/spyder/spyder-3.3.0.ebuild X-VCS-Directories: dev-python/spyder/files/ dev-python/spyder/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: d11de97429a5eeb0564c92a14e921cae7cb80686 X-VCS-Branch: master Date: Wed, 8 Aug 2018 13:41:38 +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: aa88a754-77c5-44a3-b4e1-8185c627bbb4 X-Archives-Hash: 0b188184f1e4f5d94cdb7a96e54136c6 commit: d11de97429a5eeb0564c92a14e921cae7cb80686 Author: Andrey Grozin gentoo org> AuthorDate: Wed Aug 8 13:41:29 2018 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Aug 8 13:41:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d11de974 dev-python/spyder: bump to 3.3.0 Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-python/spyder/Manifest | 1 + dev-python/spyder/files/spyder-3.3.0-build.patch | 49 ++++++++++++++++ dev-python/spyder/metadata.xml | 13 ++-- dev-python/spyder/spyder-3.3.0.ebuild | 75 ++++++++++++++++++++++++ 4 files changed, 134 insertions(+), 4 deletions(-) diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index a489f0b9d1d..322c808f62a 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,2 +1,3 @@ DIST spyder-3.2.4.tar.gz 3345797 BLAKE2B 2df946f257fee7e87dd922b6ed3b3c0fa02438560cb7fa4087f25498eb134bfc8c342a0a928be37f08448dfea2917380a8521ead13954091b1854616012ace91 SHA512 46e89c68545695d1e64aaafdd2ed724b152a41088f1bfa645b8c66d8ae6bcc2d86e9830cd3f16edfb8027aad5786dfb67f2a8371839dd515df8ebe34446716e6 DIST spyder-3.2.8.tar.gz 3414627 BLAKE2B 95f85f719eba20eb9fed5183cfac582b040abc93724df512188d14167a1663c5be9906dfc499feda9f8b0d7a713c093dbf98e4f20f732e0e9669397e1b7c8482 SHA512 03dea90632af510cfc8c4cc684068213a54dac9eef671f04c83663dd40eb480a4b818e2d040efa7a78a0d17044018aa76f2931abbf344eb684094fc7a86ddf5e +DIST spyder-3.3.0.tar.gz 2782654 BLAKE2B e85ef52109c723d6b1b011f0e81ab3a46d3e0e6ba72fd34a1eda9ed650c9e03532e8fd72e05365367f62035a6f03d6ec32d35314c54438bf639070c7bebfb4d6 SHA512 53a2b438afe245092eda4d202d2453b5b93d6682aafcdb00bf251ddcdb30cee2d81d8adadbe23fa36f64fa5f917b327690cb8f9e2cf5c0da2841b5eda648a26f diff --git a/dev-python/spyder/files/spyder-3.3.0-build.patch b/dev-python/spyder/files/spyder-3.3.0-build.patch new file mode 100644 index 00000000000..f6037237e0c --- /dev/null +++ b/dev-python/spyder/files/spyder-3.3.0-build.patch @@ -0,0 +1,49 @@ +diff -r -U3 spyder-3.3.0.orig/setup.py spyder-3.3.0/setup.py +--- spyder-3.3.0.orig/setup.py 2018-06-27 11:28:24.000000000 +0700 ++++ spyder-3.3.0/setup.py 2018-08-07 23:26:17.609046673 +0700 +@@ -75,12 +75,7 @@ + def get_data_files(): + """Return data_files in a platform dependent manner""" + if sys.platform.startswith('linux'): +- if PY3: +- data_files = [('share/applications', ['scripts/spyder3.desktop']), +- ('share/icons', ['img_src/spyder3.png']), +- ('share/metainfo', ['scripts/spyder3.appdata.xml'])] +- else: +- data_files = [('share/applications', ['scripts/spyder.desktop']), ++ data_files = [('share/applications', ['scripts/spyder.desktop']), + ('share/icons', ['img_src/spyder.png'])] + elif os.name == 'nt': + data_files = [('scripts', ['img_src/spyder.ico', +@@ -104,21 +99,6 @@ + + + #============================================================================== +-# Make Linux detect Spyder desktop file +-#============================================================================== +-class MyInstallData(install_data): +- def run(self): +- install_data.run(self) +- if sys.platform.startswith('linux'): +- try: +- subprocess.call(['update-desktop-database']) +- except: +- print("ERROR: unable to update desktop database", +- file=sys.stderr) +-CMDCLASS = {'install_data': MyInstallData} +- +- +-#============================================================================== + # Main scripts + #============================================================================== + # NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows +@@ -178,8 +158,7 @@ + 'Programming Language :: Python :: 3', + 'Development Status :: 5 - Production/Stable', + 'Topic :: Scientific/Engineering', +- 'Topic :: Software Development :: Widget Sets'], +- cmdclass=CMDCLASS) ++ 'Topic :: Software Development :: Widget Sets']) + + + #============================================================================== diff --git a/dev-python/spyder/metadata.xml b/dev-python/spyder/metadata.xml index d43cf6ebe12..b6e901261f7 100644 --- a/dev-python/spyder/metadata.xml +++ b/dev-python/spyder/metadata.xml @@ -10,10 +10,15 @@ Python - Spyder development environment and its PyQt5-based IDE tools: - interactive Python shell, Python code editor, workspace - (dict/list/string/array editor), doc viewer, history log, - environment variables editor, ... + Spyder is a powerful scientific environment written in Python, + for Python,and designed by and for scientists, engineers and data analysts. + It features a unique combination of the advanced editing, analysis, debugging and profiling functionality + of a comprehensive development tool + with the data exploration, interactive execution, deep inspection and beautiful visualization capabilities + of an analysis package. + Furthermore, Spyder offers built-in integration with many popular scientific libraries, + including NumPy, SciPy, Pandas, IPython, QtConsole, Matplotlib, SymPy, and more, + and can be extended further with full plugin support. Build bindings for the QtWebEngine module diff --git a/dev-python/spyder/spyder-3.3.0.ebuild b/dev-python/spyder/spyder-3.3.0.ebuild new file mode 100644 index 00000000000..a6d1a67a4d3 --- /dev/null +++ b/dev-python/spyder/spyder-3.3.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +inherit eutils distutils-r1 xdg-utils + +DESCRIPTION="The Scientific PYthon Development EnviRonment" +HOMEPAGE=" + https://www.spyder-ide.org/ + https://github.com/spyder-ide/spyder/ + https://pypi.org/project/spyder/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hdf5 +webengine webkit" +REQUIRED_USE="webengine? ( !webkit )" + +RDEPEND=" + hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] ) + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},svg,webengine?,webkit?] + dev-python/pyzmq[${PYTHON_USEDEP}] + >=dev-python/qtawesome-0.4.1[${PYTHON_USEDEP}] + dev-python/qtconsole[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,webengine?,webkit?] + >=dev-python/rope-0.10.7[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/numpydoc[${PYTHON_USEDEP}] +