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
This commit is contained in:
Ricardo Wurmus 2025-01-27 09:17:13 +01:00 committed by Andreas Enge
parent 815a70440f
commit f22b9b9815
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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)
(native-inputs
(list python-nose))
(propagated-inputs
(list python-bcrypt))
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(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"))))))
(lambda _
(setenv "PYTHON_EGG_CACHE" "/tmp"))))))
(native-inputs
(list python-nose python-setuptools python-wheel))
(propagated-inputs
(list python-argon2-cffi python-bcrypt python-cryptography))
(home-page "https://bitbucket.org/ecollins/passlib")
(synopsis "Comprehensive password hashing framework")
(description