~ruther/guix-local

3a07c9ef03731158506e746d4b2c0c970a7ed315 — Sharlatan Hellseher 1 year, 1 month ago d7754f3
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
1 files changed, 13 insertions(+), 6 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +13 -6
@@ 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