diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-05-07 18:24:17 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:18:39 +0000 |
| commit | 7347fb453afd6083fee2130f85ed53b590f31ecb (patch) | |
| tree | 9914d8d82e76c981d0cae91c59ced140ca9ab158 /gnu/packages/python-crypto.scm | |
| parent | 699bc5db6b683783e6c07f0051269c345c46ef2d (diff) | |
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
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 56242243579..3203f4dd6c4 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -1592,36 +1592,39 @@ I/O-free core, and integration modules for different event loops.") | |||
| 1592 | (define-public python-argon2-cffi | 1592 | (define-public python-argon2-cffi |
| 1593 | (package | 1593 | (package |
| 1594 | (name "python-argon2-cffi") | 1594 | (name "python-argon2-cffi") |
| 1595 | (version "20.1.0") | 1595 | (version "21.1.0") |
| 1596 | (source | 1596 | (source |
| 1597 | (origin | 1597 | (origin |
| 1598 | (method url-fetch) | 1598 | (method url-fetch) |
| 1599 | (uri (pypi-uri "argon2-cffi" version)) | 1599 | (uri (pypi-uri "argon2-cffi" version)) |
| 1600 | (sha256 | 1600 | (sha256 |
| 1601 | (base32 | 1601 | (base32 |
| 1602 | "0zgr4mnnm0p4i99023safb0qb8cgvl202nly1rvylk2b7qnrn0nq")) | 1602 | "0w5q5cdwmzpjgw3bl9f6b9a5xai87qvx3jryra9gd8fi0c8vc47p")) |
| 1603 | (modules '((guix build utils))) | 1603 | (modules '((guix build utils))) |
| 1604 | (snippet '(begin (delete-file-recursively "extras") #t)))) | 1604 | (snippet '(delete-file-recursively "extras")))) |
| 1605 | ;; TODO: with pyproject-build-system the install phase fails. | ||
| 1605 | (build-system python-build-system) | 1606 | (build-system python-build-system) |
| 1606 | (arguments | 1607 | (arguments |
| 1607 | '(#:phases | 1608 | (list |
| 1608 | (modify-phases %standard-phases | 1609 | #:phases |
| 1610 | '(modify-phases %standard-phases | ||
| 1609 | (replace 'build | 1611 | (replace 'build |
| 1610 | (lambda _ | 1612 | (lambda _ |
| 1611 | (setenv "ARGON2_CFFI_USE_SYSTEM" "1") | 1613 | (setenv "ARGON2_CFFI_USE_SYSTEM" "1") |
| 1612 | (invoke "python" "setup.py" "build"))) | 1614 | (invoke "python" "setup.py" "build"))) |
| 1613 | (replace 'check | 1615 | (replace 'check |
| 1614 | (lambda* (#:key inputs outputs #:allow-other-keys) | 1616 | (lambda* (#:key tests? #:allow-other-keys) |
| 1615 | (add-installed-pythonpath inputs outputs) | 1617 | (when tests? |
| 1616 | (invoke "pytest") | 1618 | (invoke "pytest") |
| 1617 | (invoke "python" "-m" "argon2" "--help") | 1619 | (invoke "python" "-m" "argon2" "--help") |
| 1618 | ;; see tox.ini | 1620 | ;; see tox.ini |
| 1619 | (invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p" "1")))))) | 1621 | (invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p" "1"))))))) |
| 1620 | (propagated-inputs | 1622 | (propagated-inputs |
| 1621 | (list python-cffi python-six)) | 1623 | (list python-cffi python-typing-extensions)) |
| 1622 | (inputs (list argon2)) | 1624 | (inputs (list argon2)) |
| 1623 | (native-inputs | 1625 | (native-inputs |
| 1624 | (list python-hypothesis python-pytest)) | 1626 | (list python-hypothesis |
| 1627 | python-pytest)) | ||
| 1625 | (home-page "https://argon2-cffi.readthedocs.io/") | 1628 | (home-page "https://argon2-cffi.readthedocs.io/") |
| 1626 | (synopsis "Secure Password Hashes for Python") | 1629 | (synopsis "Secure Password Hashes for Python") |
| 1627 | (description | 1630 | (description |
