bump pylint-2.8.3

This commit is contained in:
Andreas Billmeier 2021-06-28 21:31:48 +02:00 committed by Andreas Billmeier
parent 23061e9345
commit d05b217ced
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 10 additions and 79 deletions

View File

@ -1,10 +1,8 @@
AUX pylint-2.4.4-sphinx-theme.patch 468 BLAKE2B 741a362b51d35f574b245b4df81309b1b08be7a38ca7fd5c04d6c9ce39bc830e32531a29103d1261d9fea6eecf5f52fb1d4cf74ab0ec3bda5f6299e4edfecf94 SHA512 7f1896819d4f2766a83ce2600754d7a698ce13388de9127e83b42b76b332ae5eb54eb538b9dd5d81dafe1cd5798e703c1f3fd7fa318a8582aa7c2c0db7cc7a30
AUX pylint-2.5.3-no-pytest-runner.patch 533 BLAKE2B 0882d3b057cd214ac04645c3992585e9550624f551206d863817940846fc6bd7d863431c33df46f0a83379fdc3ab411949b73f0475e08fd7debd465d83e848eb SHA512 9ed1784e83693b2aeff1862f9592fa574f20bb2d513f3bdef34b895263a31d6d747b4c76d09e6d48e15031388cd70b01caabfd84628ca98e1634fa42b6988eae
AUX pylint-2.5.3-tests.patch 455 BLAKE2B 608ec913ea9d8088c3e7303026339eca69cbf706601ccb841642eef83ae9eccb7d6863da6c7957f9f49a81f24d17e72d835c3740ef177ced6356bec7510a0221 SHA512 dd1930e47dc342cb76fe55fad22cde3b4d5935a62c62d740b75e27701606bb8d5513b8f2c9e2f3116c0456a545a2c56f6d75b87903e2cdec1df97e4b8ed1b532
DIST pylint-2.5.3.tar.gz 684449 BLAKE2B 7b494f5334376ff571fd8971851198d037e87c5be83d0123fcb108701489769785164bb077eb10b4851c89b82dadc40c510186eaf03be1621c4d78c79dffbceb SHA512 03fcd893d361b66794f17433e90df108099fee2eccb35507c7f61befb8db846f0242e5ce2b4ee63727c9cc780a376c3b93d5af3186f884a4fdaad68b224ed7d2
DIST pylint-2.6.0.tar.gz 680289 BLAKE2B f7d4159478f667a3234beefd148857f26c8f7ea3aae3bfa70fa06fe2a8d86fcf22a0727a9fa5d8fc3de4aa0bb7a4d6e13bf68029f359122762d1e0d24a0b715b SHA512 02881fe14401bbe946618ef947c8db320a6c8dd93626402260d60468538ce67b61d1e8b921bfb1a6020514dd392e9b0021c97ddb60b45866c2d2241224f93f08
DIST pylint-2.8.0.tar.gz 734325 BLAKE2B 479c6f409a7da46d8416c4c06f76937b70ddbffab64d57a9107f9b04283fa985186684d3d146c5ca585a0e8e9369d28e4fbeb5f53262662d94edd862694dd4fa SHA512 d4f6b6c6046265beb0e17b8d375d2604a889bf9b6569d4dae9cdec3f92c8c76d440f6527c9d42f7197a73d4a65fab73f57e5ab99c98d40681119eb051b117211
EBUILD pylint-2.5.3.ebuild 1604 BLAKE2B 36455c4999d1e54ea89fea6359b654226ce7ea9df5e21e03c201de7daf7155b886ff6d669bb3e7e09c0aafd3bc5d6d338e9f4a12c5fb3e4b51a727a62ca00e59 SHA512 ca7e95401d063fbae9f2de19fd40fba53b3771ddbe02acfb45e71577d916cf0d76a9c67c83fbd2960603d9e002ff5edfccb2755f0cd3621150a131837b7038b2
DIST pylint-2.8.3.gh.tar.gz 734705 BLAKE2B fd1dafd8bcd1addf83cfe943d88f408e26cdad981c4b881a02b1aee28cbc8bc5813bd15ce45104c48839b14771026e4b76312fabe12e9c404d1bb42813e61a4b SHA512 0a326b37cb2e2b0a60f1b3ede88e20be0b7ba2ff95860f65eafd9b6034df0206f681156d0de08c7fd8e3366e2bda9fcd0139143b331a340be7c1655cab65d6eb
EBUILD pylint-2.6.0.ebuild 1559 BLAKE2B 471f27a0dbcc117c01c2e4c7fa3153f97bf32454bc7a801c248d5e966da2319a5975636c117e3c05082af549c15c691552f8a4768d3787dd9d5a521ffcd73f65 SHA512 62e61f80d4ba078965d7b2dd1f424b0c286393808f41596a4e58a899ccc22c411c7d7e54ef0d8f1df711815b3f557d7fb9bfa26325e464761d15c59a3e764660
EBUILD pylint-2.8.0.ebuild 1948 BLAKE2B 799e68e529411b21d3efb0e11ca478ce145c9aea78789dbf4d3b6932dcc603cc57e3d0285684f3fc57dd6649636ec6251c134a93a6d4891f2350989633d65cf2 SHA512 912077d77839377a0c0536eb18aa2ac130c89c8d92c598c3e6e065945450a5077434f6970020a22c16a1fda396ce39c08a34d3114927029163ecfb8a85414bfa
EBUILD pylint-2.8.3.ebuild 1740 BLAKE2B c1199f66ba7c0f97bd8a91b50d754564b953b23098f590c4d170c15ca0e8642dca414d973971986e9e2e6153dec9af6a5db0c67e551b9cc981c5a7bced2cd239 SHA512 8cb67e64d73deb35206ae787116a8f295c050ee6c9c1b496beace4f08b026e2b50ef6ce3c4c9579bd97b781b402cfb14467f92e73c679110d4aaf7a189b21ec7
MISC metadata.xml 471 BLAKE2B 752d34ba23d911d1b415210e55183213d9e3f7e39b1ac83f50d5dd45e0ac4b51b5c46870d9a13493c21a5268f0b1ceeb25b875c415e88ffe26cac990762ece69 SHA512 e16bf2ddc8773a018a9f2095075517865091b6b51dd9df4a1a15dc6848798240efc3372d73820a020b7823069abc08b2bd6f5345bda9e49fae68fdf9ac90be26

View File

@ -1,65 +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,8} )
PYTHON_REQ_USE="threads(+)"
DISTUTILS_USE_SETUPTOOLS=rdepend
# entry_points is added via **kwargs in a dict
_DISTUTILS_SETUPTOOLS_WARNED=1
inherit distutils-r1 eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
IUSE="examples test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]"
BDEPEND="
test? (
${RDEPEND}
dev-python/six[${PYTHON_USEDEP}]
)"
PATCHES=(
"${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
"${FILESDIR}/${PN}-2.5.3-no-pytest-runner.patch"
"${FILESDIR}/${PN}-2.5.3-tests.patch"
)
distutils_enable_sphinx doc
distutils_enable_tests pytest
python_prepare_all() {
# we don't want to run the benchmarking tests
rm -f tests/benchmark/test_baseline_benchmarks.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
doman man/{pylint,pyreverse}.1
if use examples ; then
docinto examples
dodoc -r examples/.
fi
distutils-r1_python_install_all
}
pkg_postinst() {
# Optional dependency on "tk" USE flag would break support for Jython.
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
}

View File

@ -14,23 +14,25 @@ HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint/"
SRC_URI="
https://github.com/pycqa/pylint/archive/${P}.tar.gz"
S=${WORKDIR}/${PN}-${P}
https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
IUSE="examples"
RDEPEND="
<dev-python/astroid-2.7[${PYTHON_USEDEP}]
>=dev-python/astroid-2.5.2[${PYTHON_USEDEP}]
>=dev-python/astroid-2.5.6[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
<dev-python/isort-6[${PYTHON_USEDEP}]
>=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
<dev-python/mccabe-0.7[${PYTHON_USEDEP}]
>=dev-python/toml-0.7.1[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
@ -39,6 +41,8 @@ PATCHES=(
distutils_enable_sphinx doc --no-autodoc
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
python_test() {
local skipped_tests=(
# No need to run the benchmarks
@ -48,12 +52,6 @@ python_test() {
# TODO
'tests/lint/unittest_expand_modules.py::test_expand_modules[files_or_modules1-expected1]'
)
[[ ${EPYTHON} == python3.8 ]] && skipped_tests+=(
# TODO
'tests/test_functional.py::test_functional[typing_deprecated_alias]'
'tests/test_functional.py::test_functional[typing_consider_using_alias]'
'tests/test_functional.py::test_functional[typing_consider_using_alias_without_future]'
)
# Specify the test directory explicitly to avoid import file mismatches
epytest tests ${skipped_tests[@]/#/--deselect }
}