summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-27 09:17:13 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:10 +0200
commitf22b9b98158bcce5d0ceb3c00c01cae94d2e0d06 (patch)
treea079bb5c6bf81741b9e8e15c75c752171812437b
parent815a70440fdc31ded1fc3c056f1a7b1503e3d78a (diff)
gnu: python-passlib: Use pyproject-build-system.
* gnu/packages/python-crypto.scm (python-passlib)[build-system]: Use pyproject-build-system. [native-inputs]: Add python-setuptools and python-wheel. [propagated-inputs]: Add python-argon2-cffi and python-cryptography. Change-Id: If443497990b35768650f368f0368d9c0f648cca9
-rw-r--r--gnu/packages/python-crypto.scm20
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index cbb3ae3088..5cb70a01e2 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -142,17 +142,19 @@ Password Scheme\"} by Niels Provos and David Mazieres.")
(uri (pypi-uri "passlib" version))
(sha256
(base32 "015y5qaw9qnxr29lg60dml1g5rbqd4586wy5n8m41ib55gvm1zfy"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-PYTHON_EGG_CACHE
+ ;; Some tests require access to "$HOME/.cython".
+ (lambda _
+ (setenv "PYTHON_EGG_CACHE" "/tmp"))))))
(native-inputs
- (list python-nose))
+ (list python-nose python-setuptools python-wheel))
(propagated-inputs
- (list python-bcrypt))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-PYTHON_EGG_CACHE
- ;; Some tests require access to "$HOME/.cython".
- (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp"))))))
+ (list python-argon2-cffi python-bcrypt python-cryptography))
(home-page "https://bitbucket.org/ecollins/passlib")
(synopsis "Comprehensive password hashing framework")
(description