summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-04-22 16:00:34 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-04-24 04:53:41 +0100
commit3df0c87530651cfde6db50fc716b5022ec4b4305 (patch)
treeb1b586866a10427cb6d88f98b812cd216b4f6049 /gnu
parent5ee9ffa195ed2744b85823054b1fe8444f67b0ac (diff)
gnu: python-transient: Update to 0.25.
* gnu/packages/virtualization.scm (python-transient): Update to 0.25. [source]: Switch to git-fetch to enable tests. [arguments]{phases}: Refresh phase 'fix-dependencies. [native-inputs]: Remove python-black, python-mypy, python-twine. Add python-pytest. [propagated-inputs]: Replace python-lark by python-lark-parser. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/virtualization.scm33
1 files changed, 17 insertions, 16 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index b5a0ec9d883..28dd3202df1 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2999,34 +2999,35 @@ use with virtualization provisioning tools")
(define-public python-transient
(package
(name "python-transient")
- (version "0.12")
+ (version "0.25")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "transient" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ALSchwalm/transient")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "148yiqrmcscsi6787y0f27i1y9cf0gcw3mqfv5frhpmsmv62mv5z"))))
+ (base32 "1c2v0z1amgfx747sqn8airq71bnp58syvsaqlazirahyn2yjg04d"))))
(build-system pyproject-build-system)
(arguments
- `(#:tests? #f ; Requires behave
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'fix-dependencies
- (lambda _
- (substitute* "setup.py"
- (("==")
- ">=")))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-dependencies
+ (lambda _
+ (substitute* "setup.py"
+ (("(~|=)=") ">=")
+ (("lark-parser>=[0-9.]*") "lark")))))))
(native-inputs
- (list python-black
- python-mypy
- python-pyhamcrest
+ (list python-pyhamcrest
+ python-pytest
python-setuptools
- python-twine
python-wheel))
(propagated-inputs
(list python-beautifultable
python-click
python-importlib-resources
- python-lark-parser
+ python-lark
python-marshmallow
python-progressbar2
python-requests