From 6cff56aa1d7ba939feaf345f3b28d98a750a25f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 14 Oct 2021 22:11:37 +0200 Subject: [PATCH 1/9] ansible-core: explain make_check=no --- srcpkgs/ansible-core/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template index 5a5b546ed033..2ed2c1fe21d7 100644 --- a/srcpkgs/ansible-core/template +++ b/srcpkgs/ansible-core/template @@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz" checksum=93d50283c7c5b476debf83dc089b3f679b939a8b9a7b5d628d28daafbb3d303a conflicts="ansible<2.10.1_1" replaces="ansible-base<2.11.0_1" +# Tests are currently broken for ansible on python 3.10 +# See https://github.com/ansible/ansible/issues/74658 +# and https://github.com/ansible/ansible/issues/74660 make_check=no post_install() { From 9f0fa1a72ea1d61022b04662fa276177669e6109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 14 Oct 2021 22:11:14 +0200 Subject: [PATCH 2/9] ansible: explain make_check=no --- srcpkgs/ansible/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template index 42cbc79a1809..47981ea3e8aa 100644 --- a/srcpkgs/ansible/template +++ b/srcpkgs/ansible/template @@ -11,4 +11,7 @@ license="GPL-3.0-or-later" homepage="https://www.ansible.com/" distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz" checksum=2955fcbf51367f8bd88c38a86f8be83d4fcd05f778afb4feed31abfe8dcff639 +# Tests are currently broken for ansible on python 3.10 +# See https://github.com/ansible/ansible/issues/74658 +# and https://github.com/ansible/ansible/issues/74660 make_check=no From 0a4d52a4a491758269bb46cd3816379d52e0bdf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:35:13 +0200 Subject: [PATCH 3/9] New package: python3-enrich-1.2.6 --- srcpkgs/python3-enrich/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-enrich/template diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template new file mode 100644 index 000000000000..67c7cc53c45f --- /dev/null +++ b/srcpkgs/python3-enrich/template @@ -0,0 +1,19 @@ +# Template file for 'python3-enrich' +pkgname=python3-enrich +version=1.2.6 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools_scm python3-wheel python3-rich" +depends="python3-rich" +checkdepends="python3-pytest python3-pytest-mock ${depends}" +short_desc="Extended variant of the rich library for python" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/pycontribs/enrich" +distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz" +checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4 + +post_install() { + vlicense LICENSE +} From 3d66e52bd33280156112c38364ebf8f6c6c0801f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:35:21 +0200 Subject: [PATCH 4/9] New package: python3-bracex-2.1.1 --- srcpkgs/python3-bracex/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-bracex/template diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template new file mode 100644 index 000000000000..7e6ffbc08f21 --- /dev/null +++ b/srcpkgs/python3-bracex/template @@ -0,0 +1,20 @@ +# Template file for 'python3-bracex' +pkgname=python3-bracex +version=2.1.1 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Bash style brace expansion for Python" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/facelessuser/bracex" +changelog="https://raw.githubusercontent.com/facelessuser/bracex/master/docs/src/markdown/about/changelog.md" +distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz" +checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425 + +post_install() { + vlicense LICENSE.md +} From a9b9136bb4899fd9348dc19c8baadc039c11f54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:36:07 +0200 Subject: [PATCH 5/9] New package: python3-wcmatch-8.2 --- srcpkgs/python3-wcmatch/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-wcmatch/template diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template new file mode 100644 index 000000000000..8237206b2b40 --- /dev/null +++ b/srcpkgs/python3-wcmatch/template @@ -0,0 +1,22 @@ +# Template file for 'python3-wcmatch' +pkgname=python3-wcmatch +version=8.2 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +make_check_args="--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_realpath +--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_tilde" +hostmakedepends="python3-setuptools" +depends="python3-bracex" +checkdepends="python3-pytest ${depends}" +short_desc="Wilcard File Name matching library" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/facelessuser/wcmatch" +changelog="https://raw.githubusercontent.com/facelessuser/wcmatch/main/docs/src/markdown/about/changelog.md" +distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz" +checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617 + +post_install() { + vlicense LICENSE.md +} From cb76920fff1ba578a5b04a60b98de8ee60565db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:37:00 +0200 Subject: [PATCH 6/9] New package: python3-typeguard-2.13.0 --- srcpkgs/python3-typeguard/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-typeguard/template diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template new file mode 100644 index 000000000000..23083f04f3a4 --- /dev/null +++ b/srcpkgs/python3-typeguard/template @@ -0,0 +1,18 @@ +# Template file for 'python3-typeguard' +pkgname=python3-typeguard +version=2.13.0 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Run-time type checker for python" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/agronholm/typeguard" +distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz" +checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df + +post_install() { + vlicense LICENSE +} From bae543bba5db140338299807e6b83c5ab329fe3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:38:15 +0200 Subject: [PATCH 7/9] New package: python3-tenacity-8.0.1 --- srcpkgs/python3-tenacity/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-tenacity/template diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template new file mode 100644 index 000000000000..1182563e46e2 --- /dev/null +++ b/srcpkgs/python3-tenacity/template @@ -0,0 +1,16 @@ +# Template file for 'python3-tenacity' +pkgname=python3-tenacity +version=8.0.1 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools_scm python3-wheel" +depends="python3-Sphinx python3-tornado python3-typeguard" +checkdepends="python3-pytest ${depends}" +short_desc="General-purpose retrying library for Python" +maintainer="Jan Christian Grünhage " +license="Apache-2.0" +homepage="https://github.com/jd/tenacity" +changelog="https://tenacity.readthedocs.io/en/latest/changelog.html" +distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz" +checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f From 9245282641d897e6c0037013dc68d4bf87d2b206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Tue, 12 Oct 2021 19:29:34 +0200 Subject: [PATCH 8/9] python3-yamllint: update to 1.26.3. --- srcpkgs/python3-yamllint/template | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template index 201a7b34423a..1aabceb29325 100644 --- a/srcpkgs/python3-yamllint/template +++ b/srcpkgs/python3-yamllint/template @@ -1,20 +1,25 @@ # Template file for 'python3-yamllint' pkgname=python3-yamllint -version=1.15.0 -revision=5 -wrksrc="yamllint-${version}" +version=1.26.3 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-pathspec python3-setuptools python3-yaml" -checkdepends="python3-pathspec python3-yaml" -short_desc="Python3 linter for YAML files" +checkdepends="python3-pytest python3-pathspec python3-yaml" +short_desc="Python 3 linter for YAML files" maintainer="Jan Christian Grünhage " license="GPL-3.0-or-later" homepage="https://github.com/adrienverge/yamllint" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a +checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610 conflicts="python-yamllint>=0" -do_check() { - python3 setup.py test -} +case "$XBPS_TARGET_MACHINE" in + # See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true + *-musl) + make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale + --deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents + --deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case" + ;; +esac From af00a6192b921b4c4d8b89b32462da571ad61a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:39:28 +0200 Subject: [PATCH 9/9] python3-ansible-lint: update to 5.2.1. --- srcpkgs/python3-ansible-lint/template | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template index 93f631fa6a17..fb8ea33d60ae 100644 --- a/srcpkgs/python3-ansible-lint/template +++ b/srcpkgs/python3-ansible-lint/template @@ -1,18 +1,21 @@ # Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint -version=4.3.5 -revision=3 -wrksrc="ansible-lint-${version}" +version=5.2.1 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" -depends="ansible python3-six python3-yaml python3-ruamel.yaml" +hostmakedepends="python3-setuptools_scm python3-wheel" +depends="ansible-core python3-yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch" short_desc="Linter for Ansible files" maintainer="Jan Christian Grünhage " license="MIT" -homepage="https://github.com/willthames/ansible-lint" -changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md" -distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz" -checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656 +homepage="https://github.com/ansible-community/ansible-lint" +distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" +checksum=d64aca59c8d896541d379b9205b2126b851088aab0a2c2cab19ff74b184cdf1c +# Tests are currently broken for ansible on python 3.10 +# See https://github.com/ansible/ansible/issues/74658 +# and https://github.com/ansible/ansible/issues/74660 +make_check=no post_patch() { # scm versioning is broken in this release