From 40e1e6522ccee45662acd18bcd472828e10adb58 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 1 Jun 2022 18:38:21 +0200 Subject: [PATCH 1/4] python3-astroid: update to 2.11.5. --- srcpkgs/python3-astroid/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template index bc3440d167b2..c659582d1653 100644 --- a/srcpkgs/python3-astroid/template +++ b/srcpkgs/python3-astroid/template @@ -1,16 +1,16 @@ # Template file for 'python3-astroid' pkgname=python3-astroid -version=2.11.4 +version=2.11.5 revision=1 wrksrc="astroid-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-lazy-object-proxy python3-wrapt python3-setuptools" -checkdepends="$depends python3-pytest python3-numpy" +checkdepends="$depends python3-pytest python3-numpy python3-typing_extensions" short_desc="Abstract syntax tree for Python3" maintainer="Michal Vasilek " 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=08a17987045eda03c7088e12d54317a0bb28e60404634ab7a7808e644a667ad6 +checksum=90187e071045a930baabc12c97782d0906c19f7f248aee562128ddfd13840a26 From 943a6c0007ccd1d8aa32a757b01dcd363c70c74b Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 1 Jun 2022 20:34:55 +0200 Subject: [PATCH 2/4] python3-dill: update to 0.3.5.1. --- srcpkgs/python3-dill/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-dill/template b/srcpkgs/python3-dill/template index e27236c340df..75f74da0d6f8 100644 --- a/srcpkgs/python3-dill/template +++ b/srcpkgs/python3-dill/template @@ -1,6 +1,6 @@ # Template file for 'python3-dill' pkgname=python3-dill -version=0.3.4 +version=0.3.5.1 revision=1 wrksrc="dill-$version" build_style=python3-module @@ -10,5 +10,9 @@ short_desc="Serialize all of Python" maintainer="Michal Vasilek " license="BSD-3-Clause" homepage="https://dill.rtfd.io/" -distfiles="${PYPI_SITE}/d/dill/dill-${version}.zip" -checksum=9f9734205146b2b353ab3fec9af0070237b6ddae78452af83d2fca84d739e675 +distfiles="${PYPI_SITE}/d/dill/dill-${version}.tar.gz" +checksum=d75e41f3eff1eee599d738e76ba8f4ad98ea229db8b085318aa2b3333a208c86 + +do_check() { + PYTHONPATH=. python3 -m tests +} From 9757800f7b7b89bfbd38079bf85859b9720082aa Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 1 Jun 2022 22:00:25 +0200 Subject: [PATCH 3/4] New package: python3-tomlkit-0.11.0 --- srcpkgs/python3-tomlkit/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-tomlkit/template diff --git a/srcpkgs/python3-tomlkit/template b/srcpkgs/python3-tomlkit/template new file mode 100644 index 000000000000..473769672b0d --- /dev/null +++ b/srcpkgs/python3-tomlkit/template @@ -0,0 +1,20 @@ +# Template file for 'python3-tomlkit' +pkgname=python3-tomlkit +version=0.11.0 +revision=1 +wrksrc="tomlkit-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-yaml" +short_desc="Style preserving TOML library" +maintainer="Michal Vasilek " +license="MIT" +homepage="https://github.com/sdispater/tomlkit" +changelog="https://raw.githubusercontent.com/sdispater/tomlkit/master/CHANGELOG.md" +distfiles="${PYPI_SITE}/t/tomlkit/tomlkit-${version}.tar.gz" +checksum=71ceb10c0eefd8b8f11fe34e8a51ad07812cb1dc3de23247425fbc9ddc47b9dd + +post_install() { + vlicense LICENSE +} From e6e58d154a46fd73e7b66d420a4b40ce34516930 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 1 Jun 2022 20:34:51 +0200 Subject: [PATCH 4/4] pylint: update to 2.14.0. --- srcpkgs/pylint/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 7abac2cbef15..7e511131da08 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -1,11 +1,11 @@ # Template file for 'pylint' pkgname=pylint -version=2.13.8 +version=2.14.0 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-tomli +depends="python3-astroid python3-isort python3-mccabe python3-tomlkit python3-platformdirs python3-dill" checkdepends="$depends python3-pytest python3-tkinter python3-six python3-GitPython git" @@ -13,9 +13,13 @@ short_desc="Python code static checker" maintainer="Michal Vasilek " license="GPL-2.0-or-later" homepage="https://www.pylint.org/" -changelog="https://raw.githubusercontent.com/PyCQA/pylint/master/ChangeLog" +changelog="https://raw.githubusercontent.com/PyCQA/pylint/main/doc/whatsnew/${version%.*.*}/${version%.*}/summary.rst" distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz" -checksum=7bd4cfc0e3e4332f0f3d8f8fc9e967d2e2946912ca7a336f36d3f2ac99c5cd42 +checksum=7d13d09ed9af002eb7ec90ac952e85317b681cc5e49f7c0a07aba83c1c91a933 + +do_check() { + PYTHONPATH=. python3 -m pytest --deselect=tests/benchmark/test_baseline_benchmarks.py +} post_install() { # install example config and emacs files