[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
79/361: gnu: python-argon2-cffi: Update to 21.1.0.
From: |
guix-commits |
Subject: |
79/361: gnu: python-argon2-cffi: Update to 21.1.0. |
Date: |
Thu, 21 Nov 2024 06:28:53 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 3a0fbbac6d91c7551bbad2be9304b4a069853ba5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 18:24:17 2024 +0200
gnu: python-argon2-cffi: Update to 21.1.0.
* gnu/packages/python-crypto.scm (python-argon2-cffi): Update to 21.1.0.
[source]: Simplify snippet.
[arguments]: Do not quote list; respect TESTS? in 'check phase.
[propagated-inputs]: Add python-typing-extensions; remove python-six.
Change-Id: Ifeee408dbcb43ff435cc1e9563df07f89df3ffb2
---
gnu/packages/python-crypto.scm | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index d9025d730b..9a0949a1cc 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1571,36 +1571,39 @@ I/O-free core, and integration modules for different
event loops.")
(define-public python-argon2-cffi
(package
(name "python-argon2-cffi")
- (version "20.1.0")
+ (version "21.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "argon2-cffi" version))
(sha256
(base32
- "0zgr4mnnm0p4i99023safb0qb8cgvl202nly1rvylk2b7qnrn0nq"))
+ "0w5q5cdwmzpjgw3bl9f6b9a5xai87qvx3jryra9gd8fi0c8vc47p"))
(modules '((guix build utils)))
- (snippet '(begin (delete-file-recursively "extras") #t))))
+ (snippet '(delete-file-recursively "extras"))))
+ ;; TODO: with pyproject-build-system the install phase fails.
(build-system python-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
+ (list
+ #:phases
+ '(modify-phases %standard-phases
(replace 'build
(lambda _
(setenv "ARGON2_CFFI_USE_SYSTEM" "1")
(invoke "python" "setup.py" "build")))
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest")
- (invoke "python" "-m" "argon2" "--help")
- ;; see tox.ini
- (invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p"
"1"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")
+ (invoke "python" "-m" "argon2" "--help")
+ ;; see tox.ini
+ (invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p"
"1")))))))
(propagated-inputs
- (list python-cffi python-six))
+ (list python-cffi python-typing-extensions))
(inputs (list argon2))
(native-inputs
- (list python-hypothesis python-pytest))
+ (list python-hypothesis
+ python-pytest))
(home-page "https://argon2-cffi.readthedocs.io/")
(synopsis "Secure Password Hashes for Python")
(description
- 188/361: gnu: python-nbstripout: Move to pyproject-build-system., (continued)
- 188/361: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/11/21
- 201/361: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/21
- 209/361: gnu: python-fenics-dijitso: Move to pyproject-build-system., guix-commits, 2024/11/21
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/21
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/21
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/21
- 220/361: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/11/21
- 231/361: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/21
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/21
- 84/361: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/21
- 79/361: gnu: python-argon2-cffi: Update to 21.1.0.,
guix-commits <=
- 77/361: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/11/21
- 72/361: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/21
- 76/361: gnu: python-attrs: Update to 23.2.0., guix-commits, 2024/11/21
- 95/361: gnu: python-notebook: Update to 6.5.7., guix-commits, 2024/11/21
- 100/361: gnu: python-tabulate: Add Setuptools and Wheel., guix-commits, 2024/11/21
- 103/361: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/11/21
- 107/361: gnu: Add python-jsonschema-path., guix-commits, 2024/11/21
- 130/361: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/21
- 114/361: gnu: python-sphinx-pytest: Update to 0.2.0., guix-commits, 2024/11/21
- 122/361: gnu: python-lsp-jsonrpc: Update to 1.1.2., guix-commits, 2024/11/21