~ruther/guix-local

4275727ac5ab29c833fd6306d153cdc4e9164dd6 — Efraim Flashner 3 years ago 54da48e
gnu: python-natsort: Honor the #:tests? flag.

* gnu/packages/python-xyz.scm (python-natsort)[arguments]: Adjust the
custom 'check phase to honor the #:tests? flag.
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +3 -2
@@ 18195,8 18195,9 @@ JSON) codec.")
     `(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda _
             (invoke "pytest" "-v"))))))
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "pytest" "-v")))))))
    (native-inputs
     (list python-hypothesis python-pytest-cov python-pytest-mock
           python-pytest))