From: chrysos349 <chrysos349@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-natsort: update to 8.4.0
Date: Mon, 05 Feb 2024 13:13:30 +0100 [thread overview]
Message-ID: <20240205121330.A597027EBE@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48520@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
There is an updated pull request by chrysos349 against master on the void-packages repository
https://github.com/chrysos349/void-packages python3-natsort
https://github.com/void-linux/void-packages/pull/48520
python3-natsort: update to 8.4.0
@autrimpo
the version in the repo is too old (5 years old). newer apps require the current version.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl x
- armv7l x
- armv6l-musl x
A patch file from https://github.com/void-linux/void-packages/pull/48520.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-natsort-48520.patch --]
[-- Type: text/x-diff, Size: 2081 bytes --]
From 61402d318a13443de68917b5cc2ff1b46b22b95d Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Mon, 5 Feb 2024 15:13:06 +0300
Subject: [PATCH] python3-natsort: update to 8.4.0, adopt
---
srcpkgs/python3-natsort/template | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-natsort/template b/srcpkgs/python3-natsort/template
index 21b0dd4f012c0..f827aa5811119 100644
--- a/srcpkgs/python3-natsort/template
+++ b/srcpkgs/python3-natsort/template
@@ -1,22 +1,29 @@
# Template file for 'python3-natsort'
pkgname=python3-natsort
-version=6.0.0
-revision=7
+version=8.4.0
+revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+depends="python3"
checkdepends="python3-pytest-mock python3-hypothesis"
short_desc="Simple yet flexible natural sorting in Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
license="MIT"
homepage="https://github.com/SethMMorton/natsort"
distfiles="${PYPI_SITE}/n/natsort/natsort-${version}.tar.gz"
-checksum=ff3effb5618232866de8d26e5af4081a4daa9bb0dfed49ac65170e28e45f2776
+checksum=45312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581
conflicts="python-natsort>=0"
-do_check() {
- python3 -m pytest
-}
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ # tests fail on musl
+ make_check_args="
+ --deselect tests/test_input_string_transform_factory.py::test_input_string_transform_factory_cleans_thousands
+ --deselect tests/test_input_string_transform_factory.py::test_input_string_transform_factory_handles_us_locale
+ --deselect tests/test_input_string_transform_factory.py::test_input_string_transform_factory_handles_german_locale
+ --deselect tests/test_natsorted.py::test_natsorted_can_sort_locale_specific_numbers_en
+ --deselect tests/test_natsorted.py::test_natsorted_can_sort_locale_specific_numbers_de
+ --deselect tests/test_natsorted.py::test_natsorted_handles_mixed_types_with_locale"
+fi
post_install() {
vlicense LICENSE
next prev parent reply other threads:[~2024-02-05 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-04 1:52 [PR PATCH] " chrysos349
2024-02-04 2:10 ` [PR PATCH] [Updated] " chrysos349
2024-02-05 9:39 ` autrimpo
2024-02-05 12:13 ` chrysos349 [this message]
2024-02-05 12:14 ` chrysos349
2024-02-06 10:24 ` [PR PATCH] [Merged]: python3-natsort: update to 8.4.0, adopt oreo639
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=20240205121330.A597027EBE@inbox.vuxu.org \
--to=chrysos349@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).