[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2022-11-07 Thread Andrew Ammerlaan
commit: 8849ab5008c9507ed371b59b76d8275b4163ba88
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov  7 11:29:02 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov  7 11:29:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8849ab50

dev-python/spyder: add 5.4.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/spyder/Manifest |   1 +
 .../files/spyder-5.4.0-unpin-qdarkstyle.patch  |  26 +++
 dev-python/spyder/spyder-5.4.0.ebuild  | 195 +
 3 files changed, 222 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index b6f3257168e2..9c11f1b72b36 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,3 @@
 DIST spyder-5.3.3.gh.tar.gz 24443628 BLAKE2B 
767b3e1d59ce650d2df0d229d94eef53bc4c7b52f5d40fd62748efeb3a756a773110aa17442403a1b3dd39fc367164ad54cd8f767d4311caa8d3e8bf05da
 SHA512 
7d521f8367953849233538cbfd74f1fd98da87e69dbed8076718e81cd09ae66aca84523c4ecdf0e8aeb60644791754df19f09dd244ce11e3f7decc97bb050e02
+DIST spyder-5.4.0.gh.tar.gz 24497211 BLAKE2B 
6022e50345a7493e79cc05d735fcded1d109f7b33c94c4b281a0526fe2c3f5c1020c30bc1a48cdde28db6b279b38f191dc6974724ca893220bac034c69ffd46c
 SHA512 
473408c8315ab46dade4cdfb709119d29a38ea77f29c3dc5a8b4e7eece5c1cbd21978ed2665fc6747ef4db9d8726d4ba796ee0716d48657367bb9840760e786f
 DIST spyder-docs-bb9b308b66cc90e47f43418f079bf098eb4efe6c.gh.tar.gz 89966852 
BLAKE2B 
7698b0210ccfec9f00cc76893f49398a02878c732eba6bbc89c1da4514734aad8ae8ef85a9c701a1d194976a35a8092755f7c5f09b319f670fac21d0a2e6c542
 SHA512 
9dd428ca2623c5703076887ab593bd92a2e737d74eb914a7a186d2ab4855519abb02875226463d8c11ff5021e7e84a5ba7c200ad5476f0dc4646831bb0b197a1

diff --git a/dev-python/spyder/files/spyder-5.4.0-unpin-qdarkstyle.patch 
b/dev-python/spyder/files/spyder-5.4.0-unpin-qdarkstyle.patch
new file mode 100644
index ..87b97a94b34a
--- /dev/null
+++ b/dev-python/spyder/files/spyder-5.4.0-unpin-qdarkstyle.patch
@@ -0,0 +1,26 @@
+diff --git a/setup.py b/setup.py
+index 1aa7f96..5345b0a 100644
+--- a/setup.py
 b/setup.py
+@@ -232,7 +232,7 @@ install_requires = [
+ 'python-lsp-server[all]>=1.6.0,<1.7.0',
+ 'pyxdg>=0.26;platform_system=="Linux"',
+ 'pyzmq>=22.1.0',
+-'qdarkstyle>=3.0.2,<3.1.0',
++'qdarkstyle>=3.0.2',
+ 'qstylizer>=0.2.2',
+ 'qtawesome>=1.2.1',
+ 'qtconsole>=5.4.0,<5.5.0',
+diff --git a/spyder/dependencies.py b/spyder/dependencies.py
+index 244a161..f44d045 100644
+--- a/spyder/dependencies.py
 b/spyder/dependencies.py
+@@ -58,7 +58,7 @@ PYLSP_BLACK_REQVER = '>=1.2.0'
+ PYLS_SPYDER_REQVER = '>=0.4.0'
+ PYXDG_REQVER = '>=0.26'
+ PYZMQ_REQVER = '>=22.1.0'
+-QDARKSTYLE_REQVER = '>=3.0.2;<3.1.0'
++QDARKSTYLE_REQVER = '>=3.0.2'
+ QSTYLIZER_REQVER = '>=0.2.2'
+ QTAWESOME_REQVER = '>=1.2.1'
+ QTCONSOLE_REQVER = '>=5.4.0;<5.5.0'

diff --git a/dev-python/spyder/spyder-5.4.0.ebuild 
b/dev-python/spyder/spyder-5.4.0.ebuild
new file mode 100644
index ..72dde78556eb
--- /dev/null
+++ b/dev-python/spyder/spyder-5.4.0.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit optfeature xdg distutils-r1
+
+# Commit of documentation to fetch
+DOCS_PV="bb9b308b66cc90e47f43418f079bf098eb4efe6c"
+
+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="
+   https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz
+   https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> 
${PN}-docs-${DOCS_PV}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# The test suite often hangs or does not work. RESTRICTing because IMO it is
+# not worth the several hours I would have to spend every single version bump
+# checking which tests do and do not work.
+RESTRICT="test"
+
+RDEPEND="
+   >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]
+   >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/diff-match-patch-2018[${PYTHON_USEDEP}]
+   >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}]
+   >=dev-python/jellyfish-0.7[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
+   >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}]
+   >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
+   >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
+   >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.3[${PYTHON_USEDEP}]
+   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+   >=dev-python/pylint-venv-2.1.1[${PYTHON_USEDEP}]

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2022-11-02 Thread Andrew Ammerlaan
commit: 7274dd75f1a690771fc84c7b283360eb45333029
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Nov  2 13:28:06 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Nov  2 13:29:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7274dd75

dev-python/spyder: unpin dep on qdarkstyle

and update the documentation while at it.

Closes: https://bugs.gentoo.org/857564
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/spyder/Manifest |  2 +-
 .../files/spyder-5.3.3-unpin-qdarkstyle.patch  | 26 ++
 ...{spyder-5.3.3.ebuild => spyder-5.3.3-r1.ebuild} |  4 ++--
 3 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 3b0cb80ad1a7..b6f3257168e2 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,2 @@
 DIST spyder-5.3.3.gh.tar.gz 24443628 BLAKE2B 
767b3e1d59ce650d2df0d229d94eef53bc4c7b52f5d40fd62748efeb3a756a773110aa17442403a1b3dd39fc367164ad54cd8f767d4311caa8d3e8bf05da
 SHA512 
7d521f8367953849233538cbfd74f1fd98da87e69dbed8076718e81cd09ae66aca84523c4ecdf0e8aeb60644791754df19f09dd244ce11e3f7decc97bb050e02
-DIST spyder-docs-9156f446a9225446a2a752ecb669cc3db30094a8.gh.tar.gz 90029977 
BLAKE2B 
7254da77f6d9dd24d9feb8af684d064bb92400acf1561f8a2b9423c63984c22fb3ab384174f87525c3cdb0612590fb97010e9cd1a21ae1e36ffc6d6f9babe973
 SHA512 
1a9609baea12059fad1e65b84c1db98e15cb3d65e1c60660a1f1ebeab5723b118d6e995a4e4219391d8aafb640da20e2a4984746e9c66893dd0cef2ea3f082f9
+DIST spyder-docs-bb9b308b66cc90e47f43418f079bf098eb4efe6c.gh.tar.gz 89966852 
BLAKE2B 
7698b0210ccfec9f00cc76893f49398a02878c732eba6bbc89c1da4514734aad8ae8ef85a9c701a1d194976a35a8092755f7c5f09b319f670fac21d0a2e6c542
 SHA512 
9dd428ca2623c5703076887ab593bd92a2e737d74eb914a7a186d2ab4855519abb02875226463d8c11ff5021e7e84a5ba7c200ad5476f0dc4646831bb0b197a1

diff --git a/dev-python/spyder/files/spyder-5.3.3-unpin-qdarkstyle.patch 
b/dev-python/spyder/files/spyder-5.3.3-unpin-qdarkstyle.patch
new file mode 100644
index ..b9939a95cc53
--- /dev/null
+++ b/dev-python/spyder/files/spyder-5.3.3-unpin-qdarkstyle.patch
@@ -0,0 +1,26 @@
+diff --git a/setup.py b/setup.py
+index 176c07f..d73d195 100644
+--- a/setup.py
 b/setup.py
+@@ -231,7 +231,7 @@ install_requires = [
+ 'python-lsp-server[all]>=1.5.0,<1.6.0',
+ 'pyxdg>=0.26;platform_system=="Linux"',
+ 'pyzmq>=22.1.0',
+-'qdarkstyle>=3.0.2,<3.1.0',
++'qdarkstyle>=3.0.2',
+ 'qstylizer>=0.1.10',
+ 'qtawesome>=1.0.2',
+ 'qtconsole>=5.3.2,<5.4.0',
+diff --git a/spyder/dependencies.py b/spyder/dependencies.py
+index 18fd9d4..50d1a6c 100644
+--- a/spyder/dependencies.py
 b/spyder/dependencies.py
+@@ -57,7 +57,7 @@ PYLSP_BLACK_REQVER = '>=1.2.0'
+ PYLS_SPYDER_REQVER = '>=0.4.0'
+ PYXDG_REQVER = '>=0.26'
+ PYZMQ_REQVER = '>=22.1.0'
+-QDARKSTYLE_REQVER = '>=3.0.2;<3.1.0'
++QDARKSTYLE_REQVER = '>=3.0.2'
+ QSTYLIZER_REQVER = '>=0.1.10'
+ QTAWESOME_REQVER = '>=1.0.2'
+ QTCONSOLE_REQVER = '>=5.3.2;<5.4.0'

diff --git a/dev-python/spyder/spyder-5.3.3.ebuild 
b/dev-python/spyder/spyder-5.3.3-r1.ebuild
similarity index 98%
rename from dev-python/spyder/spyder-5.3.3.ebuild
rename to dev-python/spyder/spyder-5.3.3-r1.ebuild
index 6ed0d7ebe359..4cc2c5bd76de 100644
--- a/dev-python/spyder/spyder-5.3.3.ebuild
+++ b/dev-python/spyder/spyder-5.3.3-r1.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=setuptools
 inherit optfeature xdg distutils-r1
 
 # Commit of documentation to fetch
-DOCS_PV="9156f446a9225446a2a752ecb669cc3db30094a8"
+DOCS_PV="bb9b308b66cc90e47f43418f079bf098eb4efe6c"
 
 DESCRIPTION="The Scientific Python Development Environment"
 HOMEPAGE="
@@ -51,7 +51,6 @@ RDEPEND="
>=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
>=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}]
>=dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}]
-   =dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}]
>=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}]
>=dev-python/qtconsole-5.3.2[${PYTHON_USEDEP}]
@@ -89,6 +88,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}/${PN}-5.0.0-build.patch"
"${FILESDIR}/${PN}-5.2.0-doc-theme-renamed.patch"
+   "${FILESDIR}/${PN}-5.3.3-unpin-qdarkstyle.patch"
 )
 
 DOCS=(



[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2021-04-09 Thread Joonas Niilola
commit: 21cf6b428794cbe9168af003e55748cafcc1e46c
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Apr  3 11:50:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr  9 12:21:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21cf6b42

dev-python/spyder: add 5.0.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/spyder/Manifest   |   1 +
 dev-python/spyder/files/spyder-5.0.0-build.patch |  37 
 dev-python/spyder/spyder-5.0.0.ebuild| 206 +++
 3 files changed, 244 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 4bc4626a22e..64e60affa54 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,6 +1,7 @@
 DIST spyder-4.2.0.tar.gz 11840358 BLAKE2B 
26e4cd9865196fb39fa5b49a17f172b3000fe27c5ab6fb1b31ed56d41f118e4016b6ed97ce8cb1b39c65031fc11413f8e426876d3dc8d5af25f12428d0e0c481
 SHA512 
c1460e2fe9a37c0e6107657de71205682018d87737b3eac16ec92c32d979bf727a6c8955bd2700872b6e91159d1a1efc57cdea52ffc44604fe34b78094de6e7f
 DIST spyder-4.2.3.tar.gz 11539371 BLAKE2B 
aecd2e9772c52e644e9c0503195e380fffecdfaa5aea3f00a64e98a969faf3de4e0d8eb0515cc59893f28deb7733403826e90e36006ad7f8f4d67e8ef5e64543
 SHA512 
9e56efab8862c21e7496d45e813d28c4e9be583275352b0a6e0a58e99f6c0234fa9862da66705839beacb971dde9b6edc253405d9d62853a3c4c9c9991844846
 DIST spyder-4.2.5.tar.gz 11539071 BLAKE2B 
9d7a98da018aae934803d640995fe2dfa6bbb20bfc7140bd00f5e7a00a09c47922fefd8df84f4b217a50176ee190515da6f4cbf498a03cae68e2ac4f5ec70664
 SHA512 
081b047a45b7522a69b1b21a221ab5cdef47f87f36ed4423ff63297d205f924c1627517c50622acb2d10efa094bc506fed4ec88f861775d3f58e81ac6ef017ac
+DIST spyder-5.0.0.tar.gz 19967667 BLAKE2B 
072d65949f83e8831a6c88ef5472401f7b6ef305dd193baea34d63ce865d49a1181d0282df2e4c0025ff928e6a0a6c13312fb69f3329343a45def6ee9f30b9d3
 SHA512 
c76355314c7f623fbcc99540c8ecc4b57c18f9c0551688b1e4016b4510262305837d1637df38f412314fc98abd2c359d834bf380300a46b098503db561f83177
 DIST spyder-docs-5c9c8a3317045c2d301e05b751943be9b521d129.tar.gz 66692311 
BLAKE2B 
ec741a9cd830bc8a5776be1d52dcac9649c8abf33faec0ac8741d95625d8aeda2b8c0d2bdbef02c068a22ec62a4d5281a48e996530e1bd2e6de43b86e0a14ffe
 SHA512 
73bd05ef31f69ebd80bb488017998536c4ed0e63a331efe743d9d858b936df287253f333d09beac6d2b249a96e8f82538d321850a64b0941db3d0141122995eb
 DIST spyder-docs-78b25754c69a20643258821146e398ad5535c920.tar.gz 69167467 
BLAKE2B 
d2815d552002f329b5fac59329fba3b3b0cd592bcbdacc0878966919e44dbab29548533661e60a1b9b8fd763d57d1e4c2f761782ace1b0a814a5f0cec1f66af9
 SHA512 
10764367fd5f830d7a3620b9d9e7ec4ab74539c1f48326c0c40f7caff74a50401addc7609fe1558c57dac4649d0a214c0d2d77cecd100bd8574151134e49634d
 DIST spyder-docs-7fbdabcbc37fe696e4ad5604cdbf4023dfbe8b6c.tar.gz 58822544 
BLAKE2B 
9ddd662eb0e3b2845a15bc38a0ab994fcf43824a560cf635a29e16b5eb66407706a412ea50a2f8e5c0212675df3422ece649bd1e50e3ecd1c34ee5727f8a2df9
 SHA512 
ab30f287733681da0b1d15656a44cd320401330309efbff8f0a89f59a15d5c57532a2eab3e8353d8c3856eac0a393385a852663d6698d0a0d309def21d13933d

diff --git a/dev-python/spyder/files/spyder-5.0.0-build.patch 
b/dev-python/spyder/files/spyder-5.0.0-build.patch
new file mode 100644
index 000..be849e78e49
--- /dev/null
+++ b/dev-python/spyder/files/spyder-5.0.0-build.patch
@@ -0,0 +1,37 @@
+diff --git a/setup.py b/setup.py
+index ff4f8ec..08a4f2d 100644
+--- a/setup.py
 b/setup.py
+@@ -111,24 +111,6 @@ def get_packages():
+ return packages
+ 
+ 
+-# 
=
+-# Make Linux detect Spyder desktop file (will not work with wheels)
+-# 
=
+-class CustomInstallData(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': CustomInstallData}
+-
+-
+ # 
=
+ # Main scripts
+ # 
=
+@@ -196,7 +178,6 @@ def run(self):
+ 'Topic :: Scientific/Engineering',
+ 'Topic :: Software Development :: Widget Sets',
+ ],
+-cmdclass=CMDCLASS,
+ )
+ 
+ 

diff --git a/dev-python/spyder/spyder-5.0.0.ebuild 
b/dev-python/spyder/spyder-5.0.0.ebuild
new file mode 100644
index 000..94f9e2dc31c
--- /dev/null
+++ b/dev-python/spyder/spyder-5.0.0.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-09-15 Thread Joonas Niilola
commit: 65326d87f3367e767fbc11ef80d97cbd7aecc850
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Sep  2 18:52:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 15 08:09:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65326d87

dev-python/spyder: version bump 4.1.5

latest stable release

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/17148
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/spyder/Manifest |   2 +
 .../files/spyder-4.1.5-doc-theme-renamed.patch |  13 ++
 dev-python/spyder/spyder-4.1.5.ebuild  | 205 +
 3 files changed, 220 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index a35f6bf4318..f493f700e6a 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,4 @@
 DIST spyder-4.1.4.tar.gz 11699453 BLAKE2B 
208ba4f32fa548ef8478d72c046e70ba43a2fccd2040629af03f7f56c379ebefa1e90594054f15a92aebdd14307d001c68ee5e6d2401a841e408c4af42436c33
 SHA512 
8a5f63b11648002838e0b4e5427b1c7cf9cbe4a4fd20af7e33e5e789cddaf6393bb7200bfacf8c7af19d723f12d99d2e962a769706b806335f7146ddd6853735
+DIST spyder-4.1.5.tar.gz 11705605 BLAKE2B 
da22046116ea67c1d4f02ddf44d846fcf4361c45bae57a0b328ae646a1bcdc35494d42cb909c8b4d51cf0ae7c6578c4b4a3c746e55a5055a98dcb6a2b7c3cabb
 SHA512 
9b118d857806791ed83182019088ad5b877fffe5e26cd47b4638cd9bdc68fc6ad8339186046a30715b5ccc6c503bc0a2824b7260f325816c9f750b9af667e3f1
 DIST spyder-docs-0d5afe26b8e28f3eb9f36f4ec3828bf8375c339e.tar.gz 29749238 
BLAKE2B 
9cf655c2a6fdf84278eaeb2e6f13c92eb4e585f213fd4f164a2707bc3cf8cb8abaaa213c5e781414fb0eecb3cf26b1f1708b394cd1ca12fa353ccbdd33f01dcb
 SHA512 
8ed005cbfc32d7c68cf633790446d5d271f4d38ad190c09b2bcfd3ee96f24af5443d911bcdea90dc6ad94c5dab78437b9db02d0d4a7ceb9afa37a31e4bad24ae
+DIST spyder-docs-7fbdabcbc37fe696e4ad5604cdbf4023dfbe8b6c.tar.gz 58822544 
BLAKE2B 
9ddd662eb0e3b2845a15bc38a0ab994fcf43824a560cf635a29e16b5eb66407706a412ea50a2f8e5c0212675df3422ece649bd1e50e3ecd1c34ee5727f8a2df9
 SHA512 
ab30f287733681da0b1d15656a44cd320401330309efbff8f0a89f59a15d5c57532a2eab3e8353d8c3856eac0a393385a852663d6698d0a0d309def21d13933d

diff --git a/dev-python/spyder/files/spyder-4.1.5-doc-theme-renamed.patch 
b/dev-python/spyder/files/spyder-4.1.5-doc-theme-renamed.patch
new file mode 100644
index 000..8a93662950f
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.1.5-doc-theme-renamed.patch
@@ -0,0 +1,13 @@
+diff --git a/docs/doc/conf.py b/docs/doc/conf.py
+index fd6d5ec..3de0bad 100644
+--- a/docs/doc/conf.py
 b/docs/doc/conf.py
+@@ -129,7 +129,7 @@ pygments_style = "sphinx"
+ #
+ # CI = True
+ # TRAVIS_BRANCH = 'master'
+-html_theme = "pandas_sphinx_theme"
++html_theme = "pydata_sphinx_theme"
+ html_logo = '_static/spyder_logo.png'
+ html_theme_options = {
+ "external_links": [

diff --git a/dev-python/spyder/spyder-4.1.5.ebuild 
b/dev-python/spyder/spyder-4.1.5.ebuild
new file mode 100644
index 000..6c70dc9cbd5
--- /dev/null
+++ b/dev-python/spyder/spyder-4.1.5.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit eutils xdg distutils-r1
+
+# Commit of documentation to fetch
+DOCS_PV="7fbdabcbc37fe696e4ad5604cdbf4023dfbe8b6c"
+
+MYPV="${PV/_alpha/a}"
+
+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="https://github.com/spyder-ide/${PN}/archive/v${MYPV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> 
${PN}-docs-${DOCS_PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Extra indented deps are expansion of python-language-server[all] dep
+# As the pyls ebuild does not add flags for optional runtime dependencies
+# we have to manually specify these desp instead of just depending on the [all]
+# flag. The indentation allows us to distinguish them from spyders direct deps.
+RDEPEND="
+   >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}]
+   >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/diff-match-patch-2018[${PYTHON_USEDEP}]
+   dev-python/intervaltree[${PYTHON_USEDEP}]
+   >=dev-python/ipython-4.0[${PYTHON_USEDEP}]
+   ~dev-python/jedi-0.17.1[${PYTHON_USEDEP}]
+   dev-python/keyring[${PYTHON_USEDEP}]
+   >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
+   >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
+   ~dev-python/parso-0.7.0[${PYTHON_USEDEP}]
+   >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-04-13 Thread Joonas Niilola
commit: 27f413dbb7c90e34f39dd53ac65ef26e0935754d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Apr 11 20:12:45 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 13 08:31:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f413db

dev-python/spyder: version bump 4.1.2

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/spyder/Manifest |   2 +
 dev-python/spyder/files/spyder-4.1.2-build.patch   |  35 +
 .../spyder/files/spyder-4.1.2-py3-only.patch   |  55 
 dev-python/spyder/spyder-4.1.2.ebuild  | 154 +
 4 files changed, 246 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index fe894fbf23a..b99d72237a4 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,4 @@
 DIST spyder-4.1.1.tar.gz 11135335 BLAKE2B 
fc253ea266b368f372f2f0de30120d58c0e5c6e4cf474ccec0884c5fd3557cbd929eb17c0b9f2ee04745861499e12f54e61566507d844c9cf804bef65b3438d4
 SHA512 
e778dbac4c3f3462c32c9117ce6f6a8e5f2c8df5317695d76bf7a61995cac7be2e224cb751eda337b32442c9a32a7d53f8779a9288f15ad8d1a7aac9d328237c
+DIST spyder-4.1.2.tar.gz 11125567 BLAKE2B 
38591301fa9d97836341c9e86134fee1515ce901f42aeb45f606f23f5da7411e45e98e872dda0f0de4504e062eb6aa188d3db15181074220e69624a6b28dd8f6
 SHA512 
a0aeb1f7eb66f2efd5bb7da6ed7401668ca76e968b9b651882567664925be22ba0748914477876e2c62761442c57fa69c19a9fc6556251ac6db83bcd6088d000
+DIST spyder-docs-1022fd8.tar.gz 3539049 BLAKE2B 
6d54a990ab681e9ed8a5f1a03e59e86c29eb94af18f29dd6c3b8b782230974cf057d25993b0e0358d0f32aba3fd8740dc94fb173766c094e7954d9f39456e6a5
 SHA512 
84935fb0665e1981c319484ba97096bf6996cc618d073417d06f3dfb703366429be333203af3ff2fe124cf00cc72e416fbc97734be4e21e9200b104fea167933
 DIST spyder-docs-7c0b590.tar.gz 2257637 BLAKE2B 
7e9528fde453631227ece3bd8c9163a0b3daadf3a83160b5475f943c49e7a559ff33dfe03531240b99571c535887ecff8459116d566dd7c739c74c4165e00060
 SHA512 
4d9548cc69db85ae6e93cac64e680460da6f9e76bf8b1265b31fbd4925786d29427de40bf06fd52ba807b0bb8f6c224e35b809c0e015a77013deb383e6d666f8

diff --git a/dev-python/spyder/files/spyder-4.1.2-build.patch 
b/dev-python/spyder/files/spyder-4.1.2-build.patch
new file mode 100644
index 000..7463550fc16
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.1.2-build.patch
@@ -0,0 +1,35 @@
+diff -r -U3 spyder-4.0.0b1.orig/setup.py spyder-4.0.0b1/setup.py
+--- spyder-4.0.0b1.orig/setup.py   2018-08-12 04:35:49.0 +0700
 spyder-4.0.0b1/setup.py2018-08-14 20:25:32.827148778 +0700
+@@ -112,21 +107,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
+@@ -210,8 +190,7 @@
+  'Intended Audience :: Science/Research',
+  'Intended Audience :: Developers',
+  'Topic :: Scientific/Engineering',
+- 'Topic :: Software Development :: Widget Sets'],
+-cmdclass=CMDCLASS)
++ 'Topic :: Software Development :: Widget Sets'])
+ 
+ 
+ 
#==

diff --git a/dev-python/spyder/files/spyder-4.1.2-py3-only.patch 
b/dev-python/spyder/files/spyder-4.1.2-py3-only.patch
new file mode 100644
index 000..afdc92a1e12
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.1.2-py3-only.patch
@@ -0,0 +1,55 @@
+diff --git a/setup.py b/setup.py
+index 2d5d58b..4adc952 100644
+--- a/setup.py
 b/setup.py
+@@ -31,13 +31,6 @@ import shutil
+ from distutils.core import setup
+ from distutils.command.install_data import install_data
+ 
+-
+-#==
+-# Check for Python 3
+-#==
+-PY3 = sys.version_info[0] == 3
+-
+-
+ 
#==
+ # Minimal Python version sanity check
+ # Taken from the notebook setup.py -- Modified BSD License
+@@ -87,13 +80,8 @@ def get_subpackages(name):
+ def 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-03-30 Thread Joonas Niilola
commit: 5ee45e923b325092e82b015c3181fa54f30a7978
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar 30 08:34:21 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Mar 30 11:26:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee45e92

dev-python/spyder: clean up

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/15170
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/spyder-4.1.1-allow-newer-parso.patch |  39 -
 dev-python/spyder/spyder-4.1.1-r1.ebuild   | 158 -
 2 files changed, 197 deletions(-)

diff --git a/dev-python/spyder/files/spyder-4.1.1-allow-newer-parso.patch 
b/dev-python/spyder/files/spyder-4.1.1-allow-newer-parso.patch
deleted file mode 100644
index 4b1c8d7b601..000
--- a/dev-python/spyder/files/spyder-4.1.1-allow-newer-parso.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff --git a/requirements/conda.txt b/requirements/conda.txt
-index 2e5e4e1..e5f427e 100644
 a/requirements/conda.txt
-+++ b/requirements/conda.txt
-@@ -14,7 +14,7 @@ keyring
- nbconvert >=4.0
- numpydoc >=0.6.0
- Paramiko >=2.4.0
--parso =0.5.2
-+parso >=0.5.2
- pexpect >=4.4.0
- pickleshare >=0.4
- psutil >=5.3
-diff --git a/setup.py b/setup.py
-index 2d5d58b..f008824 100644
 a/setup.py
-+++ b/setup.py
-@@ -218,7 +218,7 @@ install_requires = [
- 'numpydoc>=0.6.0',
- # Required to get SSH connections to remote kernels
- 'paramiko>=2.4.0;platform_system=="Windows"',
--'parso==0.5.2',
-+'parso>=0.5.2',
- 'pexpect>=4.4.0',
- 'pickleshare>=0.4',
- 'psutil>=5.3',
-diff --git a/spyder/dependencies.py b/spyder/dependencies.py
-index 7c88ab6..60950a8 100644
 a/spyder/dependencies.py
-+++ b/spyder/dependencies.py
-@@ -41,7 +41,7 @@ KEYRING_REQVER = None
- NBCONVERT_REQVER = '>=4.0'
- NUMPYDOC_REQVER = '>=0.6.0'
- PARAMIKO_REQVER = '>=2.4.0'
--PARSO_REQVER = '=0.5.2'
-+PARSO_REQVER = '>=0.5.2'
- PEXPECT_REQVER = '>=4.4.0'
- PICKLESHARE_REQVER = '>=0.4'
- PSUTIL_REQVER = '>=5.3'

diff --git a/dev-python/spyder/spyder-4.1.1-r1.ebuild 
b/dev-python/spyder/spyder-4.1.1-r1.ebuild
deleted file mode 100644
index 0116d491f8c..000
--- a/dev-python/spyder/spyder-4.1.1-r1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit eutils xdg distutils-r1 virtualx
-
-# Commit of documentation to fetch
-DOCS_PV="7c0b590"
-
-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="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> 
${PN}-docs-${DOCS_PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}]
-   >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}]
-   >=dev-python/diff-match-patch-2018[${PYTHON_USEDEP}]
-   dev-python/intervaltree[${PYTHON_USEDEP}]
-   >=dev-python/ipython-4.0[${PYTHON_USEDEP}]
-   ~dev-python/jedi-0.15.2[${PYTHON_USEDEP}]
-   dev-python/keyring[${PYTHON_USEDEP}]
-   >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
-   >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
-   >=dev-python/parso-0.5.2[${PYTHON_USEDEP}]
-   >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
-   >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}]
-   >=dev-python/psutil-5.3[${PYTHON_USEDEP}]
-   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
-   >=dev-python/pylint-0.25[${PYTHON_USEDEP}]
-   >=dev-python/python-language-server-0.31.9[${PYTHON_USEDEP}]
-   =dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
-   >=dev-python/pyzmq-17.0.0[${PYTHON_USEDEP}]
-   >=dev-python/qdarkstyle-2.8[${PYTHON_USEDEP}]
-   >=dev-python/qtawesome-0.5.7[${PYTHON_USEDEP}]
-   >=dev-python/qtconsole-4.6.0[${PYTHON_USEDEP}]
-   >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},svg,webengine]
-   >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}]
-   >=dev-python/spyder-kernels-1.9.0[${PYTHON_USEDEP}]
-   =spyder-4.0.0 at the moment
-   # optfeature "The autopep8 plugin" dev-python/spyder-autopep8
-   # optfeature "Vim key bindings" dev-python/spyder-vim
-   optfeature "Unittest support" dev-python/spyder-unittest
-   optfeature "Jupyter notebook support" dev-python/spyder-notebook
-   optfeature "System terminal inside spyder" 
dev-python/spyder-terminal
-   # spyder-reports not yet updated to >=spyder-4.0.0
-   # optfeature "Markdown reports using Pweave" 
dev-python/spyder-reports

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-03-28 Thread Joonas Niilola
commit: ca92233cb00fbd9bbc8962516d8f774906b4f12e
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Mar 28 13:48:33 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 28 14:21:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca92233c

dev-python/spyder: allow newer parso versions

Closes: https://bugs.gentoo.org/715148
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/15149
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/spyder-4.1.1-allow-newer-parso.patch | 39 ++
 dev-python/spyder/spyder-4.1.1.ebuild  |  9 +++--
 2 files changed, 45 insertions(+), 3 deletions(-)

diff --git a/dev-python/spyder/files/spyder-4.1.1-allow-newer-parso.patch 
b/dev-python/spyder/files/spyder-4.1.1-allow-newer-parso.patch
new file mode 100644
index 000..4b1c8d7b601
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.1.1-allow-newer-parso.patch
@@ -0,0 +1,39 @@
+diff --git a/requirements/conda.txt b/requirements/conda.txt
+index 2e5e4e1..e5f427e 100644
+--- a/requirements/conda.txt
 b/requirements/conda.txt
+@@ -14,7 +14,7 @@ keyring
+ nbconvert >=4.0
+ numpydoc >=0.6.0
+ Paramiko >=2.4.0
+-parso =0.5.2
++parso >=0.5.2
+ pexpect >=4.4.0
+ pickleshare >=0.4
+ psutil >=5.3
+diff --git a/setup.py b/setup.py
+index 2d5d58b..f008824 100644
+--- a/setup.py
 b/setup.py
+@@ -218,7 +218,7 @@ install_requires = [
+ 'numpydoc>=0.6.0',
+ # Required to get SSH connections to remote kernels
+ 'paramiko>=2.4.0;platform_system=="Windows"',
+-'parso==0.5.2',
++'parso>=0.5.2',
+ 'pexpect>=4.4.0',
+ 'pickleshare>=0.4',
+ 'psutil>=5.3',
+diff --git a/spyder/dependencies.py b/spyder/dependencies.py
+index 7c88ab6..60950a8 100644
+--- a/spyder/dependencies.py
 b/spyder/dependencies.py
+@@ -41,7 +41,7 @@ KEYRING_REQVER = None
+ NBCONVERT_REQVER = '>=4.0'
+ NUMPYDOC_REQVER = '>=0.6.0'
+ PARAMIKO_REQVER = '>=2.4.0'
+-PARSO_REQVER = '=0.5.2'
++PARSO_REQVER = '>=0.5.2'
+ PEXPECT_REQVER = '>=4.4.0'
+ PICKLESHARE_REQVER = '>=0.4'
+ PSUTIL_REQVER = '>=5.3'

diff --git a/dev-python/spyder/spyder-4.1.1.ebuild 
b/dev-python/spyder/spyder-4.1.1.ebuild
index 440d4fa18c2..0116d491f8c 100644
--- a/dev-python/spyder/spyder-4.1.1.ebuild
+++ b/dev-python/spyder/spyder-4.1.1.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
dev-python/keyring[${PYTHON_USEDEP}]
>=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
>=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
-   ~dev-python/parso-0.5.2[${PYTHON_USEDEP}]
+   >=dev-python/parso-0.5.2[${PYTHON_USEDEP}]
>=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pickleshare-0.4[${PYTHON_USEDEP}]
>=dev-python/psutil-5.3[${PYTHON_USEDEP}]
@@ -69,8 +69,11 @@ DEPEND="test? (
 # Based on the courtesy of Arfrever
 # This patch removes a call to update-desktop-database during build
 # This fails because access is denied to this command during build
-PATCHES=( "${FILESDIR}/${P}-build.patch"
-   "${FILESDIR}/${P}-py3-only.patch" )
+PATCHES=(
+   "${FILESDIR}/${P}-build.patch"
+   "${FILESDIR}/${P}-py3-only.patch"
+   "${FILESDIR}/${P}-allow-newer-parso.patch"
+)
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs/doc --no-autodoc



[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-03-27 Thread Joonas Niilola
commit: a6cbb36f25dd2442c420f32d2893ec3206bbd510
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Mar 19 12:05:53 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Mar 27 16:25:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6cbb36f

dev-python/spyder: version bump 4.1.1

Bug: https://bugs.gentoo.org/714760

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/15012
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/spyder/Manifest |  2 +-
 ...-4.0.1-build.patch => spyder-4.1.1-build.patch} |  0
 ...-py3-only.patch => spyder-4.1.1-py3-only.patch} | 17 +
 ...{spyder-4.0.1-r1.ebuild => spyder-4.1.1.ebuild} | 41 ++
 4 files changed, 35 insertions(+), 25 deletions(-)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index aaa6df24d22..fe894fbf23a 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,2 @@
-DIST spyder-4.0.1.tar.gz 10783565 BLAKE2B 
5d264991b9bfc8118ef91f929269a300932cb0078b70c54613836c4337dc41214aa4ab81dacb4a535aaa6dea6b1eb591e25c7071664dc102e218373a0d7f8824
 SHA512 
9249a3b4a73ebe7a485d75fe2bea68bfa106c8ad0710120a6e05a43e3e2a65f9076904d1104180e925ab282b1d9da712c3509e0a5a7cfe3bd5ea8a95a1617bdd
+DIST spyder-4.1.1.tar.gz 11135335 BLAKE2B 
fc253ea266b368f372f2f0de30120d58c0e5c6e4cf474ccec0884c5fd3557cbd929eb17c0b9f2ee04745861499e12f54e61566507d844c9cf804bef65b3438d4
 SHA512 
e778dbac4c3f3462c32c9117ce6f6a8e5f2c8df5317695d76bf7a61995cac7be2e224cb751eda337b32442c9a32a7d53f8779a9288f15ad8d1a7aac9d328237c
 DIST spyder-docs-7c0b590.tar.gz 2257637 BLAKE2B 
7e9528fde453631227ece3bd8c9163a0b3daadf3a83160b5475f943c49e7a559ff33dfe03531240b99571c535887ecff8459116d566dd7c739c74c4165e00060
 SHA512 
4d9548cc69db85ae6e93cac64e680460da6f9e76bf8b1265b31fbd4925786d29427de40bf06fd52ba807b0bb8f6c224e35b809c0e015a77013deb383e6d666f8

diff --git a/dev-python/spyder/files/spyder-4.0.1-build.patch 
b/dev-python/spyder/files/spyder-4.1.1-build.patch
similarity index 100%
rename from dev-python/spyder/files/spyder-4.0.1-build.patch
rename to dev-python/spyder/files/spyder-4.1.1-build.patch

diff --git a/dev-python/spyder/files/spyder-4.0.1-py3-only.patch 
b/dev-python/spyder/files/spyder-4.1.1-py3-only.patch
similarity index 82%
rename from dev-python/spyder/files/spyder-4.0.1-py3-only.patch
rename to dev-python/spyder/files/spyder-4.1.1-py3-only.patch
index df5f0c4ad1c..afdc92a1e12 100644
--- a/dev-python/spyder/files/spyder-4.0.1-py3-only.patch
+++ b/dev-python/spyder/files/spyder-4.1.1-py3-only.patch
@@ -1,5 +1,5 @@
 diff --git a/setup.py b/setup.py
-index a492549..b77f758 100644
+index 2d5d58b..4adc952 100644
 --- a/setup.py
 +++ b/setup.py
 @@ -31,13 +31,6 @@ import shutil
@@ -28,23 +28,22 @@ index a492549..b77f758 100644
 -data_files = [('share/applications', ['scripts/spyder.desktop']),
 -  ('share/icons', ['img_src/spyder.png'])]
 +data_files = [('share/applications', ['scripts/spyder.desktop']),
-+  ('share/pixmaps', ['img_src/spyder.png'])]
++  ('share/icons', ['img_src/spyder.png'])]
  elif os.name == 'nt':
  data_files = [('scripts', ['img_src/spyder.ico',
 'img_src/spyder_reset.ico'])]
-@@ -115,10 +103,7 @@ def get_packages():
- # platforms due to a bug in pip installation process
+@@ -131,9 +119,7 @@ CMDCLASS = {'install_data': MyInstallData}
  # See spyder-ide/spyder#1158.
  SCRIPTS = ['%s_win_post_install.py' % NAME]
+ 
 -if PY3 and sys.platform.startswith('linux'):
 -SCRIPTS.append('spyder3')
 -else:
--SCRIPTS.append('spyder')
-+SCRIPTS.append('spyder')
- 
++if sys.platform.startswith('linux'):
+ SCRIPTS.append('spyder')
  
- 
#==
-@@ -246,8 +231,7 @@ if 'setuptools' in sys.modules:
+ if os.name == 'nt':
+@@ -269,8 +255,7 @@ if 'setuptools' in sys.modules:
  
  setup_args['entry_points'] = {
  'gui_scripts': [

diff --git a/dev-python/spyder/spyder-4.0.1-r1.ebuild 
b/dev-python/spyder/spyder-4.1.1.ebuild
similarity index 81%
rename from dev-python/spyder/spyder-4.0.1-r1.ebuild
rename to dev-python/spyder/spyder-4.1.1.ebuild
index 43bba250f2c..440d4fa18c2 100644
--- a/dev-python/spyder/spyder-4.0.1-r1.ebuild
+++ b/dev-python/spyder/spyder-4.1.1.ebuild
@@ -28,26 +28,28 @@ RDEPEND="
>=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}]
>=dev-python/diff-match-patch-2018[${PYTHON_USEDEP}]
dev-python/intervaltree[${PYTHON_USEDEP}]
-   ~dev-python/jedi-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/ipython-4.0[${PYTHON_USEDEP}]
+   ~dev-python/jedi-0.15.2[${PYTHON_USEDEP}]
dev-python/keyring[${PYTHON_USEDEP}]
>=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-02-26 Thread Andreas Sturmlechner
commit: 13dda237851240c5a2eec610612e7458d0face48
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 26 19:07:02 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb 26 21:56:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13dda237

dev-python/spyder: Clean up spyder-3.x.x versions

Bug: https://bugs.gentoo.org/709866

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-python/spyder/Manifest |   6 +-
 dev-python/spyder/files/spyder-3.2.4-build.patch   | 130 -
 dev-python/spyder/files/spyder-3.2.8-build.patch   | 129 
 dev-python/spyder/files/spyder-3.3.0-build.patch   |  49 
 dev-python/spyder/files/spyder-3.3.1-build.patch   |  49 
 .../spyder/files/spyder-4.0.1-py3-only.patch   |  56 +
 dev-python/spyder/metadata.xml |   3 -
 dev-python/spyder/spyder-3.2.4.ebuild  |  62 --
 dev-python/spyder/spyder-3.2.8.ebuild  |  81 -
 dev-python/spyder/spyder-3.3.0.ebuild  |  74 
 dev-python/spyder/spyder-3.3.1.ebuild  |  74 
 ...{spyder-4.0.1.ebuild => spyder-4.0.1-r1.ebuild} |  22 +---
 12 files changed, 63 insertions(+), 672 deletions(-)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 24947a0ce42..aaa6df24d22 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,6 +1,2 @@
-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
-DIST spyder-3.3.1.tar.gz 2786730 BLAKE2B 
d906b5750cb620db41aec514a64d132b9ee5a992047828faffe11af5abd22d0cec7b876dfe79c6d378804373e8db5c661214f5730833e7599bf13b80d4dc16d6
 SHA512 
91d648a2717b5d5386115ba800fdd98884e609b213007dbaa09c7d16335f1b9ec3d0bc6b32d1677db8c2704e990e70eaa04d6d1efc88cddfa511105e9c68
-DIST spyder-4.0.1-docs.tar.gz 2257654 BLAKE2B 
a1d245c018d551e639d5acc862e09132ba80411c745430a5d16ff137c12919ec0b6e32d180aa629ba8dce3776826d754a4e843647b642086565e7a00c6dca94a
 SHA512 
a62a1fd39833d827a2f9be357a2ed82eca37cc096a20a91030af8746d401b517d76a4f6a036c76eaa8355a88db6b2be8009e6b58d5539b57c43091677e93e62c
 DIST spyder-4.0.1.tar.gz 10783565 BLAKE2B 
5d264991b9bfc8118ef91f929269a300932cb0078b70c54613836c4337dc41214aa4ab81dacb4a535aaa6dea6b1eb591e25c7071664dc102e218373a0d7f8824
 SHA512 
9249a3b4a73ebe7a485d75fe2bea68bfa106c8ad0710120a6e05a43e3e2a65f9076904d1104180e925ab282b1d9da712c3509e0a5a7cfe3bd5ea8a95a1617bdd
+DIST spyder-docs-7c0b590.tar.gz 2257637 BLAKE2B 
7e9528fde453631227ece3bd8c9163a0b3daadf3a83160b5475f943c49e7a559ff33dfe03531240b99571c535887ecff8459116d566dd7c739c74c4165e00060
 SHA512 
4d9548cc69db85ae6e93cac64e680460da6f9e76bf8b1265b31fbd4925786d29427de40bf06fd52ba807b0bb8f6c224e35b809c0e015a77013deb383e6d666f8

diff --git a/dev-python/spyder/files/spyder-3.2.4-build.patch 
b/dev-python/spyder/files/spyder-3.2.4-build.patch
deleted file mode 100644
index 2a1fee52131..000
--- a/dev-python/spyder/files/spyder-3.2.4-build.patch
+++ /dev/null
@@ -1,130 +0,0 @@
 spyder-3.2.3.orig/setup.py 2017-08-29 00:42:56.0 +0200
-+++ spyder-3.2.3/setup.py  2017-09-16 20:57:08.610147911 +0200
-@@ -77,13 +77,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/pixmaps', ['img_src/spyder3.png']),
--  ('share/metainfo', ['scripts/spyder3.appdata.xml'])]
--else:
--data_files = [('share/applications', ['scripts/spyder.desktop']),
--  ('share/pixmaps', ['img_src/spyder.png'])]
-+data_files = [('share/pixmaps', ['img_src/spyder.png'])]
- elif os.name == 'nt':
- data_files = [('scripts', ['img_src/spyder.ico',
-'img_src/spyder_reset.ico'])]
-@@ -106,102 +100,6 @@
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2020-02-18 Thread Joonas Niilola
commit: b9d393eb0462256fcf945c103e71dcddcbd6646d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Jan 13 13:59:44 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Feb 19 07:02:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d393eb

dev-python/spyder: Version bump 4.0.1

Bug: https://bugs.gentoo.org/702458
Bug: https://bugs.gentoo.org/702768
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/spyder/Manifest   |   2 +
 dev-python/spyder/files/spyder-4.0.1-build.patch |  35 ++
 dev-python/spyder/metadata.xml   |   8 ++
 dev-python/spyder/spyder-4.0.1.ebuild| 147 +++
 4 files changed, 192 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index e07e5f12112..14caae6bac5 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -3,3 +3,5 @@ DIST spyder-3.2.8.tar.gz 3414627 BLAKE2B 
95f85f719eba20eb9fed5183cfac582b040abc9
 DIST spyder-3.3.0.tar.gz 2782654 BLAKE2B 
e85ef52109c723d6b1b011f0e81ab3a46d3e0e6ba72fd34a1eda9ed650c9e03532e8fd72e05365367f62035a6f03d6ec32d35314c54438bf639070c7bebfb4d6
 SHA512 
53a2b438afe245092eda4d202d2453b5b93d6682aafcdb00bf251ddcdb30cee2d81d8adadbe23fa36f64fa5f917b327690cb8f9e2cf5c0da2841b5eda648a26f
 DIST spyder-3.3.1.tar.gz 2786730 BLAKE2B 
d906b5750cb620db41aec514a64d132b9ee5a992047828faffe11af5abd22d0cec7b876dfe79c6d378804373e8db5c661214f5730833e7599bf13b80d4dc16d6
 SHA512 
91d648a2717b5d5386115ba800fdd98884e609b213007dbaa09c7d16335f1b9ec3d0bc6b32d1677db8c2704e990e70eaa04d6d1efc88cddfa511105e9c68
 DIST spyder-4.0.0b1.tar.gz 2986758 BLAKE2B 
7fa918a569ed26d1d71ea7bce725f1b7d5db54badf3fb7bad1265d93f2ebdf25b1246acefb4f8517a6f34968bf8f12331958afcf72fc3c162e0d06d9dc4d4c72
 SHA512 
5751434b7ffac4d1e0c535f8a842656c3a306ed3d8a275a06a0eb57d3cd9bb36d01341723159292cba8616fcadc7157387fdb334b2ab0efbc1bb6b920102015a
+DIST spyder-4.0.1-docs.tar.gz 2257654 BLAKE2B 
a1d245c018d551e639d5acc862e09132ba80411c745430a5d16ff137c12919ec0b6e32d180aa629ba8dce3776826d754a4e843647b642086565e7a00c6dca94a
 SHA512 
a62a1fd39833d827a2f9be357a2ed82eca37cc096a20a91030af8746d401b517d76a4f6a036c76eaa8355a88db6b2be8009e6b58d5539b57c43091677e93e62c
+DIST spyder-4.0.1.tar.gz 10783565 BLAKE2B 
5d264991b9bfc8118ef91f929269a300932cb0078b70c54613836c4337dc41214aa4ab81dacb4a535aaa6dea6b1eb591e25c7071664dc102e218373a0d7f8824
 SHA512 
9249a3b4a73ebe7a485d75fe2bea68bfa106c8ad0710120a6e05a43e3e2a65f9076904d1104180e925ab282b1d9da712c3509e0a5a7cfe3bd5ea8a95a1617bdd

diff --git a/dev-python/spyder/files/spyder-4.0.1-build.patch 
b/dev-python/spyder/files/spyder-4.0.1-build.patch
new file mode 100644
index 000..7463550fc16
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.0.1-build.patch
@@ -0,0 +1,35 @@
+diff -r -U3 spyder-4.0.0b1.orig/setup.py spyder-4.0.0b1/setup.py
+--- spyder-4.0.0b1.orig/setup.py   2018-08-12 04:35:49.0 +0700
 spyder-4.0.0b1/setup.py2018-08-14 20:25:32.827148778 +0700
+@@ -112,21 +107,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
+@@ -210,8 +190,7 @@
+  'Intended Audience :: Science/Research',
+  'Intended Audience :: Developers',
+  '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 b6e901261f7..91250b2b501 100644
--- a/dev-python/spyder/metadata.xml
+++ b/dev-python/spyder/metadata.xml
@@ -9,6 +9,14 @@
 pyt...@gentoo.org
 Python
   
+  
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 Spyder is a powerful scientific environment written in Python,
 for Python,and designed by and for scientists, engineers and data analysts.


[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2018-08-14 Thread Andrey Grozin
commit: 6728a7bea148a08a84535fcef8164092578f9850
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Aug 14 13:50:04 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Aug 14 13:50:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6728a7be

dev-python/spyder: bump to 4.0.0_beta1

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/spyder/Manifest |  1 +
 .../spyder/files/spyder-4.0.0_beta1-build.patch| 49 ++
 dev-python/spyder/spyder-4.0.0_beta1.ebuild| 78 ++
 3 files changed, 128 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 4dba8735e42..e07e5f12112 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -2,3 +2,4 @@ DIST spyder-3.2.4.tar.gz 3345797 BLAKE2B 
2df946f257fee7e87dd922b6ed3b3c0fa024385
 DIST spyder-3.2.8.tar.gz 3414627 BLAKE2B 
95f85f719eba20eb9fed5183cfac582b040abc93724df512188d14167a1663c5be9906dfc499feda9f8b0d7a713c093dbf98e4f20f732e0e9669397e1b7c8482
 SHA512 
03dea90632af510cfc8c4cc684068213a54dac9eef671f04c83663dd40eb480a4b818e2d040efa7a78a0d17044018aa76f2931abbf344eb684094fc7a86ddf5e
 DIST spyder-3.3.0.tar.gz 2782654 BLAKE2B 
e85ef52109c723d6b1b011f0e81ab3a46d3e0e6ba72fd34a1eda9ed650c9e03532e8fd72e05365367f62035a6f03d6ec32d35314c54438bf639070c7bebfb4d6
 SHA512 
53a2b438afe245092eda4d202d2453b5b93d6682aafcdb00bf251ddcdb30cee2d81d8adadbe23fa36f64fa5f917b327690cb8f9e2cf5c0da2841b5eda648a26f
 DIST spyder-3.3.1.tar.gz 2786730 BLAKE2B 
d906b5750cb620db41aec514a64d132b9ee5a992047828faffe11af5abd22d0cec7b876dfe79c6d378804373e8db5c661214f5730833e7599bf13b80d4dc16d6
 SHA512 
91d648a2717b5d5386115ba800fdd98884e609b213007dbaa09c7d16335f1b9ec3d0bc6b32d1677db8c2704e990e70eaa04d6d1efc88cddfa511105e9c68
+DIST spyder-4.0.0b1.tar.gz 2986758 BLAKE2B 
7fa918a569ed26d1d71ea7bce725f1b7d5db54badf3fb7bad1265d93f2ebdf25b1246acefb4f8517a6f34968bf8f12331958afcf72fc3c162e0d06d9dc4d4c72
 SHA512 
5751434b7ffac4d1e0c535f8a842656c3a306ed3d8a275a06a0eb57d3cd9bb36d01341723159292cba8616fcadc7157387fdb334b2ab0efbc1bb6b920102015a

diff --git a/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch 
b/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch
new file mode 100644
index 000..2b0f9bc699f
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch
@@ -0,0 +1,49 @@
+diff -r -U3 spyder-4.0.0b1.orig/setup.py spyder-4.0.0b1/setup.py
+--- spyder-4.0.0b1.orig/setup.py   2018-08-12 04:35:49.0 +0700
 spyder-4.0.0b1/setup.py2018-08-14 20:25:32.827148778 +0700
+@@ -83,12 +83,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',
+@@ -112,21 +107,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
+@@ -210,8 +190,7 @@
+  'Intended Audience :: Science/Research',
+  'Intended Audience :: Developers',
+  'Topic :: Scientific/Engineering',
+- 'Topic :: Software Development :: Widget Sets'],
+-cmdclass=CMDCLASS)
++ 'Topic :: Software Development :: Widget Sets'])
+ 
+ 
+ 
#==

diff --git a/dev-python/spyder/spyder-4.0.0_beta1.ebuild 
b/dev-python/spyder/spyder-4.0.0_beta1.ebuild
new file mode 100644
index 000..8e9b75efc5b
--- /dev/null
+++ b/dev-python/spyder/spyder-4.0.0_beta1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2018-08-14 Thread Andrey Grozin
commit: 593bf3bd848ad32e9da73ddbd34f3350a07102f3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Aug 14 13:47:37 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Aug 14 13:47:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593bf3bd

gentoo/dev-python/spyder: bump to 3.3.1

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/spyder/Manifest   |  1 +
 dev-python/spyder/files/spyder-3.3.1-build.patch | 49 
 dev-python/spyder/spyder-3.3.1.ebuild| 75 
 3 files changed, 125 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 322c808f62a..4dba8735e42 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,3 +1,4 @@
 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
+DIST spyder-3.3.1.tar.gz 2786730 BLAKE2B 
d906b5750cb620db41aec514a64d132b9ee5a992047828faffe11af5abd22d0cec7b876dfe79c6d378804373e8db5c661214f5730833e7599bf13b80d4dc16d6
 SHA512 
91d648a2717b5d5386115ba800fdd98884e609b213007dbaa09c7d16335f1b9ec3d0bc6b32d1677db8c2704e990e70eaa04d6d1efc88cddfa511105e9c68

diff --git a/dev-python/spyder/files/spyder-3.3.1-build.patch 
b/dev-python/spyder/files/spyder-3.3.1-build.patch
new file mode 100644
index 000..1561dbdcc1e
--- /dev/null
+++ b/dev-python/spyder/files/spyder-3.3.1-build.patch
@@ -0,0 +1,49 @@
+diff -r -U3 spyder-3.3.1.orig/setup.py spyder-3.3.1/setup.py
+--- spyder-3.3.1.orig/setup.py 2018-08-10 10:46:02.0 +0700
 spyder-3.3.1/setup.py  2018-08-14 19:16:10.921323804 +0700
+@@ -83,12 +83,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',
+@@ -112,21 +107,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
+@@ -210,8 +190,7 @@
+  'Intended Audience :: Science/Research',
+  'Intended Audience :: Developers',
+  'Topic :: Scientific/Engineering',
+- 'Topic :: Software Development :: Widget Sets'],
+-cmdclass=CMDCLASS)
++ 'Topic :: Software Development :: Widget Sets'])
+ 
+ 
+ 
#==

diff --git a/dev-python/spyder/spyder-3.3.1.ebuild 
b/dev-python/spyder/spyder-3.3.1.ebuild
new file mode 100644
index 000..a6d1a67a4d3
--- /dev/null
+++ b/dev-python/spyder/spyder-3.3.1.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
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2018-08-08 Thread Andrey Grozin
commit: d11de97429a5eeb0564c92a14e921cae7cb80686
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Aug  8 13:41:29 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Aug  8 13:41:29 2018 +
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 000..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.0 +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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2018-04-22 Thread Andrey Grozin
commit: 4a840b79c169fca88e28f2aa4ddc97c5b7ac3eea
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Apr 22 20:47:42 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Apr 22 20:48:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a840b79

dev-python/spyder: bump to 3.2.8 and support QtWebengine

Suggested-by: holgersson  posteo.de
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/spyder/Manifest   |   1 +
 dev-python/spyder/files/spyder-3.2.8-build.patch | 129 +++
 dev-python/spyder/metadata.xml   |   3 +
 dev-python/spyder/spyder-3.2.8.ebuild|  79 ++
 4 files changed, 212 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 518bd6f7966..a489f0b9d1d 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1 +1,2 @@
 DIST spyder-3.2.4.tar.gz 3345797 BLAKE2B 
2df946f257fee7e87dd922b6ed3b3c0fa02438560cb7fa4087f25498eb134bfc8c342a0a928be37f08448dfea2917380a8521ead13954091b1854616012ace91
 SHA512 
46e89c68545695d1e64aaafdd2ed724b152a41088f1bfa645b8c66d8ae6bcc2d86e9830cd3f16edfb8027aad5786dfb67f2a8371839dd515df8ebe34446716e6
+DIST spyder-3.2.8.tar.gz 3414627 BLAKE2B 
95f85f719eba20eb9fed5183cfac582b040abc93724df512188d14167a1663c5be9906dfc499feda9f8b0d7a713c093dbf98e4f20f732e0e9669397e1b7c8482
 SHA512 
03dea90632af510cfc8c4cc684068213a54dac9eef671f04c83663dd40eb480a4b818e2d040efa7a78a0d17044018aa76f2931abbf344eb684094fc7a86ddf5e

diff --git a/dev-python/spyder/files/spyder-3.2.8-build.patch 
b/dev-python/spyder/files/spyder-3.2.8-build.patch
new file mode 100644
index 000..b21c77d660b
--- /dev/null
+++ b/dev-python/spyder/files/spyder-3.2.8-build.patch
@@ -0,0 +1,129 @@
+--- spyder-3.2.8/setup.py   2018-03-23 14:00:00.0 +0100
 spyder-3.2.8/setup.py   2018-03-23 14:00:00.1 +0100
+@@ -77,12 +77,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',
+@@ -106,102 +101,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}
+-
+-
+-#==
+-# Sphinx build (documentation)
+-#==
+-def get_html_help_exe():
+-"""Return HTML Help Workshop executable path (Windows only)"""
+-if os.name == 'nt':
+-hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe'
+-for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'):
+-if osp.isfile(hhc_exe):
+-return hhc_exe
+-else:
+-return
+-
+-try:
+-from sphinx import setup_command
+-
+-class MyBuild(build):
+-user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
+-   + build.user_options
+-def __init__(self, *args, **kwargs):
+-build.__init__(self, *args, **kwargs)
+-self.no_doc = False
+-def with_doc(self):
+-setup_dir = os.path.dirname(os.path.abspath(__file__))
+-is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc'))
+-install_obj = self.distribution.get_command_obj('install')
+-return (is_doc_dir and not self.no_doc and not install_obj.no_doc)
+-sub_commands = build.sub_commands + [('build_doc', with_doc)]
+-CMDCLASS['build'] = MyBuild
+-
+-
+-class MyInstall(install):
+-user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
+-   + install.user_options
+-def __init__(self, *args, **kwargs):
+-install.__init__(self, *args, **kwargs)
+-self.no_doc = False
+-CMDCLASS['install'] = MyInstall
+-
+-
+-class 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2017-11-14 Thread Andrey Grozin
commit: bf955d8ef7196d6b6391b5889d041f47ca4178e9
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Nov 14 13:16:40 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Nov 14 13:16:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf955d8e

dev-python/spyder: bump to 3.2.4

Closes: https://bugs.gentoo.org/637288
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 dev-python/spyder/Manifest   |   1 +
 dev-python/spyder/files/spyder-3.2.4-build.patch | 130 +++
 dev-python/spyder/spyder-3.2.4.ebuild|  60 +++
 3 files changed, 191 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 2e3ff298db8..0afcb7c7a4b 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1,3 @@
 DIST spyder-3.0.2.tar.gz 3207709 SHA256 
c308cae5d963a7332548db2dd91ebf105263eb493ce208221a59ad77592399c1 SHA512 
7f3723bd98876aa4769877327a93aa02510689708012afc72148c67acd91ab134501ae57471d9cf0e17c9e3892a541b7730a2392ace3c6525443058d0ed01612
 WHIRLPOOL 
5f1f278fa3c6a98b8d7050bb32e9186cd7053e21d9050bf92b29088154ea3494995bf9953e04d63db4c71ccc37d3a2cdd7e38222b1f82decc2b763144cdf3642
 DIST spyder-3.2.3.tar.gz 3342954 SHA256 
714c9b9941c1883c810bf87f34d6d46fc4458053e3d138d9e12435ea236b0dd2 SHA512 
873a1a0c319fc6580dfbe7370dc5ca132d973b5baf75ba0b6cda228adb7fe7baf4fbdebf4d1984ed6f204c7d27b1bfc2c449199ab02aeb8caf9ebded738f3491
 WHIRLPOOL 
49729a844157bdd75ced53c1cdfea87cc5366590821f732334dab81bebf094f0d7f09095e88fe584b0d65434f61c71d2bcdb8da29f6af91781bcab1fb2e951e4
+DIST spyder-3.2.4.tar.gz 3345797 SHA256 
638310e720248255395df0fdfe010d51f29509858742c8e9cd5e60f7c2791009 SHA512 
46e89c68545695d1e64aaafdd2ed724b152a41088f1bfa645b8c66d8ae6bcc2d86e9830cd3f16edfb8027aad5786dfb67f2a8371839dd515df8ebe34446716e6
 WHIRLPOOL 
1148413058abf2f5d876eb01d8e6b07d79d038cc6c9ff9471c86b38a6b4f7f3d36688a0516ffe8d020463152a9108e7be507cf950cef500263ed7c98f1426554

diff --git a/dev-python/spyder/files/spyder-3.2.4-build.patch 
b/dev-python/spyder/files/spyder-3.2.4-build.patch
new file mode 100644
index 000..2a1fee52131
--- /dev/null
+++ b/dev-python/spyder/files/spyder-3.2.4-build.patch
@@ -0,0 +1,130 @@
+--- spyder-3.2.3.orig/setup.py 2017-08-29 00:42:56.0 +0200
 spyder-3.2.3/setup.py  2017-09-16 20:57:08.610147911 +0200
+@@ -77,13 +77,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/pixmaps', ['img_src/spyder3.png']),
+-  ('share/metainfo', ['scripts/spyder3.appdata.xml'])]
+-else:
+-data_files = [('share/applications', ['scripts/spyder.desktop']),
+-  ('share/pixmaps', ['img_src/spyder.png'])]
++data_files = [('share/pixmaps', ['img_src/spyder.png'])]
+ elif os.name == 'nt':
+ data_files = [('scripts', ['img_src/spyder.ico',
+'img_src/spyder_reset.ico'])]
+@@ -106,102 +100,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}
+-
+-
+-#==
+-# Sphinx build (documentation)
+-#==
+-def get_html_help_exe():
+-"""Return HTML Help Workshop executable path (Windows only)"""
+-if os.name == 'nt':
+-hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe'
+-for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'):
+-if osp.isfile(hhc_exe):
+-return hhc_exe
+-else:
+-return
+-
+-try:
+-from sphinx import setup_command
+-
+-class MyBuild(build):
+-user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
+-   + build.user_options
+-def __init__(self, *args, **kwargs):
+-build.__init__(self, *args, **kwargs)
+-self.no_doc = False
+-def with_doc(self):
+-setup_dir = os.path.dirname(os.path.abspath(__file__))
+-is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc'))
+-install_obj = self.distribution.get_command_obj('install')
+-return (is_doc_dir 

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2017-08-15 Thread Andreas Sturmlechner
commit: 8a4f7179e458a48c7167f3de6b0d4532a640b68b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Aug 15 18:17:14 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug 15 20:09:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4f7179

dev-python/spyder: Drop old

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 dev-python/spyder/Manifest   |   1 -
 dev-python/spyder/files/spyder-2.3.9-build.patch | 154 ---
 dev-python/spyder/metadata.xml   |  12 --
 dev-python/spyder/spyder-2.3.9.ebuild|  51 
 4 files changed, 218 deletions(-)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index ad028717f13..04c54fc6e8f 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,2 +1 @@
-DIST spyder-2.3.9.zip 3043753 SHA256 
9b69df9abc7805fead522a8a1fe5b680bd0d07922564dde51c040e9f3fcb7349 SHA512 
8808e0680779ffd0d3fad628bb9675babbede4ff92673786a8f4258ed5a0903a314c8db217e3f7aea0232282548c622df44541e14daa57b167732ff787a96166
 WHIRLPOOL 
8f8aa136216fe42d3d454211a9f8cf1f69dabce535f8a4fb5841fff3919141f957d90543e21c6809df2d0629e5011a66b5c1bdb6e1fe7fadb95a3081ef3a604e
 DIST spyder-3.0.2.tar.gz 3207709 SHA256 
c308cae5d963a7332548db2dd91ebf105263eb493ce208221a59ad77592399c1 SHA512 
7f3723bd98876aa4769877327a93aa02510689708012afc72148c67acd91ab134501ae57471d9cf0e17c9e3892a541b7730a2392ace3c6525443058d0ed01612
 WHIRLPOOL 
5f1f278fa3c6a98b8d7050bb32e9186cd7053e21d9050bf92b29088154ea3494995bf9953e04d63db4c71ccc37d3a2cdd7e38222b1f82decc2b763144cdf3642

diff --git a/dev-python/spyder/files/spyder-2.3.9-build.patch 
b/dev-python/spyder/files/spyder-2.3.9-build.patch
deleted file mode 100644
index 2a4646ab0c0..000
--- a/dev-python/spyder/files/spyder-2.3.9-build.patch
+++ /dev/null
@@ -1,154 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -21,8 +21,6 @@
- import shutil
- 
- from distutils.core import setup
--from distutils.command.build import build
--from distutils.command.install_data import install_data
- 
- # Check for Python 3
- PY3 = sys.version_info[0] == 3
-@@ -66,12 +64,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/pixmaps', ['img_src/spyder3.png'])]
--else:
--data_files = [('share/applications', ['scripts/spyder.desktop']),
--  ('share/pixmaps', ['img_src/spyder.png'])]
-+data_files = [('share/pixmaps', ['img_src/spyder.png'])]
- elif os.name == 'nt':
- data_files = [('scripts', ['img_src/spyder.ico',
-'img_src/spyder_light.ico'])]
-@@ -80,97 +73,6 @@
- return data_files
- 
- 
--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}
--
--
--# Sphinx build (documentation)
--def get_html_help_exe():
--"""Return HTML Help Workshop executable path (Windows only)"""
--if os.name == 'nt':
--hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe'
--for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'):
--if osp.isfile(hhc_exe):
--return hhc_exe
--else:
--return
--
--try:
--from sphinx import setup_command
--
--class MyBuild(build):
--user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
--   + build.user_options
--def __init__(self, *args, **kwargs):
--build.__init__(self, *args, **kwargs)
--self.no_doc = False
--def with_doc(self):
--setup_dir = os.path.dirname(os.path.abspath(__file__))
--is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc'))
--install_obj = self.distribution.get_command_obj('install')
--return (is_doc_dir and not self.no_doc and not install_obj.no_doc)
--sub_commands = build.sub_commands + [('build_doc', with_doc)]
--CMDCLASS['build'] = MyBuild
--
--
--class MyInstall(install):
--user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
--   + install.user_options
--def __init__(self, *args, **kwargs):
--install.__init__(self, *args, **kwargs)
--self.no_doc = False
--CMDCLASS['install'] = MyInstall
--
--
--class MyBuildDoc(setup_command.BuildDoc):
--def run(self):
--build = self.get_finalized_command('build')
--

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2017-05-02 Thread Michał Górny
commit: 840d780b4ade91616ca34e3a20c0ba43023569bb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 08:08:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 08:46:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840d780b

dev-python/spyder: Clean old versions up

 dev-python/spyder/Manifest   |   3 -
 dev-python/spyder/files/spyder-2.3.1-build.patch | 154 ---
 dev-python/spyder/files/spyder-2.3.8-build.patch | 154 ---
 dev-python/spyder/spyder-2.3.4.ebuild|  52 
 dev-python/spyder/spyder-2.3.5.2.ebuild  |  50 
 dev-python/spyder/spyder-2.3.8.ebuild|  51 
 dev-python/spyder/spyder-3.0.2.ebuild|  57 -
 7 files changed, 521 deletions(-)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index 0e39a3c26ed..ad028717f13 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,5 +1,2 @@
-DIST spyder-2.3.4.zip 3707063 SHA256 
da4b13d6faed3e8810c0418f8274b26fde4f265ea4f93bee154af128a755c184 SHA512 
7a4ea65ea06e9944094fc94db78327f9e23a8fd6dda5d0e9aa0e82ba4cd7d9f50b1eb837395a3fa2fabe814df873ad8ddbcca223144c47af4007b0493575e41e
 WHIRLPOOL 
53e8f42bdafe01072457f27e45a279f92a198f181344f8267be2b3940cbd6d3743685ffe3264b04344f83bcb73b3eb8c9ec0e6bf8ccef26e19901324bfacb682
-DIST spyder-2.3.5.2.zip 3039104 SHA256 
40e589467b561af534aac6d8cc2ea0dc244d3ae4457afb41b3aec6db6f8b2336 SHA512 
ac8e078991b2889c3359e700bd89d4c8487eeba412512bc9bd7685214f687001bcc411016283bcde4eb73f6186ffc5cadc9614d911acd8b788899ef5aafd66e1
 WHIRLPOOL 
e2b2bca44bd2ec1461875a358868ab34c60f30ac5164ff6312302b495e859000b97afc78ce12c69dbc328fdcbead247a9defce9e29c08de367fc7d3a321ff007
-DIST spyder-2.3.8.zip 3043528 SHA256 
99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e SHA512 
7d40e081ce2ea579d8d98e58e31b53afc04360bebcd52a226adc5ed387ed94d1aa24d0372c2e3594689d0f44a81df9986d8c3fbe4ccbae7a493ad039aaba3acc
 WHIRLPOOL 
dfd1edb2006c89df1a5bbc9d42a5e4e0042691fbcef71f855af6c0111f2b38bb88aef61ac00cfe8fed574e631af295aacb6d784d184ddb107e46616ce3a65e01
 DIST spyder-2.3.9.zip 3043753 SHA256 
9b69df9abc7805fead522a8a1fe5b680bd0d07922564dde51c040e9f3fcb7349 SHA512 
8808e0680779ffd0d3fad628bb9675babbede4ff92673786a8f4258ed5a0903a314c8db217e3f7aea0232282548c622df44541e14daa57b167732ff787a96166
 WHIRLPOOL 
8f8aa136216fe42d3d454211a9f8cf1f69dabce535f8a4fb5841fff3919141f957d90543e21c6809df2d0629e5011a66b5c1bdb6e1fe7fadb95a3081ef3a604e
 DIST spyder-3.0.2.tar.gz 3207709 SHA256 
c308cae5d963a7332548db2dd91ebf105263eb493ce208221a59ad77592399c1 SHA512 
7f3723bd98876aa4769877327a93aa02510689708012afc72148c67acd91ab134501ae57471d9cf0e17c9e3892a541b7730a2392ace3c6525443058d0ed01612
 WHIRLPOOL 
5f1f278fa3c6a98b8d7050bb32e9186cd7053e21d9050bf92b29088154ea3494995bf9953e04d63db4c71ccc37d3a2cdd7e38222b1f82decc2b763144cdf3642

diff --git a/dev-python/spyder/files/spyder-2.3.1-build.patch 
b/dev-python/spyder/files/spyder-2.3.1-build.patch
deleted file mode 100644
index 4300c3010bd..000
--- a/dev-python/spyder/files/spyder-2.3.1-build.patch
+++ /dev/null
@@ -1,154 +0,0 @@
 setup.py
-+++ setup.py
-@@ -21,8 +21,6 @@
- import shutil
- 
- from distutils.core import setup
--from distutils.command.build import build
--from distutils.command.install_data import install_data
- 
- # Check for Python 3
- PY3 = sys.version_info[0] == 3
-@@ -66,12 +64,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/pixmaps', ['img_src/spyder3.png'])]
--else:
--data_files = [('share/applications', ['scripts/spyder.desktop']),
--  ('share/pixmaps', ['img_src/spyder.png'])]
-+data_files = [('share/pixmaps', ['img_src/spyder.png'])]
- elif os.name == 'nt':
- data_files = [('scripts', ['img_src/spyder.ico',
-'img_src/spyder_light.ico'])]
-@@ -80,97 +73,6 @@
- return data_files
- 
- 
--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}
--
--
--# Sphinx build (documentation)
--def get_html_help_exe():
--"""Return HTML Help Workshop executable path (Windows only)"""
--if os.name == 'nt':
--hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe'
--for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'):
--if osp.isfile(hhc_exe):
--return hhc_exe
--  

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2016-06-21 Thread Andrey Grozin
commit: 6c5b437364736f885db8560dd11d44d5f394d052
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Jun 21 14:27:46 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Jun 21 14:28:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5b4373

dev-python/spyder: bump to 2.3.9

Bug: 586340

Package-Manager: portage-2.3.0_rc1

 dev-python/spyder/Manifest   |   1 +
 dev-python/spyder/files/spyder-2.3.9-build.patch | 154 +++
 dev-python/spyder/spyder-2.3.9.ebuild|  52 
 3 files changed, 207 insertions(+)

diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
index e7bbcbb..33c206d 100644
--- a/dev-python/spyder/Manifest
+++ b/dev-python/spyder/Manifest
@@ -1,3 +1,4 @@
 DIST spyder-2.3.4.zip 3707063 SHA256 
da4b13d6faed3e8810c0418f8274b26fde4f265ea4f93bee154af128a755c184 SHA512 
7a4ea65ea06e9944094fc94db78327f9e23a8fd6dda5d0e9aa0e82ba4cd7d9f50b1eb837395a3fa2fabe814df873ad8ddbcca223144c47af4007b0493575e41e
 WHIRLPOOL 
53e8f42bdafe01072457f27e45a279f92a198f181344f8267be2b3940cbd6d3743685ffe3264b04344f83bcb73b3eb8c9ec0e6bf8ccef26e19901324bfacb682
 DIST spyder-2.3.5.2.zip 3039104 SHA256 
40e589467b561af534aac6d8cc2ea0dc244d3ae4457afb41b3aec6db6f8b2336 SHA512 
ac8e078991b2889c3359e700bd89d4c8487eeba412512bc9bd7685214f687001bcc411016283bcde4eb73f6186ffc5cadc9614d911acd8b788899ef5aafd66e1
 WHIRLPOOL 
e2b2bca44bd2ec1461875a358868ab34c60f30ac5164ff6312302b495e859000b97afc78ce12c69dbc328fdcbead247a9defce9e29c08de367fc7d3a321ff007
 DIST spyder-2.3.8.zip 3043528 SHA256 
99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e SHA512 
7d40e081ce2ea579d8d98e58e31b53afc04360bebcd52a226adc5ed387ed94d1aa24d0372c2e3594689d0f44a81df9986d8c3fbe4ccbae7a493ad039aaba3acc
 WHIRLPOOL 
dfd1edb2006c89df1a5bbc9d42a5e4e0042691fbcef71f855af6c0111f2b38bb88aef61ac00cfe8fed574e631af295aacb6d784d184ddb107e46616ce3a65e01
+DIST spyder-2.3.9.zip 3043753 SHA256 
9b69df9abc7805fead522a8a1fe5b680bd0d07922564dde51c040e9f3fcb7349 SHA512 
8808e0680779ffd0d3fad628bb9675babbede4ff92673786a8f4258ed5a0903a314c8db217e3f7aea0232282548c622df44541e14daa57b167732ff787a96166
 WHIRLPOOL 
8f8aa136216fe42d3d454211a9f8cf1f69dabce535f8a4fb5841fff3919141f957d90543e21c6809df2d0629e5011a66b5c1bdb6e1fe7fadb95a3081ef3a604e

diff --git a/dev-python/spyder/files/spyder-2.3.9-build.patch 
b/dev-python/spyder/files/spyder-2.3.9-build.patch
new file mode 100644
index 000..2a4646a
--- /dev/null
+++ b/dev-python/spyder/files/spyder-2.3.9-build.patch
@@ -0,0 +1,154 @@
+--- a/setup.py
 b/setup.py
+@@ -21,8 +21,6 @@
+ import shutil
+ 
+ from distutils.core import setup
+-from distutils.command.build import build
+-from distutils.command.install_data import install_data
+ 
+ # Check for Python 3
+ PY3 = sys.version_info[0] == 3
+@@ -66,12 +64,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/pixmaps', ['img_src/spyder3.png'])]
+-else:
+-data_files = [('share/applications', ['scripts/spyder.desktop']),
+-  ('share/pixmaps', ['img_src/spyder.png'])]
++data_files = [('share/pixmaps', ['img_src/spyder.png'])]
+ elif os.name == 'nt':
+ data_files = [('scripts', ['img_src/spyder.ico',
+'img_src/spyder_light.ico'])]
+@@ -80,97 +73,6 @@
+ return data_files
+ 
+ 
+-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}
+-
+-
+-# Sphinx build (documentation)
+-def get_html_help_exe():
+-"""Return HTML Help Workshop executable path (Windows only)"""
+-if os.name == 'nt':
+-hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe'
+-for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'):
+-if osp.isfile(hhc_exe):
+-return hhc_exe
+-else:
+-return
+-
+-try:
+-from sphinx import setup_command
+-
+-class MyBuild(build):
+-user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
+-   + build.user_options
+-def __init__(self, *args, **kwargs):
+-build.__init__(self, *args, **kwargs)
+-self.no_doc = False
+-def with_doc(self):
+-setup_dir = os.path.dirname(os.path.abspath(__file__))
+-is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc'))
+-install_obj = self.distribution.get_command_obj('install')
+-

[gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/, dev-python/spyder/files/

2016-02-23 Thread Patrice Clement
commit: fd1b8160cae4b9a5aa99dad3c3a34c01cc33ea90
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Feb 23 09:07:24 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Feb 23 09:14:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1b8160

dev-python/spyder: Following EAPI 6 bump, convert patch to p1 format.

With the EAPI 6, patches must be p1 compliant. So let's make Portage happy and
comply with the new rule.

Package-Manager: portage-2.2.26

 dev-python/spyder/files/spyder-2.3.8-build.patch | 154 +++
 dev-python/spyder/spyder-2.3.8.ebuild|   2 +-
 2 files changed, 155 insertions(+), 1 deletion(-)

diff --git a/dev-python/spyder/files/spyder-2.3.8-build.patch 
b/dev-python/spyder/files/spyder-2.3.8-build.patch
new file mode 100644
index 000..2a4646a
--- /dev/null
+++ b/dev-python/spyder/files/spyder-2.3.8-build.patch
@@ -0,0 +1,154 @@
+--- a/setup.py
 b/setup.py
+@@ -21,8 +21,6 @@
+ import shutil
+ 
+ from distutils.core import setup
+-from distutils.command.build import build
+-from distutils.command.install_data import install_data
+ 
+ # Check for Python 3
+ PY3 = sys.version_info[0] == 3
+@@ -66,12 +64,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/pixmaps', ['img_src/spyder3.png'])]
+-else:
+-data_files = [('share/applications', ['scripts/spyder.desktop']),
+-  ('share/pixmaps', ['img_src/spyder.png'])]
++data_files = [('share/pixmaps', ['img_src/spyder.png'])]
+ elif os.name == 'nt':
+ data_files = [('scripts', ['img_src/spyder.ico',
+'img_src/spyder_light.ico'])]
+@@ -80,97 +73,6 @@
+ return data_files
+ 
+ 
+-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}
+-
+-
+-# Sphinx build (documentation)
+-def get_html_help_exe():
+-"""Return HTML Help Workshop executable path (Windows only)"""
+-if os.name == 'nt':
+-hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe'
+-for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'):
+-if osp.isfile(hhc_exe):
+-return hhc_exe
+-else:
+-return
+-
+-try:
+-from sphinx import setup_command
+-
+-class MyBuild(build):
+-user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
+-   + build.user_options
+-def __init__(self, *args, **kwargs):
+-build.__init__(self, *args, **kwargs)
+-self.no_doc = False
+-def with_doc(self):
+-setup_dir = os.path.dirname(os.path.abspath(__file__))
+-is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc'))
+-install_obj = self.distribution.get_command_obj('install')
+-return (is_doc_dir and not self.no_doc and not install_obj.no_doc)
+-sub_commands = build.sub_commands + [('build_doc', with_doc)]
+-CMDCLASS['build'] = MyBuild
+-
+-
+-class MyInstall(install):
+-user_options = [('no-doc', None, "Don't build Spyder documentation")] 
\
+-   + install.user_options
+-def __init__(self, *args, **kwargs):
+-install.__init__(self, *args, **kwargs)
+-self.no_doc = False
+-CMDCLASS['install'] = MyInstall
+-
+-
+-class MyBuildDoc(setup_command.BuildDoc):
+-def run(self):
+-build = self.get_finalized_command('build')
+-sys.path.insert(0, os.path.abspath(build.build_lib))
+-dirname = self.distribution.get_command_obj('build').build_purelib
+-self.builder_target_dir = osp.join(dirname, 'spyderlib', 'doc')
+-
+-if not osp.exists(self.builder_target_dir):
+-os.mkdir(self.builder_target_dir)
+-
+-hhc_exe = get_html_help_exe()
+-self.builder = "html" if hhc_exe is None else "htmlhelp"
+-
+-try:
+-setup_command.BuildDoc.run(self)
+-except UnicodeDecodeError:
+-print("ERROR: unable to build documentation because Sphinx "\
+-  "do not handle source path with non-ASCII characters. "\
+-  "Please try to move the source package to another "\
+-  "location (path with *only* ASCII characters).",
+-  file=sys.stderr)
+-sys.path.pop(0)
+-