From c3ad8b6b4b039fb10715854a3cc982528f29b340 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 23 Dec 2025 14:02:22 +0100 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 008db68c7ef5919e416301f61a30e4806c78388a..7c96a8e48776cb0c6e89e50b1819ef35be850d77 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)))