summaryrefslogtreecommitdiff
path: root/dev-python/spyder
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-08 20:11:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-08 20:11:47 +0100
commitf625b9919a60a30f1bd860f7d1b2eac183ced593 (patch)
tree7543f00925ff7277e31881de0a87801681f6f92f /dev-python/spyder
parente3872864be25f7421015bef2732fa57c0c9fb726 (diff)
gentoo resync : 08.08.2018
Diffstat (limited to 'dev-python/spyder')
-rw-r--r--dev-python/spyder/Manifest5
-rw-r--r--dev-python/spyder/files/spyder-3.3.0-build.patch49
-rw-r--r--dev-python/spyder/metadata.xml13
-rw-r--r--dev-python/spyder/spyder-3.3.0.ebuild75
4 files changed, 137 insertions, 5 deletions
diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 06c27c790dda..74c33ca56d07 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,7 +1,10 @@
AUX spyder-3.2.4-build.patch 5706 BLAKE2B 60eea8e3dcb3bd6a5b80e2b30322ad7d514ca4011a6edefb325e468d692f790beadb8598f2d24b20d2015e77c9eb10388c3354b3417c96a5a2bdc5e02f4a0c38 SHA512 41fa116652af0b2a93e25e1c39c450c9bc5cc7bf76afde75e8b53845d7fa8be822c6763ca48ea4cbcb64e72cac927c832233bb681c9950a272da517234464123
AUX spyder-3.2.8-build.patch 5652 BLAKE2B f4d9fca3670d8c2f3e8dc3e58b00ffe1bb49bdb9ded28db865e1005a8cc86755b32bbf53dcb618e759f116c2cc3a13b58b7c501d9dfaf2723e564372934a4d1c SHA512 e1d758be7b9c5221ec317b9e254e959bc0d6ce6bc01259c4291dcffbc0000fbaaca7660cc3b18a7ee14ea49f2addcde2e00bfdf251dcadb34b6cbb35984f95f1
+AUX spyder-3.3.0-build.patch 2228 BLAKE2B 915d17e7e61d37e1556f6de8aa594a2c338988223e3fc153ddbcbc13509e9b9459b52f1da786a2a0da5537e6ca66bc1ec99359308266c5afe8e78c99bcd307e2 SHA512 f65d34701fcdc4548ae8791c6aa63562dc5048fef7365fc50524e462b55b4e99ad5e71926d760dc326787355357116a89b5db040af59c6651a158593b3555f2e
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
EBUILD spyder-3.2.4.ebuild 1722 BLAKE2B 53d5f6cac29c33a278b93e5577544534f1071a959cf39085d799ede4515ed19fd90dfc2180fe3c3de949e40bbfc65fd3738babf0b810c8fa2c986a7cadced5bd SHA512 ad024167972a309ed3d684839217780deee0956a7c9ee9571158389ee0d28584cb3a819f2bb84e3d6b203cef7cd97dcb0e9514d73260f879313091a120ee66c5
EBUILD spyder-3.2.8.ebuild 2592 BLAKE2B 8928a6e929bd362654bf6b831b9e910930ff3fe08df8b1eb0cd4b509d0159a3d317d1268728afa4b1aaab5a4d2da6fdf5ed7325f49f7be709f105b1f753d5051 SHA512 bb90f993db737cf969b8e163e2bf00617302d22f9d57539184931071e776a2f18aefdd20a066732ded1a8258d2e9033139fa0a3cbf3ad0dcc46fcd0bd83e48d2
-MISC metadata.xml 918 BLAKE2B f83d61b0af59a2bc6b1a704394eb4d84fef9673ff4c7376c07f7e4540ec82c3d9a7e648cf663c7580813523d7f047ecbc61137e93e73b0acd21a96f80c797c64 SHA512 fa3828504ddb519afc8c5fcae824650b6c03d23b2e3b2cbbaf9ffa74f2c0a0e96b799c5aa342aee1606d39957b316348eea5459abbf3c512503b3f330cad3cf6
+EBUILD spyder-3.3.0.ebuild 2470 BLAKE2B 12646b7007c16e2d925362d3b4a99c9f7a0db09cc107d7b293231f22471228a95b8cd9715fb83bf953c029c9d8b68a76d325cda12274783c163da4e623ec1a8b SHA512 d6cffb9a0c34c75b8cd8555838293719eedb2c9cbed2e23817417a3f27139c4e3fab8aff0d579d5e66f4afb9265726e8a54ffced4fd6ca1c238556377468ce04
+MISC metadata.xml 1371 BLAKE2B 1b79aa84224554c57dc9ba4cfb888a9d18ed1b5fc99b6912de2603ac9c7866a4abb0a43a8a86df516b2b5ef3c4a0cdb18c20ea648e59002635affbdc813e2589 SHA512 8af58f099e6a7d97bd266c2d09b44ef51ec71a3ae51d61caf49968d6ecb8d830e4003171080011d390e9a27fd3010f95f22e9555a702f26e6635a4e1e02db537
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 000000000000..f6037237e0c0
--- /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 d43cf6ebe126..b6e901261f71 100644
--- a/dev-python/spyder/metadata.xml
+++ b/dev-python/spyder/metadata.xml
@@ -10,10 +10,15 @@
<name>Python</name>
</maintainer>
<longdescription lang="en">
- 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.
</longdescription>
<use>
<flag name="webengine">Build bindings for the QtWebEngine module</flag>
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 000000000000..a6d1a67a4d36
--- /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}]
+ <dev-python/spyder-kernels-1.0"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Based on the courtesy of Arfrever
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+python_install() {
+ distutils-r1_python_install
+ python_newscript scripts/${PN} ${PN}${EPYTHON:6:1}
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doicon spyder/images/spyder.svg
+ make_desktop_entry spyder Spyder spyder "Development;IDE"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+
+ elog "To get additional features, optional runtime dependencies may be installed:"
+ optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib
+ optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas
+ optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy
+ optfeature "Symbolic mathematics in the IPython console" dev-python/sympy
+ optfeature "Import Matlab workspace files in the Variable Explorer" sci-libs/scipy
+ optfeature "Run Cython files in the IPython console" dev-python/cython
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}