From 4edfdcff5a7b19d90febb5ba9c06fbe75d3c93d7 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 19 Jul 2025 06:47:24 +0800 Subject: [PATCH] gnu: python-axolotl-curve25519: Fix build. * gnu/packages/python-crypto.scm (python-axolotl-curve25519)[build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools and python-wheel. [arguments]: Add relax-gcc-14-strictness phase. Change-Id: Ibe340ca2db6bd7a73a6393268ee96aa048224b2d Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-crypto.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d004f6a69e..43c781fb81 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 Antero Mejr ;;; Copyright © 2023 Juliana Sims -;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2023, 2025 Zheng Junjie ;;; Copyright © 2024 jgart ;;; Copyright © 2025 Sharlatan Hellseher ;;; @@ -680,7 +680,16 @@ OpenSSL library.") (sha256 (base32 "18v3rfyv7xi26fb97nw1xc0l6x8wi0i4xj8dlq4gblpbjxiac187")))) - (build-system python-build-system) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wheel)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-append "-g -O2 -Wno-error=int-conversion"))))))) (home-page "https://github.com/tgalal/python-axolotl-curve25519") (synopsis "Python wrapper for curve25519 library") (description "This is a python wrapper for the curve25519 library