* [PR PATCH] pylint: update to 2.10.2
@ 2021-09-06 19:32 paper42
2021-09-07 19:39 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2021-09-06 19:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages pylint-2.10
https://github.com/void-linux/void-packages/pull/32859
pylint: update to 2.10.2
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
A patch file from https://github.com/void-linux/void-packages/pull/32859.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pylint-2.10-32859.patch --]
[-- Type: text/x-diff, Size: 5147 bytes --]
From a9810dc26ad8c81a82df7159510d6a3d5ab9b248 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 31 Aug 2021 23:58:09 +0200
Subject: [PATCH 1/3] python3-isort: update to 5.9.3.
---
srcpkgs/python3-isort/template | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-isort/template b/srcpkgs/python3-isort/template
index 81b279f8d295..e2f7d8e37530 100644
--- a/srcpkgs/python3-isort/template
+++ b/srcpkgs/python3-isort/template
@@ -1,6 +1,6 @@
# Template file for 'python3-isort'
pkgname=python3-isort
-version=5.6.4
+version=5.9.3
revision=1
wrksrc="isort-${version}"
build_style=python3-module
@@ -8,17 +8,14 @@ hostmakedepends="python3-setuptools"
depends="python3-setuptools"
checkdepends="python3-pytest"
short_desc="Python3 utility/library to sort imports"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
-homepage="https://github.com/timothycrosley/isort"
-changelog="https://raw.githubusercontent.com/timothycrosley/isort/master/CHANGELOG.md"
+homepage="https://github.com/PyCQA/isort"
+changelog="https://raw.githubusercontent.com/PyCQA/isort/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz"
-checksum=dcaeec1b5f0eca77faea2a35ab790b4f3680ff75590bfcb7145986905aab2f58
+checksum=9c2ea1e62d871267b78307fe511c0838ba0da28698c5732d54e2790bf3ba9899
conflicts="python-isort>=0"
-
-do_check() {
- pytest3 test_isort.py
-}
+make_check=no # needs many unpackaged dependencies
post_install() {
vlicense LICENSE
From 41ca1c5827dce7f4b90f9dfbe181e2ca8907ecc1 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 31 Aug 2021 23:58:20 +0200
Subject: [PATCH 2/3] python3-astroid: update to 2.7.3.
---
srcpkgs/python3-astroid/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template
index 4c9f405e5f9e..c5be82b07ffc 100644
--- a/srcpkgs/python3-astroid/template
+++ b/srcpkgs/python3-astroid/template
@@ -1,6 +1,6 @@
# Template file for 'python3-astroid'
pkgname=python3-astroid
-version=2.6.5
+version=2.7.3
revision=1
wrksrc="astroid-${version}"
build_style=python3-module
@@ -13,4 +13,4 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/PyCQA/astroid"
changelog="https://raw.githubusercontent.com/PyCQA/astroid/master/ChangeLog"
distfiles="https://github.com/PyCQA/astroid/archive/refs/tags/v$version.tar.gz"
-checksum=4e22e703abc1220e6ec4a41740f5d8a51a5484a1b24d61cd4495f995ef2296a7
+checksum=47b332a2f57c18b35386befcedd11824aabd4e77d50153c11f114548c1ba1143
From a545c5cc176af97be41c637f842e87c6ca7e2ee2 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 31 Aug 2021 23:58:13 +0200
Subject: [PATCH 3/3] pylint: update to 2.10.2.
---
srcpkgs/pylint/patches/fix-tests.patch | 13 -------------
srcpkgs/pylint/template | 9 +++++----
2 files changed, 5 insertions(+), 17 deletions(-)
delete mode 100644 srcpkgs/pylint/patches/fix-tests.patch
diff --git a/srcpkgs/pylint/patches/fix-tests.patch b/srcpkgs/pylint/patches/fix-tests.patch
deleted file mode 100644
index 9eda4571cc33..000000000000
--- a/srcpkgs/pylint/patches/fix-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/PyCQA/pylint/pull/4781
-
---- a/tests/lint/unittest_lint.py
-+++ b/tests/lint/unittest_lint.py
-@@ -643,7 +643,7 @@ def test_pylint_home():
- assert config.PYLINT_HOME == pylintd
- finally:
- try:
-- os.remove(pylintd)
-+ rmtree(pylintd)
- except FileNotFoundError:
- pass
- finally:
diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template
index 7b1b6e4fed21..91c8f694513e 100644
--- a/srcpkgs/pylint/template
+++ b/srcpkgs/pylint/template
@@ -1,11 +1,12 @@
# Template file for 'pylint'
pkgname=pylint
-version=2.9.6
+version=2.10.2
revision=1
build_style=python3-module
make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
hostmakedepends="python3-setuptools"
-depends="python3-astroid python3-isort python3-mccabe python3-toml"
+depends="python3-astroid python3-isort python3-mccabe python3-toml
+ python3-platformdirs"
checkdepends="$depends python3-pytest python3-tkinter python3-six"
short_desc="Python code static checker"
maintainer="Michal Vasilek <michal@vasilek.cz>"
@@ -13,7 +14,7 @@ license="GPL-2.0-or-later"
homepage="https://www.pylint.org/"
changelog="https://raw.githubusercontent.com/PyCQA/pylint/master/ChangeLog"
distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz"
-checksum=e6335c810ee3ff4b59e3990db49cf0d1e263e122b766853755436d88133c9496
+checksum=639254a0ef06dacfcfb27ce01bc3b1ddf27dbe702ba0685ae0286e0d02ff9194
post_install() {
# install example config and emacs files
@@ -24,7 +25,7 @@ post_install() {
}
python3-pylint_package() {
- depends="pylint>=${version}_${revision}"
+ depends="${sourcepkg}>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package)"
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: pylint: update to 2.10.2
2021-09-06 19:32 [PR PATCH] pylint: update to 2.10.2 paper42
@ 2021-09-07 19:39 ` paper42
0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2021-09-07 19:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
There's a merged pull request on the void-packages repository
pylint: update to 2.10.2
https://github.com/void-linux/void-packages/pull/32859
Description:
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-07 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 19:32 [PR PATCH] pylint: update to 2.10.2 paper42
2021-09-07 19:39 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).