diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-03-18 13:41:40 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:16 +0200 |
| commit | ce8db9583b469b31e66ed640bff9ac6986430e90 (patch) | |
| tree | c402f2f18e94ed4f2f7f79e28207adfe8a34ef17 /gnu/packages/python-xyz.scm | |
| parent | f7ac711df555c7de8a59ca50b8a568d4ec3e9674 (diff) | |
gnu: python-yte: Update to 1.7.0.
* gnu/packages/python-xyz.scm (python-yte): Update to 1.7.0.
[build-system]: Use pyproject-build-system.
[arguments]: Replace 'check phase.
[propagated-inputs]: Add python-dpath.
[native-inputs]: Add python-numpy, python-poetry-core, and python-pytest.
Change-Id: If1d4e8e0289d9a36205353ad2c9bb345076e4ff7
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4b35a4d901..a1f626c261 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15678,20 +15678,29 @@ function signatures.") (define-public python-yte (package (name "python-yte") - (version "1.2.0") + (version "1.7.0") (source (origin - (method url-fetch) - (uri (pypi-uri "yte" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/koesterlab/yte") + (commit (string-append "v" version)))) (sha256 - (base32 "07hm1warpqi4ifqgkaz5sg887x4a44yhxafmpf835ywnpchg4s03")))) - (build-system python-build-system) + (base32 "01hxl47bfb0jp2rh6qb6wrm6m8p5rfk21gksqb8qxxv9a037dnsv")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases + (list + #:phases + '(modify-phases %standard-phases (add-after 'unpack 'set-HOME - (lambda _ (setenv "HOME" "/tmp")))))) - (propagated-inputs (list python-plac python-pyyaml)) + (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"))))))))) + (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") (synopsis "YAML template engine with Python expressions") (description |
