diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2025-04-21 11:25:29 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2025-04-21 11:25:29 +0200 |
commit | 9ecefea718b76e50cec8326009fbb71c650e3d41 (patch) | |
tree | b9b4701bd7c1b193c0758c1e31d5ec82471f2a4e | |
parent | f9a7f2c8afdf33a36bd36177c0aa98d35331bf26 (diff) | |
download | guix-9ecefea718b76e50cec8326009fbb71c650e3d41.tar.gz guix-9ecefea718b76e50cec8326009fbb71c650e3d41.zip |
gnu: python-keyutils: Fix build with python 3.11.
* gnu/packages/python-crypto.scm (python-keyutils)[native-inputs]: Add
python-cython.
[arguments]: Add 'regenerate-c-file' phase.
Change-Id: I2e444ae105a4b7b114eab2842426983969d3f174
-rw-r--r-- | gnu/packages/python-crypto.scm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index fc57afb862..93ae312d5d 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2018, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org> ;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu> -;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net> +;;; Copyright © 2019, 2025 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org> @@ -1358,11 +1358,16 @@ with state-tracking and configuration abstractions.") "0lipygpzhwzzsq2k5imb1jgkmj8y4khxdwhzadjs3bd56g6bmkx9")))) (build-system python-build-system) (native-inputs - (list python-pytest python-pytest-runner)) + (list python-cython python-pytest python-pytest-runner)) (inputs (list keyutils)) (arguments - '(#:tests? #f)) + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'regenerate-c-file + (lambda _ + (invoke "cython" "keyutils/_keyutils.pyx")))))) (home-page "https://github.com/sassoftware/python-keyutils") (synopsis "Python bindings for keyutils") (description |