diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-25 16:21:06 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 00:05:47 +0000 |
| commit | 42360fd11fbbc55fabbf8a2310be28d4a86084f5 (patch) | |
| tree | 8592fb7f655a3203da080f6836d2a99fff1769de /gnu/packages/python-xyz.scm | |
| parent | aeb2454a6259fe347fafce2bdece22ceed841c2c (diff) | |
gnu: python-pbkdf2: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pbkdf2):
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-backend, #:test-flags>.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I82678c91cf5cd8633954546bfe660648dad64363
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 22820adda8d..56dad43f4b4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24200,25 +24200,24 @@ creating a tag.") (method url-fetch) (uri (pypi-uri "pbkdf2" version)) (sha256 - (base32 - "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc")))) - (build-system python-build-system) + (base32 "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "test/test_pbkdf2.py")))))) + (list + #:test-backend #~'custom + #:test-flags #~(list "test/test_pbkdf2.py"))) + (native-inputs (list python-setuptools)) (home-page "https://www.dlitz.net/software/python-pbkdf2/") (synopsis "Password-based key derivation") - (description "This module implements the password-based key derivation - function, PBKDF2, specified in RSA PKCS#5 v2.0. + (description + "This module implements the password-based key derivation function, +PBKDF2, specified in RSA PKCS#5 v2.0. - PKCS#5 v2.0 Password-Based Key Derivation is a key derivation function which - is part of the RSA Public Key Cryptography Standards series. The provided - implementation takes a password or a passphrase and a salt value (and - optionally a iteration count, a digest module, and a MAC module) and provides - a file-like object from which an arbitrarily-sized key can be read.") +PKCS#5 v2.0 Password-Based Key Derivation is a key derivation function which +is part of the RSA Public Key Cryptography Standards series. The provided +implementation takes a password or a passphrase and a salt value (and +optionally a iteration count, a digest module, and a MAC module) and provides +a file-like object from which an arbitrarily-sized key can be read.") (license license:expat))) (define-public python-qrcode |
