summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-09-27 22:16:18 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-27 21:40:53 +0100
commit51fa44d0939218ca17e9dbadcb151345deee9cd1 (patch)
treebfe523e5cec1aab4b45e9fe5f0d7d8d0e1b49832
parent3e634c5d19d5d03fd6f896b529ffa09f5236a49e (diff)
gnu: python-grandalf: Update to 0.8.
* gnu/packages/python-xyz.scm (python-grandalf): Update to 0.8. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-pytest-runner; add python-setuptools. [arguments] <#:phases>: Add 'patch-requirements phase; remove check-phase replacement. Change-Id: Icaf77d0909b67b857bceffd21bb132c9e0e69edc Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 752f4fd194..8efb352799 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13783,10 +13783,10 @@ memoizing PEG/Packrat parser in Python.")
(define-public python-grandalf
(package
(name "python-grandalf")
- (version "0.7")
+ ;; `guix refresh` will try to upgrade to v0.55555, but that is older.
+ (version "0.8")
(source
(origin
- ;; There's no source tarball on PyPI.
(method git-fetch)
(uri (git-reference
(url "https://github.com/bdcht/grandalf")
@@ -13794,16 +13794,18 @@ memoizing PEG/Packrat parser in Python.")
(file-name (git-file-name name version))
(sha256
(base32
- "03p8w8ljpb87qbyldm3s6b7qi30hfcn43h33iwlgqcf31fjsyr4g"))))
- (build-system python-build-system)
+ "199f86hz3g4p237ma4j27rzwmska3bxzsbgq20i4l4pczf9v7ax0"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "python" "setup.py" "pytest"))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'patch-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("install_requires=\\['pyparsing'],") "")))))))
(native-inputs
- (list python-pytest python-pytest-runner))
+ (list python-setuptools python-pytest))
(propagated-inputs
(list python-numpy python-ply))
(home-page "https://github.com/bdcht/grandalf")