From 363e9b282b6bd3908c2a2b56c894d785cf2fb94d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 30 Dec 2022 14:17:35 +0000 Subject: gentoo auto-resync : 30:12:2022 - 14:17:35 --- dev-python/python-lsp-server/Manifest | 5 +- ...ython-lsp-server-1.7.0-unpin-all-the-deps.patch | 51 +++++++++++++ dev-python/python-lsp-server/metadata.xml | 1 + .../python-lsp-server-1.7.0.ebuild | 87 ++++++++++++++++++++++ 4 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch create mode 100644 dev-python/python-lsp-server/python-lsp-server-1.7.0.ebuild (limited to 'dev-python/python-lsp-server') 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 @@ python-lsp-server + python-lsp/python-lsp-server Pull in all optional plugins 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