diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 260513 -> 260513 bytes | |||
-rw-r--r-- | dev-python/jupyter_server/Manifest | 6 | ||||
-rw-r--r-- | dev-python/jupyter_server/jupyter_server-2.0.1.ebuild | 79 | ||||
-rw-r--r-- | dev-python/jupyter_server/jupyter_server-2.0.5.ebuild | 79 | ||||
-rw-r--r-- | dev-python/jupyter_server/jupyter_server-2.0.6-r1.ebuild (renamed from dev-python/jupyter_server/jupyter_server-2.0.6.ebuild) | 2 | ||||
-rw-r--r-- | dev-python/python-lsp-server/Manifest | 5 | ||||
-rw-r--r-- | dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch | 51 | ||||
-rw-r--r-- | dev-python/python-lsp-server/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/python-lsp-server/python-lsp-server-1.7.0.ebuild | 87 | ||||
-rw-r--r-- | dev-python/spyder/Manifest | 3 | ||||
-rw-r--r-- | dev-python/spyder/spyder-5.4.1.ebuild | 196 |
11 files changed, 344 insertions, 165 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 3cab35d4143e..1cf93346d942 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index aeafd1673197..c21a32565d54 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1,10 +1,6 @@ AUX jupyter_server-2.0.1-skip-npm.patch 698 BLAKE2B f037094e4ba041f112e6b2b08693186c9414fee1dbb9a25be94bc7ec75be09888c2b147329ef9c4b2bdcefd54c44cbadfb658983f97537e5b277eb0fc9ae4cc4 SHA512 d20cfdc71c1c58a7c3126db80d30d34ec8f188f6b5da82accd9e02c91cb14ce750123be443d0c85b18357ae1d22117912c4605e0ee74d9dbf226c739faa17297 DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 -DIST jupyter_server-2.0.1.tar.gz 680584 BLAKE2B 06ec85e0088f3ab7d08935b2b085c96d4ce9b787895a573024f64af48b78a7c99bbe8fa8330f8536b55d32fd7321a5cb56958a55a6044aec687107d13dce9db0 SHA512 c8d676da5af479ca0492c94615b01f9d2efb0d8e3aefa78437c44997409afeef1eaf7e269ce48047597d83cc82a26602108db17eacddca73179e9042ee145afa -DIST jupyter_server-2.0.5.tar.gz 682705 BLAKE2B ea83b74c105fe7337dfafd725a7f6989b440a7124be73f854900d578439b5a3f0f5056e39056ce28ee07611b742afb4c4b1d1352f123125d4d7080269f217a94 SHA512 6e2af05c1cc6875fd32158bbd70a55f7a05e18af7b264d7d3e966d3d8c1c515927e86a0763e5734bca90b57119183d1ad4e10c44a47d929c6d62b15f78cc18f0 DIST jupyter_server-2.0.6.tar.gz 686312 BLAKE2B dfa309146e74c646ab28f31a4a7293d2b658771077240179aebd13176151c982035649acf3b78c86ddb06e914e3342e5894fb55f8b8711cb493a6a7c4b259cfa SHA512 186b41b13cc727d0674a49abcb9b3a9aa5b898f0e9e42124e46e862ec62528b4127b159a30352f33e6b91321f1dd3f086f82dca72d5616755bcf3220d154faa6 EBUILD jupyter_server-1.19.1.ebuild 2282 BLAKE2B 2c9c0450fa3f77034ce1e072425a235d61b6219d5adc624ab591514d4f4faced43d5e8f302aceafe3a4ddb0fcca1b12281351f1075376f127e75e7dc627ecb5b SHA512 2754a4a18aea4ad2529d03ceaf64c81b04ee15a7f6c7d1742b26c187d344be6f52d288957945ebc729d76c6c909a34688e8a434aa4aa3afadce0ae487c7915fd -EBUILD jupyter_server-2.0.1.ebuild 2280 BLAKE2B 0fe8c231cccfe2f35b747835ace6a772775576d8875cd8701ee2581323853c8326e4681f696fbfdae39110692f91a94b331a72734491c36de9cd8880f79cb8d2 SHA512 74fd9c5a3724141eaae1ddac6182b655412e936ba4b680d66ec53159a50a2f2725246a8ef407ea0e0b13d67aa6bebe421efdbb655be2366a03cb339f948009bb -EBUILD jupyter_server-2.0.5.ebuild 2287 BLAKE2B 8a3f7e40d9cace3f8b97acf91892472ada83b182630f3ea4aed1770574f359b92e978588ecde80948acc8f5b373cfcedebb4e1f6df2cf3dddc3324221c3250f3 SHA512 4caf188faef10dfab256eac12256ea071cfc279cf8b4ddb9ef1885fd4f0ab3bd618d97f94feb728fe3b28203695d34821de5317411ab64132c4857a7d98640f8 -EBUILD jupyter_server-2.0.6.ebuild 2068 BLAKE2B 53f9e67fbcddf4dd6456ee4f475a8f2cd4ec2a7c53e2267afbd299db97aa5f408a142bb44f88599304cf08bd3f1bd08b7d3d7bc03a911605270b5cb422fae774 SHA512 52ca17726e47226b04ece5d50286725ef5ce428f5efdd7c945ca27ca6c6a3d8bf240923a0ee983b6e292152e037caee686254146561b5d077c46fe26cb381045 +EBUILD jupyter_server-2.0.6-r1.ebuild 2067 BLAKE2B f33098515fb0ac2e54c1a2c6ce8c71e8cef5cddd03503cb0ccc347732a78406c83400046bcd1ed88e6c7a3eea60433e7ea9e845652f4459df67e5601be90a38d SHA512 9ce5ddaa4c1ff0f09a4018ccfabab58c4fcc8ae10a5f2b264dd6b7db63921bbdcb060b0c5ca2b804efb79a047dc6d258c99de8b2293c18aec000a4d4fb6ebb09 MISC metadata.xml 544 BLAKE2B ec5a0aea1d2ad6ce0e59972d2ef4ce62c03877d464dfdc34bcb94a7d01304c63761c6bc30ed973bba1f4100e25f70541bed4eea858deb44f359d0e373ae1ade0 SHA512 ffe7deb7349ce99890b902a225b73913185bfa860237dea8c1a508a6a5e84bbb74ca7a5c43253c9986f97fb3fd1e9f2bb63ca60f73953fcc851359df8adb5fbd diff --git a/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild deleted file mode 100644 index fcbdb61311d6..000000000000 --- a/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" - -RDEPEND=" - >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] - <dev-python/anyio-4[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] - >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] - >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/prometheus_client[${PYTHON_USEDEP}] - >=dev-python/pyzmq-24[${PYTHON_USEDEP}] - dev-python/send2trash[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] - -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - dev-python/pytest_jupyter[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/source \ - dev-python/pydata-sphinx-theme \ - dev-python/myst_parser \ - dev-python/ipython \ - dev-python/sphinxemoji \ - dev-python/sphinxcontrib-github-alt \ - dev-python/sphinxcontrib-openapi -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # This fails if your terminal is zsh (and maybe other non-bash as well?) - tests/test_terminal.py - # Fails because above is ignored - tests/auth/test_authorizer.py - # Fails with additional extensions installed - tests/extension/test_app.py::test_stop_extension -) - -PATCHES=( - "${FILESDIR}/${P}-skip-npm.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest \ - -p pytest_tornasync.plugin \ - -p jupyter_server.pytest_plugin \ - -p pytest_console_scripts \ - -p pytest_timeout -} diff --git a/dev-python/jupyter_server/jupyter_server-2.0.5.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.5.ebuild deleted file mode 100644 index 9cd1965666df..000000000000 --- a/dev-python/jupyter_server/jupyter_server-2.0.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" - -RDEPEND=" - >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] - <dev-python/anyio-4[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] - >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] - >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/prometheus_client[${PYTHON_USEDEP}] - >=dev-python/pyzmq-24[${PYTHON_USEDEP}] - dev-python/send2trash[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] - -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - dev-python/pytest_jupyter[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/source \ - dev-python/pydata-sphinx-theme \ - dev-python/myst_parser \ - dev-python/ipython \ - dev-python/sphinxemoji \ - dev-python/sphinxcontrib-github-alt \ - dev-python/sphinxcontrib-openapi -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # This fails if your terminal is zsh (and maybe other non-bash as well?) - tests/test_terminal.py - # Fails because above is ignored - tests/auth/test_authorizer.py - # Fails with additional extensions installed - tests/extension/test_app.py::test_stop_extension -) - -PATCHES=( - "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest \ - -p pytest_tornasync.plugin \ - -p jupyter_server.pytest_plugin \ - -p pytest_console_scripts \ - -p pytest_timeout -} diff --git a/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.6-r1.ebuild index 2b15b9a6e42a..aa50855947aa 100644 --- a/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild +++ b/dev-python/jupyter_server/jupyter_server-2.0.6-r1.ebuild @@ -22,7 +22,7 @@ RDEPEND=" dev-python/argon2-cffi[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] - >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-5.1.0[${PYTHON_USEDEP}] >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index 0b7ce8bec769..9c44b7212c57 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,4 +1,7 @@ AUX python-lsp-server-1.6.0-unpin-all-the-deps.patch 1461 BLAKE2B f4a2bda2717370e18c5cc909486d852c985168fcfca042c8f12bff96701a5a7c2e0cc9fce1429870ceed9e2b385e795b5a5b18c919defc07e42933496b19b863 SHA512 8ba0da9a25bde3c1788e9729b1c98fde9f134ec78c3ee9185e61333cfbf90a50ee9f0cbd9fa569bbaae7289cfa75260b848ececc83f6e7d26891f457808ffb73 +AUX python-lsp-server-1.7.0-unpin-all-the-deps.patch 1450 BLAKE2B 6443598fc5aa6ae87c448500ed638597ae03285f34b799f9c00883dc2015eb95c03e80b863d95d86d14626e1a1fb53102cba34013ba34ba8848ed4709004da9f SHA512 10ae9fb5db1abecaeb846508d6d4d0137b397b1422cdbd4bf40dff5f3c8658306e77b3c888e3faaf6f47f5cdd62f061a7595a07a6e56469c904c19b5d0ff2091 DIST python-lsp-server-1.6.0.tar.gz 85242 BLAKE2B 52fcca5a93035a6ec8179908b2139e9392220cad082afb4c31b18284cdd53050c68fca4bcc9d852fa9acb49200487431fec37dc840e61ab9320fd6c3a86189ee SHA512 e4ab52f334fb1eece3458258ed39bf66eeb6056ed7e243be9c69ce2bac92792786df2fbc1d316133ac5523b44a57e7d89d4d6f18120c748e78ef20570a325c9b +DIST python-lsp-server-1.7.0.tar.gz 95085 BLAKE2B 8cce5a01588d44efbc19f8ceec67e61580835814f403d6bda4ca2f82f56dc35c85fc3176f8ebc1eea720aa92710379f87a5e98f443f71a5d16e5bfe48702da1b SHA512 2ef31bdd4451b4b282469223ff5cc5799f4487d3dfc593dfc58483b939802754e0e375461723bf7a90d0fd71f945c927106c5d929621a70f83c3f30bddf68250 EBUILD python-lsp-server-1.6.0.ebuild 2988 BLAKE2B 9c33dd656ba3915055ef7ecdda17e95871045c077689cd59373ef91a909a0316b895ab8f3e59d8ea8eb4baebbdfb48cdfc9e56deac7ec45eb65288a38fc6101c SHA512 53d7cff3eab6a70f399a69d65ea00935c9534809898321ad87a777202e7c2366a29d07611a91e9222926a85a4c97b87175c5e2c580e1e11933a189740d36ab8a -MISC metadata.xml 542 BLAKE2B ca71a08385d37c7f5cc562986630ae482970842054ffa944151d2e4a5d8449329b71c16c61e2a81f3d3d93f02a61ce637fe0bd0961ba3f86b7182b9728b62d5c SHA512 2d5103643838ba8aec53e7d3e924517cc3d735c724b6dfea249bcce3716aebb9f54e3264cb2cccc15dfe7d0ad4b7d052388122144fe6248d4faeef3482d197e7 +EBUILD python-lsp-server-1.7.0.ebuild 2988 BLAKE2B b5e9133831bc1e0371fcb4902d35e017b97187433f494f956ca4f7f789c90b872d2c4cce2bdb27335ff210f8b18f68bb8c7a818cc8b85cb16eeadf33f116cf04 SHA512 a8e65b29e26fde6ea030899377da8d3256343da0460e5e30154bde5d20025551be3100af815cd01750f8f495698e0fdfc2895a884f1916a4955fa9cbafa723e5 +MISC metadata.xml 610 BLAKE2B e111007adc2612409df72955babe0c4725fd5726449435988cf13c1142049d78089d38e54783712e2c70c74437157ffb2049bd9d63322cec084204eb5038e724 SHA512 5e1e4b43a5bfacb6a2fcae57413ebf79c6aed917b00022140d855acd773d82e56b2d73ae8270d42675a34d9f37f9ad53c8f61930c3f447d8a9e45a521a20e9bb diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch new file mode 100644 index 000000000000..7bc98e1eb2c8 --- /dev/null +++ b/dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch @@ -0,0 +1,51 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 1422313..4e1ecad 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -13,7 +13,7 @@ readme = "README.md" + license = {text = "MIT"} + requires-python = ">=3.7" + dependencies = [ +- "jedi>=0.17.2,<0.19.0", ++ "jedi>=0.17.2", + "python-lsp-jsonrpc>=1.0.0", + "pluggy>=1.0.0", + "docstring-to-markdown", +@@ -27,26 +27,26 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" + + [project.optional-dependencies] + all = [ +- "autopep8>=1.6.0,<1.7.0", +- "flake8>=5.0.0,<7", +- "mccabe>=0.7.0,<0.8.0", +- "pycodestyle>=2.9.0,<2.11.0", ++ "autopep8>=1.6.0", ++ "flake8>=5.0.0", ++ "mccabe>=0.7.0", ++ "pycodestyle>=2.9.0", + "pydocstyle>=2.0.0", +- "pyflakes>=2.5.0,<3.1.0", ++ "pyflakes>=2.5.0", + "pylint>=2.5.0", + "rope>1.2.0", + "yapf", + "whatthepatch" + ] +-autopep8 = ["autopep8>=1.6.0,<1.7.0"] +-flake8 = ["flake8>=5.0.0,<7"] +-mccabe = ["mccabe>=0.7.0,<0.8.0"] +-pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"] ++autopep8 = ["autopep8>=1.6.0"] ++flake8 = ["flake8>=5.0.0"] ++mccabe = ["mccabe>=0.7.0"] ++pycodestyle = ["pycodestyle>=2.9.0"] + pydocstyle = ["pydocstyle>=2.0.0"] +-pyflakes = ["pyflakes>=2.5.0,<3.1.0"] ++pyflakes = ["pyflakes>=2.5.0"] + pylint = ["pylint>=2.5.0"] + rope = ["rope>1.2.0"] +-yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] ++yapf = ["yapf", "whatthepatch>=1.0.2"] + websockets = ["websockets>=10.3"] + test = [ + "pylint>=2.5.0", diff --git a/dev-python/python-lsp-server/metadata.xml b/dev-python/python-lsp-server/metadata.xml index b6fc9ef2187d..c31d89fbbe00 100644 --- a/dev-python/python-lsp-server/metadata.xml +++ b/dev-python/python-lsp-server/metadata.xml @@ -12,6 +12,7 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">python-lsp-server</remote-id> + <remote-id type="github">python-lsp/python-lsp-server</remote-id> </upstream> <use> <flag name="all-plugins">Pull in all optional plugins</flag> diff --git a/dev-python/python-lsp-server/python-lsp-server-1.7.0.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.7.0.ebuild new file mode 100644 index 000000000000..6215864096bc --- /dev/null +++ b/dev-python/python-lsp-server/python-lsp-server-1.7.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python Language Server for the Language Server Protocol" +HOMEPAGE="https://github.com/python-lsp/python-lsp-server" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="all-plugins" + +BDEPEND=" + test? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + dev-python/docstring-to-markdown[${PYTHON_USEDEP}] + >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] + >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + all-plugins? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ) +" + +# Upstream is overly cautious, insists on pinning +# dependencies to versions required by other dependencies. +# i.e. pin to <dev-python/pycodestyle-2.9.0 because +# dev-python/autopep8-1.6.0 requires that version. +# This causes way more problems then it solves. +PATCHES=( + "${FILESDIR}/${P}-unpin-all-the-deps.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e '/addopts =/d' pyproject.toml || die + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 + optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 + optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe + optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle + optfeature "Python docstring style checker" dev-python/pydocstyle + optfeature "Passive checker for Python programs" dev-python/pyflakes + optfeature "Python code static checker" dev-python/pylint + optfeature "Python refactoring library" dev-python/rope + optfeature "A formatter for Python files" dev-python/yapf +} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index a262119deef4..60fad29c687d 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -2,6 +2,9 @@ AUX spyder-5.0.0-build.patch 1147 BLAKE2B 68e62f6bd7a021d82f1da8d86c16e2289faac7 AUX spyder-5.2.0-doc-theme-renamed.patch 356 BLAKE2B 666ba289498026ab0679776b8af8f6efe7561a9a736ff19b32eaefcac87d142a55a055556c09f94373869711e81a35ef90832fbfe68acc6cee0f2023742de0be SHA512 396944e6f242bf3b6a27ac9d47f0cc07fd99a55c50f174dbee2fccd1f0b3edf355347bf6291943c3003f55996304d96ce2d2fe45ae7c4291e8425bff73a3a861 AUX spyder-5.4.0-unpin-qdarkstyle.patch 835 BLAKE2B 75ce544c6932d090dfee0ae06e37a960462943c93f36b235a9261eadc3105e0357ef2ee28898dd896b2c2e0d6a3eb25e36f4e77ab7439bd942e09fa1447a8ab1 SHA512 a6fa1cedf079dcf1c9f8c0c33b4be2de911ceff526e73412ee95a8b0806baf5dbaafc06ad5f49c91154106c76a85281f83ef9890aaa2c4778e8c3260eb0a53b8 DIST spyder-5.4.0.gh.tar.gz 24497211 BLAKE2B 6022e50345a7493e79cc05d735fcded1d109f7b33c94c4b281a0526fe2c3f5c1020c30bc1a48cdde28db6b279b38f191dc6974724ca893220bac034c69ffd46c SHA512 473408c8315ab46dade4cdfb709119d29a38ea77f29c3dc5a8b4e7eece5c1cbd21978ed2665fc6747ef4db9d8726d4ba796ee0716d48657367bb9840760e786f +DIST spyder-5.4.1.gh.tar.gz 24518322 BLAKE2B d19c28abf17872163d43e81d1a34e2f09cfb6d47738609352b0252de3eafbd63992e57059e965e5e9f668b44ba594d2a240130d9f10112bdea3f1d97568ca081 SHA512 f8dc629552957d4ddcbe849388a6b5b53acd17248ea247fd3c27e0a6b93c411102b12f427f9f41824709bceda8687f09efa0310ae4ce798ae9ebc389bbb8253c +DIST spyder-docs-3ae8705d3eba8fc30d4600d6d1e29ce0da8cd0c6.gh.tar.gz 95448945 BLAKE2B 5e130bff9fbca71e61ed96236a6964e8f34602efbb930dbc928a22eec59ebb2d2bee39f679c27dbbf88686345e5db5894f931e7ab95a3e007444b17c4e021176 SHA512 a6ebe6b6ff057616951c0075ba7c8039dc3a304b6e1bbbb40f80bb54018cee374df230e491493f18070273dded2942e14bfecc9439d33ae1bc3edd5b47067d77 DIST spyder-docs-bb9b308b66cc90e47f43418f079bf098eb4efe6c.gh.tar.gz 89966852 BLAKE2B 7698b0210ccfec9f00cc76893f49398a02878c732eba6bbc89c1da4514734aad8ae8ef85a9c701a1d194976a35a8092755f7c5f09b319f670fac21d0a2e6c542 SHA512 9dd428ca2623c5703076887ab593bd92a2e737d74eb914a7a186d2ab4855519abb02875226463d8c11ff5021e7e84a5ba7c200ad5476f0dc4646831bb0b197a1 EBUILD spyder-5.4.0.ebuild 7622 BLAKE2B f2ea5c5fdae38cf0991acb3efd5a15f456bea21748989778171af7884a9fd5f40b2ce93dbc71ac734f9072c85c2409578d846c6d4ef4307e196baae93c91dc3d SHA512 ae38fa51478d42c84503a23cf46a3a1106eb71c7b1d5bb984e3c2f6c114910a6bd601e87dee70450f52508129044bede9983f2d247ac2c82046c314cdb165792 +EBUILD spyder-5.4.1.ebuild 7623 BLAKE2B 079e1b2e466df248a42259e9210e86bd52b30f756e37d254c159011df6f01c79f16b99c703c5fef490db1c53bff09e72b2511789047101ed0d6a305bfc30a322 SHA512 3320610793fc3095a3f0816b506903b7b27832771a234d034f0940c7f891c85426900597d79121f1fc9778c57877bbb6453130780f9d53c55b0252f51a64c5c4 MISC metadata.xml 1251 BLAKE2B 81f007eda89ddc66841771a949f76da6f015b49bfbf27b47a7557ab70f1241087f06a5c6675ea8da6aa871937cd705aea888989b468ac11d33420cbe34a27f27 SHA512 24977ed6053ad254748ba4c368bed7f8428d1e5928b586f57e48c01733934894fb1f94df077a71fcd7a00e891e24b776b9e57279f90c2f94728f709a94a90121 diff --git a/dev-python/spyder/spyder-5.4.1.ebuild b/dev-python/spyder/spyder-5.4.1.ebuild new file mode 100644 index 000000000000..e4c9f318be91 --- /dev/null +++ b/dev-python/spyder/spyder-5.4.1.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit optfeature xdg distutils-r1 + +# Commit of documentation to fetch +DOCS_PV="3ae8705d3eba8fc30d4600d6d1e29ce0da8cd0c6" + +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-20181111[${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}] + >=dev-python/python-lsp-black-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] + >=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.2.2[${PYTHON_USEDEP}] + >=dev-python/qtawesome-1.2.1[${PYTHON_USEDEP}] + >=dev-python/qtconsole-5.4.0[${PYTHON_USEDEP}] + <dev-python/qtconsole-5.5.0[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.1.0[${PYTHON_USEDEP},svg,webengine] + >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-2.4.1[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-2.5.0[${PYTHON_USEDEP}] + >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] + >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] +" + +# Tests are broken anyway, so lets comment this out so we can enable py3.11 +# BDEPEND=" +# test? ( +# dev-python/cython[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/matplotlib[tk,${PYTHON_USEDEP}] +# dev-python/pandas[${PYTHON_USEDEP}] +# dev-python/pillow[${PYTHON_USEDEP}] +# dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] +# dev-python/pytest-mock[${PYTHON_USEDEP}] +# dev-python/pytest-ordering[${PYTHON_USEDEP}] +# dev-python/pytest-qt[${PYTHON_USEDEP}] +# dev-python/pytest-xvfb[${PYTHON_USEDEP}] +# dev-python/pyyaml[${PYTHON_USEDEP}] +# dev-python/scipy[${PYTHON_USEDEP}] +# dev-python/sympy[${PYTHON_USEDEP}] +# )" + +# 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}/${PN}-5.0.0-build.patch" + "${FILESDIR}/${PN}-5.2.0-doc-theme-renamed.patch" + "${FILESDIR}/${PN}-5.4.0-unpin-qdarkstyle.patch" +) + +DOCS=( + "AUTHORS.txt" + "Announcements.md" + "CHANGELOG.md" + "CODE_OF_CONDUCT.md" + "CONTRIBUTING.md" + "NOTICE.txt" + "README.md" + "RELEASE.md" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/doc \ + dev-python/sphinx-panels \ + dev-python/pydata-sphinx-theme \ + dev-python/sphinx-multiversion + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these dependencies are packaged separately: + # dev-python/spyder-kernels, + # dev-python/python-lsp-server, + # dev-python/qdarkstyle + rm -r external-deps/* || die + # runs against things packaged in external-deps dir + rm conftest.py || die + + # Do not depend on pyqt5<5.16, this dependency is carried by QtPy[pyqt5] + # Do not depend on pyqtwebengine<5.16, this dependency is carried by QtPy[webengine] + # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server + # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder + # Do not depend on ipython, this dependency is carried in spyder-kernels + # The explicit version requirements only make things more complicated, if e.g. + # pyls-spyder gains compatibility with a newer version of python-lsp-server + # in a new release it will take time for this information to propagate into + # the next spyder release. So just remove the dependency and let the other + # ebuilds handle the version requirements to speed things up and prevent + # issues such as Bug 803269. + sed -i \ + -e "/'pyqt5[ 0-9<=>.,]*',/d" \ + -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ + -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ + -e "/'parso[ 0-9<=>.,]*',/d" \ + -e "/'jedi[ 0-9<=>.,]*',/d" \ + -e "/'pylint[ 0-9<=>.,]*',/d" \ + -e "/'ipython[ 0-9<=>.,]*',/d" \ + setup.py || die + sed -i \ + -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ + -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ + -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ + -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ + -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \ + -e "/^IPYTHON_REQVER/c\IPYTHON_REQVER = '>=0.0.1'" \ + spyder/dependencies.py || die + + # do not check deps, fails because we removed dependencies above + sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # can't check for update, need network + rm spyder/workers/tests/test_update.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + distutils-r1_python_prepare_all +} + +# Calling pytest directly makes the tests freeze after completing even if successful +# Exit code is nonzero even upon success, so can't add || die here test results +# should be checked for success manually +python_test() { + "${EPYTHON}" runtests.py +} + +pkg_postinst() { + xdg_pkg_postinst + + 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" dev-python/scipy + optfeature "Run Cython files in the IPython console" dev-python/cython + optfeature "The hdf5/h5py plugin" dev-python/h5py + optfeature "The line profiler plugin" dev-python/spyder-line-profiler + optfeature "Vim key bindings" dev-python/spyder-vim + optfeature "Unittest support" dev-python/spyder-unittest + optfeature "System terminal inside spyder" dev-python/spyder-terminal + optfeature "Jupyter notebook support" dev-python/spyder-notebook + # spyder-memory-profiler is not compatible with spyder-5.2+ yet + # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler + # spyder-reports not yet updated to >=spyder-4.0.0 + # optfeature "Markdown reports using Pweave" dev-python/spyder-reports + # Plugins with no release yet: + # optfeature "Manage virtual environments and packages" dev-python/spyder-env-manager + # optfeature "VCS (e.g. git) integration" dev-python/spyder-vcs +} |