~ruther/guix-local

7c28753d9e5251e8ce1ae0a6ed9bdb65d8d8a940 — Sharlatan Hellseher 4 months ago 27cf343
gnu: python-psptool: Update to 3.1.

* gnu/packages/embedded.scm (python-psptool): Update to 3.1.
[source]: Switch to git-fetch.
<snippet>: Drop it as no longer required.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Add python-psptrace-bootstrap and python-setuptools.

Change-Id: Iadf37adc484d2b19db710e0110343e965b5e2e08
1 files changed, 18 insertions(+), 15 deletions(-)

M gnu/packages/embedded.scm
M gnu/packages/embedded.scm => gnu/packages/embedded.scm +18 -15
@@ 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")