summaryrefslogtreecommitdiff
path: root/dev-python/pylint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-python/pylint
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/Manifest10
-rw-r--r--dev-python/pylint/pylint-2.10.2.ebuild2
-rw-r--r--dev-python/pylint/pylint-2.11.1.ebuild (renamed from dev-python/pylint/pylint-2.9.6.ebuild)13
-rw-r--r--dev-python/pylint/pylint-2.12.1.ebuild64
-rw-r--r--dev-python/pylint/pylint-2.12.2.ebuild64
5 files changed, 143 insertions, 10 deletions
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index cca11cafe194..2486fc17cd5c 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -1,6 +1,10 @@
AUX pylint-2.4.4-sphinx-theme.patch 468 BLAKE2B 741a362b51d35f574b245b4df81309b1b08be7a38ca7fd5c04d6c9ce39bc830e32531a29103d1261d9fea6eecf5f52fb1d4cf74ab0ec3bda5f6299e4edfecf94 SHA512 7f1896819d4f2766a83ce2600754d7a698ce13388de9127e83b42b76b332ae5eb54eb538b9dd5d81dafe1cd5798e703c1f3fd7fa318a8582aa7c2c0db7cc7a30
DIST pylint-2.10.2.gh.tar.gz 813391 BLAKE2B 109f8817e32ddf8d93c9120518e77a1d2f7e61cd1a6362eb1cf9e6d242db72fa1a9271588a3abb28efca54bcc449dce623ae5d5fd63153ec2bc367e008aab465 SHA512 5d694587956c4f11eb4afaec26cefb66ccbe14dc2aacf378a0362326506d80eb2633e0d351c0a20715a3359a9bc438092d77b2e46f7f787210c7ab0555f2722f
-DIST pylint-2.9.6.gh.tar.gz 779390 BLAKE2B b1d8794e1e7ccdde87919eb943f83287c0a7b85b67f3722cbbe68887f2c61ab30b354548e25b70c661234647e35f79beb6aaad5f6be6bfde8c2475cf03676922 SHA512 a23ff089853398df2e4232767ca87c21e4ab4fc6805de80db796c78c56e0da1ade9b0586f5c14a98524bf607e0d240c354cf63287eec7dfdce263188eb19ddce
-EBUILD pylint-2.10.2.ebuild 1456 BLAKE2B b5d8d7533dab7b062e3407bf8e50ab4105a305e7180aac685b64f5cc16c9526eedaff5fe5d9689f8cdb855ef4f30bb599a1f4ff7bc5f3619b1425b125cb72ce8 SHA512 c8be16b5d86389ffe545d349ffae6f17bfe9351bf772c4aa2767b6b9e04552843552d6c390c85a964e9e7d749b5b07b93bf29cf6febfc44cac4ec49dd88fbc35
-EBUILD pylint-2.9.6.ebuild 1417 BLAKE2B 5949b36afe3130c030a608e7e2854ad4264fea065082794463870e2801a13c992952de59d83d2dcefa25a489cf6faae5ea4e441545429380e63298f9aa5d3297 SHA512 1d600f96bfd5c34a7f7c96e3451f71d8b7eb81cd06f475fb1a244ab6c2ff2f0e9e593470dd797a126fa9ea1080872d6c23e9427d74f919b7dbff838ab5927576
+DIST pylint-2.11.1.gh.tar.gz 967223 BLAKE2B 435bb4589fa6dbfadfa234f8cb968a1d5c39efaf9b37fd20dfadc6feb1e997b34124386dab777b1aa1657bd9a36055d535e231181c71834517528cbbc04c698f SHA512 fe283b6eb8090414ea99809158b4e7f9fe85187ef6488ec37c5f34430793b0b4ff8afd9c97452fe0bb88efb9be001c0fd9f9a09a23081cb79084ae409b277f34
+DIST pylint-2.12.1.gh.tar.gz 1025764 BLAKE2B 650cf89a6b1d39be1eb6e9595e26e84c8f2beb62deebc0886e6a507bcfd7ee4ce87094fd05a139297ea5a4afc4ae5bb2af655bb245d95ac6946f8989efab5531 SHA512 f758775b6ecc8b73096e3556b3c22c81d84baa12d7623448aaa9e2ac19ff5b99112938ee7c8daf7122dbdb4d2b41012a7606213972a2dcf855b450a0a74f0d1e
+DIST pylint-2.12.2.gh.tar.gz 1032702 BLAKE2B de7dce04159b332baa5c23f4034ee249e49f9239c5c9190213a51a84a47ac2129f8a2265e1ad9c01ab448ec58f4f36653c6de5b0be6bfdf6aa286c8887313759 SHA512 0d2b9b785371af0a1c809271153abbab58f50455b34f12370461ded2c4f3d62656e4c0391adff48e179b95da945a2f44e762863e2b7d63808976bf5f684e20d2
+EBUILD pylint-2.10.2.ebuild 1455 BLAKE2B 56c90397b6311ca6fafcc0872738368e9aa1bcea78dbdbf684312bbfd64e1974c65dc071af5207b16459d0b0715f281ab98a6a34c64dec30cf9488b4ddbe3264 SHA512 60f9614a73ea024582354c5e6f28cbf6bd1438f7e3dc2164fe5b5f30664c879b261e5944dc8c5c87f4fe7786801034e479a9bba8992e03e576fa545d179d8662
+EBUILD pylint-2.11.1.ebuild 1463 BLAKE2B 7a1f4504c86aee1e6e515a49b5fa7ba3b2f56afc93f2da7fa0beb2e61dc8c729fa192aedf00d43e64618603b61e5bd82fe8690590d2dc70d2e8b4bf03a6806f8 SHA512 15b4c303bbdc54875e5f6509effaa7291a801810e10e07ae3b183f0a786f038afa52546cc13e47f145fd33d032a5e89e7a0538b61c65dd1d2695a762d4cccff8
+EBUILD pylint-2.12.1.ebuild 1719 BLAKE2B 5e094e57e6f2eb5a52f7df2ec286abdaba56782cdd1a5cb9c82be2cf0861a849011de71a6952f7b63ba42031ec8bcdec2fac3eff4c7be83b08ebd91575a81fb9 SHA512 5466523a8c2e4af168700ef98e6f74cb04afa5365fb0840753b0dc14e253258c357e85817e80ac8cebbc07ee016ae601a8e39b85e98badcfbc8d6436f461738e
+EBUILD pylint-2.12.2.ebuild 1719 BLAKE2B 5e094e57e6f2eb5a52f7df2ec286abdaba56782cdd1a5cb9c82be2cf0861a849011de71a6952f7b63ba42031ec8bcdec2fac3eff4c7be83b08ebd91575a81fb9 SHA512 5466523a8c2e4af168700ef98e6f74cb04afa5365fb0840753b0dc14e253258c357e85817e80ac8cebbc07ee016ae601a8e39b85e98badcfbc8d6436f461738e
MISC metadata.xml 1100 BLAKE2B 98ac44b343a44471afed50ea76c658142056bba3e3e0a75e7a3854c6e196eb55eeb466611c4d2976787fe4e5d4c13c1f434cad8afaece76f3ba04cd94197906f SHA512 78b52b43ebc944c60d037adb4874fcbe72a2ac713b713ac3b9a226966db2fabf0b31a11e16dcf26243cc19c62841928ac4bb32f5eef69f9d6ef9cb0222362bbf
diff --git a/dev-python/pylint/pylint-2.10.2.ebuild b/dev-python/pylint/pylint-2.10.2.ebuild
index b24b55526163..b012dc62e76f 100644
--- a/dev-python/pylint/pylint-2.10.2.ebuild
+++ b/dev-python/pylint/pylint-2.10.2.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="examples"
RDEPEND="
diff --git a/dev-python/pylint/pylint-2.9.6.ebuild b/dev-python/pylint/pylint-2.11.1.ebuild
index ccd48c7f91f5..a22b9b25c94f 100644
--- a/dev-python/pylint/pylint-2.9.6.ebuild
+++ b/dev-python/pylint/pylint-2.11.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -17,16 +17,17 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="examples"
RDEPEND="
- <dev-python/astroid-2.7[${PYTHON_USEDEP}]
- >=dev-python/astroid-2.6.5[${PYTHON_USEDEP}]
+ <dev-python/astroid-2.9[${PYTHON_USEDEP}]
+ >=dev-python/astroid-2.8.0[${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/platformdirs-2.2.0[${PYTHON_USEDEP}]
>=dev-python/toml-0.7.1[${PYTHON_USEDEP}]
"
@@ -38,12 +39,12 @@ distutils_enable_sphinx doc --no-autodoc
distutils_enable_tests pytest
python_test() {
- local skipped_tests=(
+ local EPYTEST_DESELECT=(
# No need to run the benchmarks
tests/benchmark/test_baseline_benchmarks.py
)
# Specify the test directory explicitly to avoid import file mismatches
- epytest tests ${skipped_tests[@]/#/--deselect }
+ epytest tests
}
python_install_all() {
diff --git a/dev-python/pylint/pylint-2.12.1.ebuild b/dev-python/pylint/pylint-2.12.1.ebuild
new file mode 100644
index 000000000000..509785607dc0
--- /dev/null
+++ b/dev-python/pylint/pylint-2.12.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python code static checker"
+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/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="examples"
+
+# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps
+# Adjust dep bounds!
+RDEPEND="
+ <dev-python/astroid-2.10[${PYTHON_USEDEP}]
+ >=dev-python/astroid-2.9.0[${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/platformdirs-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/toml-0.9.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ ' python3_{8,9})
+"
+BDEPEND="test? ( >=dev-python/GitPython-3[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
+)
+
+distutils_enable_sphinx doc --no-autodoc
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # No need to run the benchmarks
+ tests/benchmark/test_baseline_benchmarks.py
+ )
+ # Specify the test directory explicitly to avoid import file mismatches
+ epytest tests
+}
+
+python_install_all() {
+ if use examples ; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docinto examples
+ dodoc -r examples/.
+ fi
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/pylint/pylint-2.12.2.ebuild b/dev-python/pylint/pylint-2.12.2.ebuild
new file mode 100644
index 000000000000..509785607dc0
--- /dev/null
+++ b/dev-python/pylint/pylint-2.12.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python code static checker"
+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/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="examples"
+
+# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps
+# Adjust dep bounds!
+RDEPEND="
+ <dev-python/astroid-2.10[${PYTHON_USEDEP}]
+ >=dev-python/astroid-2.9.0[${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/platformdirs-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/toml-0.9.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ ' python3_{8,9})
+"
+BDEPEND="test? ( >=dev-python/GitPython-3[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
+)
+
+distutils_enable_sphinx doc --no-autodoc
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # No need to run the benchmarks
+ tests/benchmark/test_baseline_benchmarks.py
+ )
+ # Specify the test directory explicitly to avoid import file mismatches
+ epytest tests
+}
+
+python_install_all() {
+ if use examples ; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docinto examples
+ dodoc -r examples/.
+ fi
+
+ distutils-r1_python_install_all
+}