From 3a07c9ef03731158506e746d4b2c0c970a7ed315 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 13 Aug 2025 10:51:08 +0100 Subject: [PATCH] gnu: python-ppft: Update to 1.7.7, enable tests. * gnu/packages/python-xyz.scm (python-ppft): Update to 1.7.7. Enable tests. [build-system]: Use pyproject. [arguments] : They are provided. : Use custom 'check. [propagated-inputs]: Remove python-six. [native-inputs]: Add python-setuptools-next. Change-Id: I2c9e87bff93b91d386919f4467bc7b52b662222d --- gnu/packages/python-xyz.scm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6f0a1b3ac0c1598523638d02c3ff10081ef4889e..60f49ee5ac16f521bb09bbb2d527c9d7f2e880ce 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32131,18 +32131,25 @@ native API of @code{python-argparse}.") (define-public python-ppft (package (name "python-ppft") - (version "1.6.6.1") + (version "1.7.7") (source (origin (method url-fetch) (uri (pypi-uri "ppft" version)) (sha256 (base32 - "1z1invkhszc5d2mvgr221v7cszzifcc77mz0pv3wjp6x5q2768cy")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; there are none - (propagated-inputs - (list python-six)) + "15hvw39m2r3chm8zbqgkld0m1cl049rxidln4a6jnk72rx479xzk")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (invoke "python" "./ppft/tests/__main__.py"))))))) + (native-inputs + (list python-setuptools-next)) (home-page "https://pypi.org/project/ppft/") (synopsis "Fork of Parallel Python") (description