summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-26 01:46:36 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-03 08:01:06 +0100
commit4e36a25e107970f49b6161a071362764e0038f94 (patch)
treefe0395465584d70b6c105f00cd7db4ca3456e61c /gnu/packages/python-crypto.scm
parentf7088bc19f744f383a7470ee4b48b0bbb34689e3 (diff)
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>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 732321089f0..f1709ac9f0a 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1703,17 +1703,18 @@ interacting with a U2F device over USB.")
(name "python-sop")
(version "0.2.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "sop" version))
- (sha256
- (base32
- "0gljyjsdn6hdmwlwwb5g5s0c031p6izamvfxp0d39x60af8k5jyf"))))
- (build-system python-build-system)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/dkg/python-sop")
+ (commit (string-append "sop-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "071n7ifi634ai2xaddxdjiscp4v215r48d9i3v24mpz23sh8ymjn"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:tests? #f)) ; There are no tests, and unittest throws an error trying
- ; to find some:
- ; TypeError: don't know how to make test from: 0.2.0
+ (list #:tests? #f)) ; XXX: No tests upstream.
+ (native-inputs (list python-setuptools python-wheel))
(home-page "https://gitlab.com/dkg/python-sop")
(synopsis "Stateless OpenPGP Command-Line Interface")
(description