diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 256467 -> 256632 bytes | |||
-rw-r--r-- | dev-python/python-lsp-server/Manifest | 3 | ||||
-rw-r--r-- | dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch | 22 | ||||
-rw-r--r-- | dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild | 94 | ||||
-rw-r--r-- | dev-python/whatthepatch/Manifest | 3 | ||||
-rw-r--r-- | dev-python/whatthepatch/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/whatthepatch/whatthepatch-1.0.2.ebuild | 19 |
7 files changed, 154 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 92b226304f8f..1c590dc35d72 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index beec64cb1526..52c8868c6143 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,5 +1,8 @@ AUX python-lsp-server-1.4.1-allow-mccabe-0.7.patch 625 BLAKE2B 60880a45b859273e9ac3078210b4a1deffd2d6b88ef0fc7a4bbfb6beefe50291c777e6c1681ebb333b1b302ce3df38e8d21aef844b49d7dc0e3cf0d5bdc76229 SHA512 100728b441d48301d8516ba5ce5396a70c9f30f8c02b8b2eebdd3f9248e534c96c1845f8e327c2f31529756bcb9a411a56c845ff8a802f6cc4ad694b71c48b76 +AUX python-lsp-server-1.5.0-allow-mccabe-0.7.patch 707 BLAKE2B ffec2cfbce2741e8760cec724ad36e5d686a7e031032ce5a8d2662ba839b2437b5e14fe2c7f8395eca751085b54a5b9c417a149566033a74bcf2ab12081dfed4 SHA512 2bb3eba93e4f9d24ae1fdac46d4e8aeeb06be6130c139d5291455f0b30c3d71c8c74eb7618ef410530b3e9c58e91c7a88956b898be714fc5b55db98e7ac80f82 DIST python-lsp-server-1.4.1.tar.gz 76416 BLAKE2B 65638b876182c478434c563371b802367fb8439820ccf57e4404dc1507f3cd514ae5d738d418386607db606025fe5126a533c656ec3fede53fdcfd364a4292cf SHA512 4c9171adc88d219c80055ebbc76566583925129969467c156277b52de9b5981b74b11b9961247045ea98cd9e51e146b2d606c8351a7be5db76f6f4e0e4d7195c +DIST python-lsp-server-1.5.0.tar.gz 82371 BLAKE2B 3ff388a95f7ae9f4a8e1b41244da1d05e9310e1edcbc7cbd2b17bd4fa0cbe696f31885b2093afb12e879c875b2bfa721cf4e5e9876002f145cf1633238f6238a SHA512 4e3463dc737b4f5f2af0faa8ab2eb10bea8208d4633c22acde9c8ffa2a888b2350e5994dca2a66031e301224a2646660f627d7fc238cbf5103e82a0453a9a809 EBUILD python-lsp-server-1.4.1-r1.ebuild 3086 BLAKE2B 7b2f1851b082ae6ac5ec8353a1e8d155060197602c4ddb68a1d7487590313dd08ebdbde64d78ea0cada6fd309945824621d45206047fa8e16c290fd90c23c973 SHA512 17b3cf9fa4de342e3455d65f76aae4c1c0c1bcad73fd142974249aa09b08edaa32200650ac89761c42be7ce4722534b47c4913b7727c93443ab584775a64f467 EBUILD python-lsp-server-1.4.1.ebuild 3022 BLAKE2B 70afa37aa74104074f3571023bd958258a71772ec4de133fa74894764e3113ef78f9601a05be6dfa1e32bd08b9e43d9b188c56d09c9f765a303d0d4aed615cff SHA512 1394fca67580bc6d2af26444a14ff642257ee7aa394f9866f69f092d3624eb7c5f0fa46d56f2d90068ddf90006d6fb9a62c51c0dfd8162d4b77664242829dae1 +EBUILD python-lsp-server-1.5.0.ebuild 3285 BLAKE2B 829be405c706d7da85b53b23738b1e3c9cf567116f8a8de4a46cd654f951190bf90648aa1616bc373db1951a99b7eb2f7acc024167dfddf02eb73e8ea1e6f0a1 SHA512 4118da9234a6c4ed0e0e9040b7ef6262344cb7eef1452fbf68cd47b82822676ccc5fc424d8427ee1d554d6364fee114e64f0aa2e5b1758fe678a74e4bdfe8aa0 MISC metadata.xml 542 BLAKE2B ca71a08385d37c7f5cc562986630ae482970842054ffa944151d2e4a5d8449329b71c16c61e2a81f3d3d93f02a61ce637fe0bd0961ba3f86b7182b9728b62d5c SHA512 2d5103643838ba8aec53e7d3e924517cc3d735c724b6dfea249bcce3716aebb9f54e3264cb2cccc15dfe7d0ad4b7d052388122144fe6248d4faeef3482d197e7 diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch new file mode 100644 index 000000000000..ae8d0944b8f4 --- /dev/null +++ b/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch @@ -0,0 +1,22 @@ +diff --git a/pyproject.toml b/pyproject.toml +index ff60a18..2d292b7 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -28,7 +28,7 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" + all = [ + "autopep8>=1.6.0,<1.7.0", + "flake8>=4.0.0,<4.1.0", +- "mccabe>=0.6.0,<0.7.0", ++ "mccabe>=0.6.0,<0.8.0", + "pycodestyle>=2.8.0,<2.9.0", + "pydocstyle>=2.0.0", + "pyflakes>=2.4.0,<2.5.0", +@@ -39,7 +39,7 @@ all = [ + ] + autopep8 = ["autopep8>=1.6.0,<1.7.0"] + flake8 = ["flake8>=4.0.0,<4.1.0"] +-mccabe = ["mccabe>=0.6.0,<0.7.0"] ++mccabe = ["mccabe>=0.6.0,<0.8.0"] + pycodestyle = ["pycodestyle>=2.8.0,<2.9.0"] + pydocstyle = ["pydocstyle>=2.0.0"] + pyflakes = ["pyflakes>=2.4.0,<2.5.0"] diff --git a/dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild new file mode 100644 index 000000000000..fc684a0c4a68 --- /dev/null +++ b/dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild @@ -0,0 +1,94 @@ +# 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..10} ) + +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" + +IUSE="all-plugins" + +BDEPEND=" + test? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] + <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] + <dev-python/numpy-1.23.0[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] + <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.4.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-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + <dev-python/whatthepatch-2.0.0[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] + <dev-python/jedi-0.19.0[${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/autopep8-1.7.0[${PYTHON_USEDEP}] + >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] + <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] + <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] + <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + <dev-python/whatthepatch-2.0.0[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${P}-allow-mccabe-0.7.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/whatthepatch/Manifest b/dev-python/whatthepatch/Manifest new file mode 100644 index 000000000000..20338c1e2009 --- /dev/null +++ b/dev-python/whatthepatch/Manifest @@ -0,0 +1,3 @@ +DIST whatthepatch-1.0.2.tar.gz 28459 BLAKE2B e24c882fe1ad42f27eeced72d92423d807ac3284bf0045674b78a247a7222bb142d500129b82a32f8fc95934beaa87a378822da2ef80b1d66d98c171b3a15666 SHA512 e77aa6e934f26647b7a060f46eedd8f5984e43b93b7d576cf8d7a930d08e4b3c5c96c79e61e001df405f3f18c07e4296ce79009d9b9e9c721342af9f8560b4cf +EBUILD whatthepatch-1.0.2.ebuild 434 BLAKE2B 4411c0bfc5b2a736bb65d40982d5d4bf23180e3b9bb0c9a5f1f111a4af7a3932545657744826fda453972f3531b8127fb51061efae1a1ef1e9e5a4e97e492613 SHA512 5a6815d944487d007449157fc39d6f4291d88fc01fb55cbb085ed7497978eef1a65d423c16ff56f4f1e11a92228e3533e40c15a9ea28daad0869e2dcb74f3460 +MISC metadata.xml 401 BLAKE2B ee370b7f08a16ea4054d5192831a530a9bceac969b2832d6fe058e98dd7558498afbebf4c1f2102979b2f3c252de73c5b11aafcdfed7044a5218144def4f333a SHA512 2a5c7944923e59032c3e75a0a08339ab4b273a346ef855a8ff61c45cc52ecc847db314b0e733876e6d14c3ca42418d9573a26d7f47213958f44a47c6dcbb6c48 diff --git a/dev-python/whatthepatch/metadata.xml b/dev-python/whatthepatch/metadata.xml new file mode 100644 index 000000000000..a52b8caec8c1 --- /dev/null +++ b/dev-python/whatthepatch/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">whatthepatch</remote-id> + <remote-id type="github">cscorley/whatthepatch</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/whatthepatch/whatthepatch-1.0.2.ebuild b/dev-python/whatthepatch/whatthepatch-1.0.2.ebuild new file mode 100644 index 000000000000..3df171e6eecf --- /dev/null +++ b/dev-python/whatthepatch/whatthepatch-1.0.2.ebuild @@ -0,0 +1,19 @@ +# 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 + +DESCRIPTION="A patch parsing and application library." +HOMEPAGE="https://github.com/cscorley/whatthepatch" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest |