Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-humanize: update to 4.8.0.
@ 2023-08-23 19:02 icp1994
  2023-08-23 19:16 ` [PR PATCH] [Updated] " icp1994
  2023-09-12  5:33 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2023-08-23 19:02 UTC (permalink / raw)
  To: ml

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

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-humanize
https://github.com/void-linux/void-packages/pull/45733

python3-humanize: update to 4.8.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/45733.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-humanize-45733.patch --]
[-- Type: text/x-diff, Size: 1542 bytes --]

From 244da76564110cda3ad4dbc94d251faab298f63d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 22 Aug 2023 00:21:37 +0530
Subject: [PATCH] python3-humanize: update to 4.8.0.

Adopt.
---
 srcpkgs/python3-humanize/template | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/python3-humanize/template b/srcpkgs/python3-humanize/template
index ebe44ff1d551e..d7b8ecba0569a 100644
--- a/srcpkgs/python3-humanize/template
+++ b/srcpkgs/python3-humanize/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-humanize'
 pkgname=python3-humanize
-version=4.6.0
+version=4.8.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
 depends="python3"
 checkdepends="python3-pytest python3-freezegun"
 short_desc="Python humanize utilities"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="icp <pangolin@vivaldi.net>"
 license="MIT"
-homepage="https://github.com/python-humanize/humanize"
+homepage="https://humanize.readthedocs.io/"
 changelog="https://github.com/python-humanize/humanize/releases"
 distfiles="${PYPI_SITE}/h/humanize/humanize-${version}.tar.gz"
-checksum=5f1f22bc65911eb1a6ffe7659bd6598e33dcfeeb904eb16ee1e705a09bf75916
-make_check_pre="env PYTHONPATH=src"
-
-post_patch() {
-	# allow running tests without installing
-	vsed -e "s/importlib_metadata\.version(__name__)/'${version}'/g" \
-		-i src/humanize/__init__.py
-}
+checksum=9783373bf1eec713a770ecaa7c2d7a7902c98398009dfa3d8a2df91eec9311e8
 
 post_install() {
 	vlicense LICENCE

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

* Re: [PR PATCH] [Updated] python3-humanize: update to 4.8.0.
  2023-08-23 19:02 [PR PATCH] python3-humanize: update to 4.8.0 icp1994
@ 2023-08-23 19:16 ` icp1994
  2023-09-12  5:33 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2023-08-23 19:16 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-humanize
https://github.com/void-linux/void-packages/pull/45733

python3-humanize: update to 4.8.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/45733.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-humanize-45733.patch --]
[-- Type: text/x-diff, Size: 1615 bytes --]

From 2807edf6179fe9e71979344a89febcb8b2c968d2 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 22 Aug 2023 00:21:37 +0530
Subject: [PATCH] python3-humanize: update to 4.8.0.

Adopt.
---
 srcpkgs/python3-humanize/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-humanize/template b/srcpkgs/python3-humanize/template
index ebe44ff1d551e..c36d094f17c25 100644
--- a/srcpkgs/python3-humanize/template
+++ b/srcpkgs/python3-humanize/template
@@ -1,24 +1,22 @@
 # Template file for 'python3-humanize'
 pkgname=python3-humanize
-version=4.6.0
+version=4.8.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
 depends="python3"
 checkdepends="python3-pytest python3-freezegun"
 short_desc="Python humanize utilities"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="icp <pangolin@vivaldi.net>"
 license="MIT"
-homepage="https://github.com/python-humanize/humanize"
+homepage="https://humanize.readthedocs.io/"
 changelog="https://github.com/python-humanize/humanize/releases"
 distfiles="${PYPI_SITE}/h/humanize/humanize-${version}.tar.gz"
-checksum=5f1f22bc65911eb1a6ffe7659bd6598e33dcfeeb904eb16ee1e705a09bf75916
-make_check_pre="env PYTHONPATH=src"
+checksum=9783373bf1eec713a770ecaa7c2d7a7902c98398009dfa3d8a2df91eec9311e8
 
 post_patch() {
-	# allow running tests without installing
-	vsed -e "s/importlib_metadata\.version(__name__)/'${version}'/g" \
-		-i src/humanize/__init__.py
+	# remove tests which overflow in 32-bit hosts
+	vsed -e '/27 years/d' -i tests/test_time.py
 }
 
 post_install() {

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

* Re: [PR PATCH] [Merged]: python3-humanize: update to 4.8.0.
  2023-08-23 19:02 [PR PATCH] python3-humanize: update to 4.8.0 icp1994
  2023-08-23 19:16 ` [PR PATCH] [Updated] " icp1994
@ 2023-09-12  5:33 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-09-12  5:33 UTC (permalink / raw)
  To: ml

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

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

python3-humanize: update to 4.8.0.
https://github.com/void-linux/void-packages/pull/45733

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

end of thread, other threads:[~2023-09-12  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-23 19:02 [PR PATCH] python3-humanize: update to 4.8.0 icp1994
2023-08-23 19:16 ` [PR PATCH] [Updated] " icp1994
2023-09-12  5:33 ` [PR PATCH] [Merged]: " classabbyamp

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