1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-more-itertools: Move to (gnu packages python-build).

* gnu/packages/python-xyz.scm (python-more-itertools): Move from here…
* gnu/packages/python-build.scm (python-more-itertools): …to here.

Change-Id: I5449d1bd0ed4f56a3943020e239cf299ab231617
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-10-31 02:31:13 +01:00
committed by Andreas Enge
parent 9765d15962
commit 8b30c24930
2 changed files with 36 additions and 36 deletions

View File

@@ -123,6 +123,42 @@ run simple @code{argparse} parsers from function signatures.")
"Colorama is a Python library for rendering colored terminal text.")
(license license:bsd-3)))
(define-public python-more-itertools
(package
(name "python-more-itertools")
(version "10.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "more-itertools" version))
(sha256
(base32
"0fzfnfga0jdx217kff57lx3pam76162i0dd0nsgwqccw038zmmrc"))
(snippet
;; distutils.errors.DistutilsOptionError: No configuration found for
;; dynamic 'description'. Some dynamic fields need to be specified via
;; `tool.setuptools.dynamic`others must be specified via the equivalent
;; attribute in `setup.py`.
'(delete-file "setup.py"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "unittest")))))))
(native-inputs
(list python-flit-core))
(home-page "https://github.com/erikrose/more-itertools")
(synopsis "More routines for operating on iterables, beyond itertools")
(description "Python's built-in @code{itertools} module implements a
number of iterator building blocks inspired by constructs from APL, Haskell,
and SML. @code{more-itertools} includes additional building blocks for
working with iterables.")
(license license:expat)))
(define-public python-pathspec
(package
(name "python-pathspec")