From 1c990eb67f9ac75e92dcfbfd48cf70c139920b84 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 31 Oct 2025 06:55:01 +0100 Subject: [PATCH] gnu: python-inflect: Move to (gnu packages python-build). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gnu/packages/python-build.scm | 27 +++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 22 ---------------------- 2 files changed, 27 insertions(+), 22 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") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 37db1deb091..83884f5d745 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21791,28 +21791,6 @@ Freecell and similar variants of Card Solitaire such as Eight Off, Forecell, and Seahaven Towers, as well as Simple Simon boards.") (license license:expat))) -(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) - (propagated-inputs (list python-more-itertools python-typeguard - python-typing-extensions)) - (native-inputs (list python-pygments python-pytest python-setuptools - python-setuptools-scm python-wheel)) - (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-inflection (package (name "python-inflection")