Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-natsort: update to 8.4.0
@ 2024-02-04  1:52 chrysos349
  2024-02-04  2:10 ` [PR PATCH] [Updated] " chrysos349
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: chrysos349 @ 2024-02-04  1:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

There is a new 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: 1319 bytes --]

From fffdbc77b7973a9582c75b7a0da87d9e3e03a4a9 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 4 Feb 2024 04:42:39 +0300
Subject: [PATCH] python3-natsort: update to 8.4.0

---
 srcpkgs/python3-natsort/template | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-natsort/template b/srcpkgs/python3-natsort/template
index a8d7b0eec1feb..cdebff82c196f 100644
--- a/srcpkgs/python3-natsort/template
+++ b/srcpkgs/python3-natsort/template
@@ -1,23 +1,19 @@
 # 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="Michal Koutenský <koutak.m@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
-}
-
 post_install() {
 	vlicense LICENSE
 }

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] python3-natsort: update to 8.4.0
  2024-02-04  1:52 [PR PATCH] python3-natsort: update to 8.4.0 chrysos349
@ 2024-02-04  2:10 ` chrysos349
  2024-02-05  9:39 ` autrimpo
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: chrysos349 @ 2024-02-04  2:10 UTC (permalink / raw)
  To: ml

[-- 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: 2028 bytes --]

From cc2a3a4238f49a6c0e0e720901fcec4d75b36e5b Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 4 Feb 2024 04:42:39 +0300
Subject: [PATCH] python3-natsort: update to 8.4.0

---
 srcpkgs/python3-natsort/template | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-natsort/template b/srcpkgs/python3-natsort/template
index a8d7b0eec1feb..18f9d8755f1fc 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="Michal Koutenský <koutak.m@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: python3-natsort: update to 8.4.0
  2024-02-04  1:52 [PR PATCH] python3-natsort: update to 8.4.0 chrysos349
  2024-02-04  2:10 ` [PR PATCH] [Updated] " chrysos349
@ 2024-02-05  9:39 ` autrimpo
  2024-02-05 12:13 ` [PR PATCH] [Updated] " chrysos349
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: autrimpo @ 2024-02-05  9:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

New comment by autrimpo on void-packages repository

https://github.com/void-linux/void-packages/pull/48520#issuecomment-1926572483

Comment:
LGTM. I haven't used Void Linux in years, feel free to take over the package if it's important to you - I'm going to make a PR to remove me as the maintainer.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] python3-natsort: update to 8.4.0
  2024-02-04  1:52 [PR PATCH] python3-natsort: update to 8.4.0 chrysos349
  2024-02-04  2:10 ` [PR PATCH] [Updated] " chrysos349
  2024-02-05  9:39 ` autrimpo
@ 2024-02-05 12:13 ` chrysos349
  2024-02-05 12:14 ` chrysos349
  2024-02-06 10:24 ` [PR PATCH] [Merged]: python3-natsort: update to 8.4.0, adopt oreo639
  4 siblings, 0 replies; 6+ messages in thread
From: chrysos349 @ 2024-02-05 12:13 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: python3-natsort: update to 8.4.0
  2024-02-04  1:52 [PR PATCH] python3-natsort: update to 8.4.0 chrysos349
                   ` (2 preceding siblings ...)
  2024-02-05 12:13 ` [PR PATCH] [Updated] " chrysos349
@ 2024-02-05 12:14 ` chrysos349
  2024-02-06 10:24 ` [PR PATCH] [Merged]: python3-natsort: update to 8.4.0, adopt oreo639
  4 siblings, 0 replies; 6+ messages in thread
From: chrysos349 @ 2024-02-05 12:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/pull/48520#issuecomment-1926859019

Comment:
> feel free to take over the package

I'll adopt it then

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: python3-natsort: update to 8.4.0, adopt
  2024-02-04  1:52 [PR PATCH] python3-natsort: update to 8.4.0 chrysos349
                   ` (3 preceding siblings ...)
  2024-02-05 12:14 ` chrysos349
@ 2024-02-06 10:24 ` oreo639
  4 siblings, 0 replies; 6+ messages in thread
From: oreo639 @ 2024-02-06 10:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

There's a merged pull request on the void-packages repository

python3-natsort: update to 8.4.0, adopt
https://github.com/void-linux/void-packages/pull/48520

Description:
@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-06 10:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-04  1:52 [PR PATCH] python3-natsort: update to 8.4.0 chrysos349
2024-02-04  2:10 ` [PR PATCH] [Updated] " chrysos349
2024-02-05  9:39 ` autrimpo
2024-02-05 12:13 ` [PR PATCH] [Updated] " chrysos349
2024-02-05 12:14 ` chrysos349
2024-02-06 10:24 ` [PR PATCH] [Merged]: python3-natsort: update to 8.4.0, adopt oreo639

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).