[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71084] [PATCH 25/26] gnu: Add python-more-itertools-next.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71084] [PATCH 25/26] gnu: Add python-more-itertools-next. |
Date: |
Mon, 20 May 2024 23:12:52 +0100 |
* gnu/packages/python-xyz.scm (python-more-itertools-next): New variable.
Change-Id: Ia9deef0c19931356446e2731a315d27ce54e6ab0
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9d3066cab4..520dcd0b69 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26462,6 +26462,41 @@ (define-public python-more-itertools
working with iterables.")
(license license:expat)))
+;; Needed for python-yt, older version fails with exception: E ImportError:
+;; cannot import name 'mark_ends' from 'more_itertools'
+;; (<...>more_itertools/__init__.py)
+(define-public python-more-itertools-next
+ (package
+ (inherit python-more-itertools)
+ (name "python-more-itertools")
+ (version "10.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "more-itertools" version))
+ (sha256
+ (base32
+ "1q9rq9g026m4wl6ki2q8pw7xbc02vl34qqw702h9jgixqj0b9k4g"))
+ (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))
+ (propagated-inputs
+ (list python-six))))
+
(define-public python-latexcodec
(package
(name "python-latexcodec")
--
2.41.0
- [bug#71084] [PATCH 12/26] gnu: python-cdflib: Update to 1.3.1., (continued)
- [bug#71084] [PATCH 12/26] gnu: python-cdflib: Update to 1.3.1., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 08/26] gnu: python-pyvo: Disable a failing test., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 02/26] gnu: python-ephem: Use pyproject-build-system., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 19/26] gnu: python-specutils: Update to 1.15.0., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 22/26] gnu: Add python-viresclient., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 26/26] gnu: Add python-yt., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 23/26] gnu: Add python-geopack., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 24/26] gnu: Add python-comm., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 21/26] gnu: python-ewah-bool-utils: Update to 1.2.0., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 20/26] gnu: python-unyt: Fix version detection., Sharlatan Hellseher, 2024/05/20
- [bug#71084] [PATCH 25/26] gnu: Add python-more-itertools-next.,
Sharlatan Hellseher <=
- bug#71084: [PATCH 00/26] Astronomy update 2024/05., Andrew Tropin, 2024/05/30