diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-13 10:51:08 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-13 12:48:48 +0100 |
| commit | 3a07c9ef03731158506e746d4b2c0c970a7ed315 (patch) | |
| tree | bf818894aff012e9a345eda8af116af2d4a9d311 /gnu/packages/python-xyz.scm | |
| parent | d7754f3b9c258008bd63fbfad0ad16f9111a333e (diff) | |
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] <tests?>: They are provided.
<phases>: Use custom 'check.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-setuptools-next.
Change-Id: I2c9e87bff93b91d386919f4467bc7b52b662222d
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6f0a1b3ac0..60f49ee5ac 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 |
