From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-parsing: update to 3.0.9
Date: Tue, 14 Mar 2023 03:38:31 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42754@inbox.vuxu.org> (raw)
[-- 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]"
next reply other threads:[~2023-03-14 2:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 2:38 tornaria [this message]
2023-03-25 21:51 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42754@inbox.vuxu.org \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).