Subject: [bug#60238] [PATCH 3/7] gnu: Add python-inflect.

From: dan <[email-masked]>
Date: Wed, 21 Dec 2022 21:14:00 +0800

* gnu/packages/python-xyz.scm (python-inflect): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6cdf9026b0..f0e2ad4fc4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8925,6 +8925,27 @@ (define-public python-portend
     (description "TCP port monitoring and discovery")
     (license license:expat)))
 
+(define-public python-inflect
+  (package
+    (name "python-inflect")
+    (version "6.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "inflect" version))
+              (sha256
+               (base32
+                "16ihdnwck79db21g2pnqq8acc4n68k8agqgx36bghijh22qbr9pi"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-pydantic))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/jaraco/inflect")
+    (synopsis
+     "Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words")
+    (description
+     "Correctly generate plurals, singular nouns, ordinals, indefinite articles;
+convert numbers to words")
+    (license license:expat)))
+
 (define-public python-simplegeneric
   (package
     (name "python-simplegeneric")
-- 
2.38.1