~ruther/guix-local

e78a73d5dc973f2fa5d682c44fbef172ecde363a — Sharlatan Hellseher 6 months ago 34781d2
gnu: python-yte: Update to 1.8.1.

* gnu/packages/python-xyz.scm (python-yte): Update to 1.8.1.
[arguments] <tests-flags>: Provide test file here.
<phases>: Use default 'check.

Change-Id: If6e9985fe43b709a5fcc5aff17bc2f4224e2530c
1 files changed, 4 insertions(+), 8 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +4 -8
@@ 16319,7 16319,7 @@ function signatures.")
(define-public python-yte
  (package
    (name "python-yte")
    (version "1.7.0")
    (version "1.8.1")    ;TODO higher versions depend on uv_build
    (source
     (origin
       (method git-fetch)


@@ 16327,19 16327,15 @@ function signatures.")
             (url "https://github.com/koesterlab/yte")
             (commit (string-append "v" version))))
       (sha256
        (base32 "01hxl47bfb0jp2rh6qb6wrm6m8p5rfk21gksqb8qxxv9a037dnsv"))))
        (base32 "05qrmjf9x6wvy8976kqiy3axk3im8jbc8hpc1yrbidm099vik0ni"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags #~(list "tests.py")
      #:phases
      '(modify-phases %standard-phases
         (add-after 'unpack 'set-HOME
           (lambda _ (setenv "HOME" "/tmp")))
         (replace 'check
           (lambda* (#:key tests? test-flags #:allow-other-keys)
             (when tests?
               (apply invoke "pytest"
                      (append test-flags (list "tests.py")))))))))
           (lambda _ (setenv "HOME" "/tmp"))))))
    (propagated-inputs (list python-dpath python-plac python-pyyaml))
    (native-inputs (list python-numpy python-poetry-core python-pytest))
    (home-page "https://github.com/koesterlab/yte")