guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 16df8904e187f9530f69af6ff36e8075394f15bf
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Aug 26 01:50:51 2025 +0200

    gnu: python-zxcvbn: Switch to pyproject.
    
    * gnu/packages/python-crypto.scm (python-zxcvbn):
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools, python-wheel.
    [source, description]: Improve style.
    
    Change-Id: Id8e5ced7a074af5c8518c34a1d584740fdc2cafe
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-crypto.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index abc8a729f1..1003d86fc4 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1760,22 +1760,24 @@ speed but without C extensions.")
   (package
     (name "python-zxcvbn")
     (version "4.4.28")
-    (source (origin
-              (method git-fetch)        ;for tests
-              (uri (git-reference
-                    (url "https://github.com/dwolfhub/zxcvbn-python";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0xzlsqc9h0llfy19w4m39jgfcnvzqviv8jhgwn3r75kip97i5mvs"))))
-    (build-system python-build-system)
+    (source
+     (origin
+       (method git-fetch) ;for tests
+       (uri (git-reference
+             (url "https://github.com/dwolfhub/zxcvbn-python";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0xzlsqc9h0llfy19w4m39jgfcnvzqviv8jhgwn3r75kip97i5mvs"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools python-wheel))
     (home-page "https://github.com/dwolfhub/zxcvbn-python";)
     (synopsis "Realistic password strength estimator Python library")
-    (description "This is a Python implementation of the @code{zxcvbn} library
-created at Dropbox.  The original library, written for JavaScript, can be
-found @url{https://github.com/dropbox/zxcvbn, here}.  This port includes
-features such as:
+    (description
+     "This is a Python implementation of the @code{zxcvbn} library created at
+Dropbox.  The original library, written for JavaScript, can be found
+@url{https://github.com/dropbox/zxcvbn, here}.  This port includes features
+such as:
 @enumerate
 @item Accepts user data to be added to the dictionaries that are tested
 against (name, birthdate, etc.)

Reply via email to