diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-28 17:42:18 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:09 +0300 |
| commit | da4c49e45c5d8589b60080a1297a4ae2c99e37d1 (patch) | |
| tree | 4089ab5a7dbd3f4f91381ce1fda749cfe07c995f /gnu/packages | |
| parent | 906f8f5d81b6c0f1b291372873e1d511be60d6b8 (diff) | |
gnu: python-cryptography: Update to 42.0.5.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 42.0.5.
[native-inputs]: Add python-flit-core.
(python-cryptography): Update to 42.0.5.
[arguments]: Adjust 'disable-rust-extension-build phase.
[native-inputs]: Add python-certifi. Remove python-hypothesis,
python-subtests.
(python-cryptography-rust)[cargo-inputs]: Add rust-cfg-if-1,
rust-self-cell-1. Replace rust-pem-1 with 3, rust-pyo3-0.18 with 0.20.
Remove rust-ouroboros-0.15.
Change-Id: I1d17ee8ca60eaa65a86b2f6f8054391dda4201c8
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d25059c86b7..937750121bf 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> | 2 | ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> |
| 3 | ;;; Copyright © 2015-2021, 2023 Efraim Flashner <efraim@flashner.co.il> | 3 | ;;; Copyright © 2015-2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> |
| 4 | ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name> | 4 | ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name> |
| 5 | ;;; Copyright © 2016, 2017, 2020, 2022, 2023 Marius Bakke <marius@gnu.org> | 5 | ;;; Copyright © 2016, 2017, 2020, 2022, 2023 Marius Bakke <marius@gnu.org> |
| 6 | ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au> | 6 | ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au> |
| @@ -523,16 +523,18 @@ def contents() -> str: | |||
| 523 | (define-public python-cryptography-vectors | 523 | (define-public python-cryptography-vectors |
| 524 | (package | 524 | (package |
| 525 | (name "python-cryptography-vectors") | 525 | (name "python-cryptography-vectors") |
| 526 | (version "41.0.4") | 526 | (version "42.0.5") |
| 527 | (source | 527 | (source |
| 528 | (origin | 528 | (origin |
| 529 | (method url-fetch) | 529 | (method url-fetch) |
| 530 | (uri (pypi-uri "cryptography_vectors" version)) | 530 | (uri (pypi-uri "cryptography_vectors" version)) |
| 531 | (sha256 | 531 | (sha256 |
| 532 | (base32 | 532 | (base32 |
| 533 | "17m1azxfc3w0390jp9mkx1v0k3xfv4v1lrgch4hvbbm77s0z42j4")))) | 533 | "1lcflcvv0xjz5cyvf33iav1vd91qzjvl4w7h4qaxlcnbn3ixap2h")))) |
| 534 | (build-system pyproject-build-system) | 534 | (build-system pyproject-build-system) |
| 535 | (arguments (list #:tests? #f)) ; No tests included. | 535 | (arguments (list #:tests? #f)) ; No tests included. |
| 536 | (native-inputs | ||
| 537 | (list python-flit-core)) | ||
| 536 | (home-page "https://github.com/pyca/cryptography") | 538 | (home-page "https://github.com/pyca/cryptography") |
| 537 | (synopsis "Test vectors for the cryptography package") | 539 | (synopsis "Test vectors for the cryptography package") |
| 538 | (description | 540 | (description |
| @@ -543,14 +545,14 @@ def contents() -> str: | |||
| 543 | (define-public python-cryptography | 545 | (define-public python-cryptography |
| 544 | (package | 546 | (package |
| 545 | (name "python-cryptography") | 547 | (name "python-cryptography") |
| 546 | (version "41.0.4") | 548 | (version "42.0.5") |
| 547 | (source | 549 | (source |
| 548 | (origin | 550 | (origin |
| 549 | (method url-fetch) | 551 | (method url-fetch) |
| 550 | (uri (pypi-uri "cryptography" version)) | 552 | (uri (pypi-uri "cryptography" version)) |
| 551 | (sha256 | 553 | (sha256 |
| 552 | (base32 | 554 | (base32 |
| 553 | "06pm952pr6f31pzwh5fb68zryqyss0hg9cbggxm15z15844w7svz")))) | 555 | "1qdz0yk5smi0dnywbxmanccwizilmnzgbbihjpmpgm6zjpn7xq3g")))) |
| 554 | (build-system pyproject-build-system) | 556 | (build-system pyproject-build-system) |
| 555 | (arguments | 557 | (arguments |
| 556 | (list | 558 | (list |
| @@ -561,8 +563,7 @@ def contents() -> str: | |||
| 561 | ;; 'python-cryptography-rust', so there's no need | 563 | ;; 'python-cryptography-rust', so there's no need |
| 562 | ;; to build it here. | 564 | ;; to build it here. |
| 563 | (substitute* "pyproject.toml" | 565 | (substitute* "pyproject.toml" |
| 564 | ((".*setuptools-rust.*") "")) | 566 | (("\\s+\\\"setuptools-rust.*") "")))) |
| 565 | (delete-file "setup.py"))) | ||
| 566 | (add-before 'check 'symlink-rust-library | 567 | (add-before 'check 'symlink-rust-library |
| 567 | (lambda* (#:key inputs outputs #:allow-other-keys) | 568 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 568 | (symlink (search-input-file | 569 | (symlink (search-input-file |
| @@ -572,13 +573,12 @@ def contents() -> str: | |||
| 572 | "_rust.abi3.so"))))))) | 573 | "_rust.abi3.so"))))))) |
| 573 | 574 | ||
| 574 | (native-inputs | 575 | (native-inputs |
| 575 | (list python-cryptography-vectors | 576 | (list python-certifi |
| 576 | python-hypothesis | 577 | python-cryptography-vectors |
| 577 | python-iso8601 | 578 | python-iso8601 |
| 578 | python-pretend | 579 | python-pretend |
| 579 | python-pytest ;for subtests | 580 | python-pytest ;for subtests |
| 580 | python-pytest-benchmark | 581 | python-pytest-benchmark)) |
| 581 | python-pytest-subtests)) | ||
| 582 | (inputs (list python-cryptography-rust)) | 582 | (inputs (list python-cryptography-rust)) |
| 583 | (propagated-inputs (list python-cffi)) | 583 | (propagated-inputs (list python-cffi)) |
| 584 | (home-page "https://github.com/pyca/cryptography") | 584 | (home-page "https://github.com/pyca/cryptography") |
| @@ -632,14 +632,15 @@ ciphers, message digests and key derivation functions.") | |||
| 632 | #:cargo-inputs | 632 | #:cargo-inputs |
| 633 | `(("rust-asn1" ,rust-asn1-0.15) | 633 | `(("rust-asn1" ,rust-asn1-0.15) |
| 634 | ("rust-cc" ,rust-cc-1) | 634 | ("rust-cc" ,rust-cc-1) |
| 635 | ("rust-cfg-if" ,rust-cfg-if-1) | ||
| 635 | ("rust-foreign-types" ,rust-foreign-types-0.3) | 636 | ("rust-foreign-types" ,rust-foreign-types-0.3) |
| 636 | ("rust-foreign-types-shared" ,rust-foreign-types-shared-0.1) | 637 | ("rust-foreign-types-shared" ,rust-foreign-types-shared-0.1) |
| 637 | ("rust-once-cell" ,rust-once-cell-1) | 638 | ("rust-once-cell" ,rust-once-cell-1) |
| 638 | ("rust-openssl" ,rust-openssl-0.10) | 639 | ("rust-openssl" ,rust-openssl-0.10) |
| 639 | ("rust-openssl-sys" ,rust-openssl-sys-0.9) | 640 | ("rust-openssl-sys" ,rust-openssl-sys-0.9) |
| 640 | ("rust-ouroboros" ,rust-ouroboros-0.15) | 641 | ("rust-pem" ,rust-pem-3) |
| 641 | ("rust-pem" ,rust-pem-1) | 642 | ("rust-pyo3" ,rust-pyo3-0.20) |
| 642 | ("rust-pyo3" ,rust-pyo3-0.18)))) | 643 | ("rust-self-cell" ,rust-self-cell-1)))) |
| 643 | (native-inputs (list pkg-config python python-cffi)) | 644 | (native-inputs (list pkg-config python python-cffi)) |
| 644 | ;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs | 645 | ;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs |
| 645 | ;; doesn't honor propagated-inputs. | 646 | ;; doesn't honor propagated-inputs. |
