From 902de8475bfad924ce8439fc71b0f3670f1d32cc Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Thu, 18 Dec 2025 08:35:54 +0100 Subject: [PATCH] gnu: python-extract-dtb: Switch to pyproject-build-system. * gnu/packages/python-xyz.scm (python-extract-dtb): Switch to pyproject-build-system. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Set to false, no tests. [native-inputs]: Add python-setuptools. Change-Id: I5ef5ecee569c66415e2354a2104f764e3bcae886 Signed-off-by: Cayetano Santos --- gnu/packages/python-xyz.scm | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 69a0c7ee31e80549c378c82cda017897f62f78ea..57fefa70ea40a95f4b1738715862c2ea2cbd5561 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7512,13 +7512,21 @@ automatic tab-completion, color support, logging to @code{std}, etc.") (package (name "python-extract-dtb") (version "1.2.3") - (source (origin - (method url-fetch) - (uri (pypi-uri "extract-dtb" version)) - (sha256 - (base32 - "1a7rfvwisgri8b00pch6d9pfrl8s93w8g09yzxf4xh0qvmsxmh43")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PabloCastellano/extract-dtb/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kkfy8sh6bhh1w5lczaw1nym278q5xp5pxjaahwrl3zfddhdm655")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;no tests + (native-inputs + (list python-setuptools)) (home-page "https://github.com/PabloCastellano/extract-dtb/") (synopsis "Extract device tree blobs (DTB) from kernel images") (description