guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit fe2cf9451c5e39acc7b5e7d58158f0cefedc5da6
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 31 02:31:13 2025 +0100
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 <[email protected]>
---
gnu/packages/python-build.scm | 36 ++++++++++++++++++++++++++++++++++++
gnu/packages/python-xyz.scm | 36 ------------------------------------
2 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 79c915e26d..8f5bcfb923 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -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")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f75798fbfc..74336ea052 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26486,42 +26486,6 @@ events on Linux.")
"This package provides, in addition to the @code{pyinotify} Python
library,
a command line application exposing the same functionality.")))
-(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-latexcodec
(package
(name "python-latexcodec")