summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 14:02:22 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:55:11 +0000
commitc3ad8b6b4b039fb10715854a3cc982528f29b340 (patch)
treef01e8872b54ca6f40b1e2026f5bddf534e0430c1 /gnu/packages/python-web.scm
parent32fbb4e8abce36844047e07aa8da98c59e1cf42d (diff)
gnu: python-betamax-serializers: Switch to pyproject.
* gnu/packages/python-web.scm (python-betamax-serializers): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I551eca9d4caa2745e8726d942c4ff95df63c7af9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm21
1 files changed, 13 insertions, 8 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 008db68c7ef..7c96a8e4877 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7746,16 +7746,21 @@ Betamax.")
(version "0.2.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "betamax-serializers" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/betamax/serializers")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0ja9isbjmzzhxdj69s0kdsvw8nkp073w6an6a4liy5vk3fdl2p1l"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-betamax python-pyyaml))
+ (base32 "1p2l5w3vwvjacs2ndahgcjq55qb53i37p8mz1zh85pjxyszdyw2l"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; No tests.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-betamax python-pyyaml))
(synopsis "Set of third-party serializers for Betamax")
- (description "Betamax-Serializers are an experimental set of Serializers for
-Betamax that may possibly end up in the main package.")
+ (description
+ "Betamax-Serializers are an experimental set of Serializers for Betamax
+that may possibly end up in the main package.")
(home-page "https://gitlab.com/betamax/serializers")
(license license:asl2.0)))