From 7c28753d9e5251e8ce1ae0a6ed9bdb65d8d8a940 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 26 Nov 2025 00:18:14 +0000 Subject: [PATCH] gnu: python-psptool: Update to 3.1. * gnu/packages/embedded.scm (python-psptool): Update to 3.1. [source]: Switch to git-fetch. : Drop it as no longer required. [build-system]: Switch to pyproject-build-system. [arguments] : Use 'unittest. [native-inputs]: Add python-psptrace-bootstrap and python-setuptools. Change-Id: Iadf37adc484d2b19db710e0110343e965b5e2e08 --- gnu/packages/embedded.scm | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index c38e1298c9119c0008191ea0d23f0d074882cd5d..a62931f355b9315e5ade8424fda475a0109b4bf1 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1972,22 +1972,25 @@ and Zilog Z80 families, plus many of their variants.") (define-public python-psptool (package (name "python-psptool") - (version "2.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "psptool" version)) - (sha256 - (base32 - "1kx0xpfx67m4zclk4gs97wiwjms8i7z4f6b6m68y8sfgpshy4rf3")) - (modules '((guix build utils))) - (snippet - '(begin - ;; IPython is not used by the package at all - (substitute* '("psptool/directory.py" "psptool/entry.py") - (("from IPython.*") "")))))) - (build-system python-build-system) + (version "3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PSPReverse/psptool") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fbx3b42cr7dv07p2b9qgzrgs19i066ysfasgvlfjscg2v68j8d0")))) + (build-system pyproject-build-system) + (arguments + (list #:test-backend #~'unittest)) + (native-inputs + (list python-psptrace-bootstrap + python-setuptools)) (propagated-inputs - (list python-cryptography python-prettytable)) + (list python-cryptography + python-prettytable)) (home-page "https://github.com/PSPReverse/psptool") (synopsis "Tool for dealing with AMD binary blobs") (description "PSPTool is a tool for dealing with AMD binary blobs")