guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 42360fd11fbbc55fabbf8a2310be28d4a86084f5
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 16:21:06 2025 +0200

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 22820adda8..56dad43f4b 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.
-
-     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.")
+    (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.")
     (license license:expat)))
 
 (define-public python-qrcode

Reply via email to