summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 06:55:01 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:23 +0100
commitc75b9a5c9192b420ee9166c8f674ce8fb4d8262e (patch)
treeb83848f7d41cca8933db7f9ec3f6a34aa8266809 /gnu/packages/python-build.scm
parenta0f4fdda2992553215c7de7f333e63c564c71f43 (diff)
gnu: python-inflect: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-inflect): Move from here… * gnu/packages/python-build.scm (python-inflect): …to here. [native-inputs]: Replace python-pytest by python-pytest-bootstrap, python-setuptools by python-setuptools-bootstrap, python-setuptools-scm by python-setuptools-scm-boostrap. Change-Id: Id8782ae885b16d2a2870cd5d05b93e93ca9dbc40 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index fd0333affd6..e1797d9356f 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -1356,6 +1356,33 @@ version control system (like Git) to determine project versions.")
(list python-hatchling-bootstrap
python-setuptools-scm-bootstrap))))
+(define-public python-inflect
+ (package
+ (name "python-inflect")
+ (version "7.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "inflect" version))
+ (sha256
+ (base32
+ "07spmlkmskwhxc0j5j4ms3w0f6pyv3h8iqwcbahdabklqc0riwgs"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pygments
+ python-pytest-bootstrap
+ python-setuptools-bootstrap
+ python-setuptools-scm-bootstrap))
+ (propagated-inputs
+ (list python-more-itertools
+ python-typeguard
+ python-typing-extensions))
+ (home-page "https://github.com/jaraco/inflect")
+ (synopsis "Correctly generate plurals, singular nouns, ordinals, indefinite articles")
+ (description
+ "This Python module lets you correctly generate plurals, singular nouns,
+ordinals, indefinite articles; it also can convert numbers to words.")
+ (license license:expat)))
+
(define-public python-iniconfig
(package
(name "python-iniconfig")