From 0a6d0a4178a502d3db056bd161ae08f3b1147651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sat, 14 Jan 2023 15:39:33 +0100 Subject: [PATCH] python3-yamllint: update to 1.29.0. --- srcpkgs/python3-yamllint/template | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template index a7e6ab959388..a754d9fe2f14 100644 --- a/srcpkgs/python3-yamllint/template +++ b/srcpkgs/python3-yamllint/template @@ -1,7 +1,7 @@ # Template file for 'python3-yamllint' pkgname=python3-yamllint -version=1.28.0 -revision=2 +version=1.29.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-pathspec python3-setuptools python3-yaml" @@ -11,16 +11,14 @@ maintainer="Jan Christian Grünhage " license="GPL-3.0-or-later" homepage="https://github.com/adrienverge/yamllint" changelog="https://github.com/adrienverge/yamllint/raw/master/CHANGELOG.rst" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=28e3386b3985fa97e0827f669434361f9ba18451cbe7ec7a37746883ceecdcb9 +distfiles="https://github.com/adrienverge/yamllint/archive/refs/tags/v${version}.tar.gz" +checksum=8593180056e788b595e476b3d093146988dcc04452b72ae9d41dfc9d25e484cb conflicts="python-yamllint>=0" -case "$XBPS_TARGET_MACHINE" in - # These test cases require locale support, which musl libc lacks, so these tests are expected to fail - # on our musl libc targets. Therefore, we deselect them to ignore their failures. - *-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 +# These test cases require locale support, which musl libc lacks, so these tests are expected to fail +# on our musl libc targets. Therefore, we deselect them to ignore their failures. +if [ "$XBPS_TARGET_LIBC" = musl ]; then + 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" +fi