summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-06 11:15:47 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-06 11:16:02 +0000
commitc7685fdbccf842e6cd13712729de0c6084c93774 (patch)
tree74b47ae2bf46ebd0d309dda33c701c2c13764475 /gnu/packages/python-xyz.scm
parent3f912eafb25a09f1a0a6056916577de0ed18676c (diff)
gnu: python-speg: Update to 0.3-0.877acdd.
* gnu/packages/python-xyz.scm (python-speg): Update to 877acddfd5ac5ae8b4a4592d045e74e108477643 commit. [source]: Switch to git-fetch providing tests. [arguments] <tests?>: Enable. [propagated-inputs]: Add python-six. [native-inputs]: Remove python-wheel and unzip; add python-pytest. Change-Id: Ied063f1dc7660680a053012c8e7d99bb2b047375
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 16 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2657f6dac1b..a98a46dde85 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30098,18 +30098,27 @@ that take parsers as their arguments and return them as result values.")
(define-public python-speg
(package
(name "python-speg")
- (version "0.3")
+ ;; 0.3 was released in 2017, the latest change on master HEAD is from 2018.
+ (properties '((commit . "877acddfd5ac5ae8b4a4592d045e74e108477643")
+ (revision . "0")))
+ (version (git-version "0.3"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "speg" version ".zip"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/avakar/speg")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0w9y4jf4787dzhy6rvhwi0mpl0r8qkqmqmyv2hpwdpv8w53yzjqh"))))
+ (base32 "0lhms1sfvmnplcwq8qwwvkrcz4sgi9yprvrkjz7p84fjhk86n4sb"))))
(build-system pyproject-build-system)
- (arguments
- `(#:tests? #f)) ;FIXME: tests fail, not sure why
(native-inputs
- (list python-setuptools python-wheel unzip))
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-six))
(home-page "https://github.com/avakar/speg")
(synopsis "PEG-based parser interpreter with memoization")
(description "This package is a PEG-based parser and interpreter with