* [PR PATCH] python3-parsing: update to 3.0.9
@ 2023-03-14 2:38 tornaria
2023-03-25 21:51 ` [PR PATCH] [Merged]: " leahneukirchen
0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2023-03-14 2:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages pyparsing
https://github.com/void-linux/void-packages/pull/42754
python3-parsing: update to 3.0.9
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42754.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pyparsing-42754.patch --]
[-- Type: text/x-diff, Size: 3063 bytes --]
From afac39be1ebbb9ed27e6158f6d335cce07cbc583 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
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?= <tornaria@cmat.edu.uy>
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 <orphan@voidlinux.org>"
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]"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: python3-parsing: update to 3.0.9
2023-03-14 2:38 [PR PATCH] python3-parsing: update to 3.0.9 tornaria
@ 2023-03-25 21:51 ` leahneukirchen
0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2023-03-25 21:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
There's a merged pull request on the void-packages repository
python3-parsing: update to 3.0.9
https://github.com/void-linux/void-packages/pull/42754
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-25 21:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 2:38 [PR PATCH] python3-parsing: update to 3.0.9 tornaria
2023-03-25 21:51 ` [PR PATCH] [Merged]: " leahneukirchen
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).