Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-inflect: update to 7.2.0.
@ 2024-04-11 19:12 icp1994
  2024-04-12 22:57 ` [PR PATCH] [Merged]: " cinerea0
  0 siblings, 1 reply; 2+ messages in thread
From: icp1994 @ 2024-04-11 19:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-inflect
https://github.com/void-linux/void-packages/pull/49806

python3-inflect: update to 7.2.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/49806.patch is attached

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

From a1d4de41cd531ab9815182eb8965416815960432 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 9 Apr 2024 01:56:01 +0530
Subject: [PATCH 1/2] python3-typeguard: update to 4.2.1.

---
 srcpkgs/python3-typeguard/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
index 0441766401bb1d..12c11d3a183b19 100644
--- a/srcpkgs/python3-typeguard/template
+++ b/srcpkgs/python3-typeguard/template
@@ -1,19 +1,20 @@
 # Template file for 'python3-typeguard'
 pkgname=python3-typeguard
-version=2.13.3
-revision=3
-build_style=python3-module
+version=4.2.1
+revision=1
+build_style=python3-pep517
 # mypy checks seem to require that the module be installed
 make_check_args="--ignore=tests/mypy"
-hostmakedepends="python3-setuptools_scm"
-depends="python3"
-checkdepends="python3-pytest python3-typing_extensions"
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-typing_extensions"
+checkdepends="${depends} python3-pytest"
 short_desc="Run-time type checker for python"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/agronholm/typeguard"
+changelog="https://github.com/agronholm/typeguard/releases"
 distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
-checksum=00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4
+checksum=c556a1b95948230510070ca53fa0341fb0964611bd05d598d87fb52115d65fee
 
 post_install() {
 	vlicense LICENSE

From cbbc45c9ac0e047040dffe3eaae85decf7035cc4 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 9 Apr 2024 01:50:51 +0530
Subject: [PATCH 2/2] python3-inflect: update to 7.2.0.

---
 .../python3-inflect/patches/fix-test.patch    | 28 -------------------
 srcpkgs/python3-inflect/template              |  6 ++--
 2 files changed, 3 insertions(+), 31 deletions(-)
 delete mode 100644 srcpkgs/python3-inflect/patches/fix-test.patch

diff --git a/srcpkgs/python3-inflect/patches/fix-test.patch b/srcpkgs/python3-inflect/patches/fix-test.patch
deleted file mode 100644
index 45770502cc3e6c..00000000000000
--- a/srcpkgs/python3-inflect/patches/fix-test.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f6177e1b30c7cda6e73b6a0aa7437fe5a16fd0aa Mon Sep 17 00:00:00 2001
-From: Jaremy Hatler <hatler.jaremy@gmail.com>
-Date: Sat, 23 Dec 2023 21:37:41 -0500
-Subject: [PATCH] fix: compare validation now expects singular noun
-
-On pydantic-code >= 2.12, the validation error messages use the singular
-of the word "character" when the number 1 is specified in a condition.
-This breaks the engine.compare validation, which expected the plural.
-
-Refs: #204
-Signed-off-by: Jaremy Hatler <hatler.jaremy@gmail.com>
----
- inflect/__init__.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/inflect/__init__.py b/inflect/__init__.py
-index ccef776..fcb3d01 100644
---- a/inflect/__init__.py
-+++ b/inflect/__init__.py
-@@ -2466,7 +2466,7 @@ def compare(self, word1: Word, word2: Word) -> Union[str, bool]:
-         ...
-         pydantic...ValidationError: ...
-         ...
--          ...at least 1 characters...
-+          ...at least 1 character...
-         """
-         norms = self.plural_noun, self.plural_verb, self.plural_adj
-         results = (self._plequal(word1, word2, norm) for norm in norms)
diff --git a/srcpkgs/python3-inflect/template b/srcpkgs/python3-inflect/template
index e83b21c359d04a..215eafae4fd443 100644
--- a/srcpkgs/python3-inflect/template
+++ b/srcpkgs/python3-inflect/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-inflect'
 pkgname=python3-inflect
-version=7.0.0
+version=7.2.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-wheel python3-setuptools_scm"
-depends="python3-pydantic"
+depends="python3-more-itertools python3-typeguard python3-typing_extensions"
 checkdepends="${depends} python3-pytest-xdist"
 short_desc="Correctly generate plurals, ordinals; convert numbers to words"
 maintainer="icp <pangolin@vivaldi.net>"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/jaraco/inflect"
 changelog="https://raw.githubusercontent.com/jaraco/inflect/main/NEWS.rst"
 distfiles="${PYPI_SITE}/i/inflect/inflect-${version}.tar.gz"
-checksum=63da9325ad29da81ec23e055b41225795ab793b4ecb483be5dc1fa363fd4717e
+checksum=32feacfacfcae2f22e6fccdea10f0ddf26a638fac434d0dddaafbca0034f3784
 make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
 
 post_install() {

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

* Re: [PR PATCH] [Merged]: python3-inflect: update to 7.2.0.
  2024-04-11 19:12 [PR PATCH] python3-inflect: update to 7.2.0 icp1994
@ 2024-04-12 22:57 ` cinerea0
  0 siblings, 0 replies; 2+ messages in thread
From: cinerea0 @ 2024-04-12 22:57 UTC (permalink / raw)
  To: ml

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

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

python3-inflect: update to 7.2.0.
https://github.com/void-linux/void-packages/pull/49806

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] 2+ messages in thread

end of thread, other threads:[~2024-04-12 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-11 19:12 [PR PATCH] python3-inflect: update to 7.2.0 icp1994
2024-04-12 22:57 ` [PR PATCH] [Merged]: " cinerea0

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