guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 0ffc052fafbc8d5c4ab1776e00f00ba7166cddfd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Jun 10 17:41:25 2026 +0100
gnu: python-uri-template: Build from git.
* gnu/packages/python-xyz.scm (python-uri-template):
[source]: Switch to git-fetch.
[arguments] <test-backend, test-flags>: Use custom.
<phases>: Use default 'check phase.
[native-inputs]: Remove python-wheel.
Change-Id: Ibf7837c88054122c2e66f0dacc5f839b09de511c
---
gnu/packages/python-xyz.scm | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 516d21c6b1..e7c2ea8b08 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -40998,23 +40998,21 @@ package updates.")
(version "1.3.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "uri-template" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.linss.com/open-source/python/uri-template")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1ixczlgnsjv2850r6w0cb2npwcwzdqri8njr1pi7v371cpmzh00f"))))
+ (base32 "0z1g5hpxzi5rh4xsra6bsvyg5qzmnx7a8j5q7rngmj9slcbcbhfz"))))
(build-system pyproject-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python3" "test.py")))))))
+ #:test-backend #~'custom
+ #:test-flags #~(list "test.py")))
(native-inputs
(list python-setuptools
- python-setuptools-scm
- python-wheel))
+ python-setuptools-scm))
(home-page "https://gitlab.linss.com/open-source/python/uri-template")
(synopsis "RFC 6570 URI Template Processor")
(description "This package implements URI Template expansion in strict