gnu: python-sop: Switch to pyproject.

* gnu/packages/python-crypto.scm (python-sop):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: If3b9533b3f8cf1f831f6343729fcf12ad8b13e75
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-26 01:46:36 +02:00 committed by Sharlatan Hellseher
parent f7088bc19f
commit 4e36a25e10
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1703,17 +1703,18 @@ interacting with a U2F device over USB.")
(name "python-sop") (name "python-sop")
(version "0.2.0") (version "0.2.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "sop" version)) (uri (git-reference
(sha256 (url "https://gitlab.com/dkg/python-sop")
(base32 (commit (string-append "sop-" version))))
"0gljyjsdn6hdmwlwwb5g5s0c031p6izamvfxp0d39x60af8k5jyf")))) (file-name (git-file-name name version))
(build-system python-build-system) (sha256
(base32 "071n7ifi634ai2xaddxdjiscp4v215r48d9i3v24mpz23sh8ymjn"))))
(build-system pyproject-build-system)
(arguments (arguments
'(#:tests? #f)) ; There are no tests, and unittest throws an error trying (list #:tests? #f)) ; XXX: No tests upstream.
; to find some: (native-inputs (list python-setuptools python-wheel))
; TypeError: don't know how to make test from: 0.2.0
(home-page "https://gitlab.com/dkg/python-sop") (home-page "https://gitlab.com/dkg/python-sop")
(synopsis "Stateless OpenPGP Command-Line Interface") (synopsis "Stateless OpenPGP Command-Line Interface")
(description (description