From b8fe9ddff6d931a06f1724f029eb4d06369f5097 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Sep 2025 15:33:43 +0100 Subject: [PATCH] gnu: python-fastbencode: Update to 0.3.2. * gnu/packages/python-xyz.scm (python-fastbencode): Update to 0.3.2. [arguments] : Use 'unittest. [native-inputs]: Remove python-cython-3 and python-wheel; add python-cython. Change-Id: Ie945290b90ef43bf228b780ca2413397da4211a1 --- gnu/packages/python-xyz.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29ecb619579..acad29bd687 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19160,7 +19160,7 @@ JSON Reference and JSON Pointer.") (define-public python-fastbencode (package (name "python-fastbencode") - (version "0.3.1") + (version "0.3.2") ;the last non Rust version (source (origin (method url-fetch) @@ -19169,9 +19169,15 @@ JSON Reference and JSON Pointer.") ;; Delete pre-generated Cython C files. (snippet '(for-each delete-file (find-files "." "\\.c$"))) (sha256 - (base32 "15x1in22gwam7wwga5lbj1pd8hc9jk741pia3pv1m29n2xywpq2z")))) + (base32 "1daal7xgsl2sjxq8pcilcas9wd9j9796wd4rlkhrvv5h0k2k4k53")))) (build-system pyproject-build-system) - (native-inputs (list python-cython-3 python-setuptools python-wheel)) + (arguments + (list + #:test-backend #~'unittest + #:test-flags #~(list "fastbencode.tests.test_suite"))) + (native-inputs + (list python-cython + python-setuptools)) (home-page "https://github.com/breezy-team/fastbencode") (synopsis "Python Bencode (de)serializer with optional fast C extensions") (description