From afac39be1ebbb9ed27e6158f6d335cce07cbc583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 13 Mar 2023 00:17:21 -0300 Subject: [PATCH 1/2] update_check.sh: allow _ in github tarball filename --- common/xbps-src/shutils/update_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index 3e5a8c5852a0..8d0ec23dd20b 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -129,7 +129,7 @@ update_check() { *github.com*) pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)" url="https://github.com/$pkgurlname/tags" - rx='/archive/refs/tags/(v?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=\.tar\.gz")';; + rx='/archive/refs/tags/(v?|\Q'"$pkgname"'\E[-_])?\K[\d.]+(?=\.tar\.gz")';; *//gitlab.*|*code.videolan.org*) case "$url" in */-/*) pkgurlname="$(printf %s "$url" | sed -e 's%/-/.*%%g; s%/$%%')";; From 9b80862ce25a19ec4c3fac25ceb74cbd2fc2d0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 15 Nov 2022 22:50:00 -0300 Subject: [PATCH 2/2] python3-parsing: update to 3.0.9. --- srcpkgs/python3-parsing/template | 15 ++++++++++----- srcpkgs/python3-parsing/update | 1 - 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-parsing/template b/srcpkgs/python3-parsing/template index 362dd03e0ab5..0aae92731344 100644 --- a/srcpkgs/python3-parsing/template +++ b/srcpkgs/python3-parsing/template @@ -1,17 +1,22 @@ # Template file for 'python3-parsing' pkgname=python3-parsing -version=2.4.7 -revision=4 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=3.0.9 +revision=1 +build_style=python3-pep517 +make_install_target="dist/pyparsing-${version}-*-*-*.whl" +# disable tests that need `python3-railroad` (not in repo) +make_check_args="-k not(testEmptyExpressionsAreHandledProperly)" +make_check_target="--ignore=tests/test_diagram.py" +hostmakedepends="python3-flit_core" depends="python3" +checkdepends="python3-pytest" short_desc="Python parsing module" maintainer="Orphaned " license="MIT" homepage="https://github.com/pyparsing/pyparsing" changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES" distfiles="https://github.com/pyparsing/pyparsing/archive/pyparsing_${version}.tar.gz" -checksum=6deecf4b95a49a5a9c89b4a4b1fcb73c1cba0e3265ec7b858adffcced229ba05 +checksum=7e8ce1684c517f57f945698fd3bbf86b36a2e60cd223f74886d3af04deb06306 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-parsing/update b/srcpkgs/python3-parsing/update index 3fe9488cc307..5ebd5548f116 100644 --- a/srcpkgs/python3-parsing/update +++ b/srcpkgs/python3-parsing/update @@ -1,3 +1,2 @@ -site=https://github.com/pyparsing/pyparsing/releases pkgname=pyparsing ignore="*a[1-9] *b[1-9] *rc[1-9]"