diff options
| author | Marius Bakke <marius@gnu.org> | 2023-09-10 04:04:38 +0800 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2023-09-22 01:29:17 +0800 |
| commit | e592513d394735730d925ee4be6486fc16bb22b1 (patch) | |
| tree | a3814d7aa754c1cb6d5c53988c7cacd3c54b7a11 /gnu/packages | |
| parent | 146cf4c306ac2d534a0b35af03112c883f160390 (diff) | |
gnu: python-certauth: Fix test failure with newer PyOpenSSL.
* gnu/packages/python-crypto.scm (python-certauth)[arguments]: New field.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index e6483996fd8..1ff742717cd 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -2,7 +2,7 @@ | |||
| 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 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 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> |
| 7 | ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com> | 7 | ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com> |
| 8 | ;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com> | 8 | ;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com> |
| @@ -441,6 +441,16 @@ blake3, a cryptographic hash function.") | |||
| 441 | (base32 | 441 | (base32 |
| 442 | "1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq")))) | 442 | "1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq")))) |
| 443 | (build-system python-build-system) | 443 | (build-system python-build-system) |
| 444 | (arguments | ||
| 445 | (list #:phases | ||
| 446 | #~(modify-phases %standard-phases | ||
| 447 | (add-after 'unpack 'adjust-test | ||
| 448 | (lambda _ | ||
| 449 | ;; Newer PyOpenSSL no longer separates extensions with | ||
| 450 | ;; newline (this can be removed for >1.3.0). | ||
| 451 | (substitute* "test/test_certauth.py" | ||
| 452 | (("7334\\\\n, DNS") | ||
| 453 | "7334, DNS"))))))) | ||
| 444 | (propagated-inputs | 454 | (propagated-inputs |
| 445 | (list python-pyopenssl python-tldextract)) | 455 | (list python-pyopenssl python-tldextract)) |
| 446 | (native-inputs | 456 | (native-inputs |
