diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-19 16:03:48 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-19 16:03:53 +0100 |
| commit | 3b6f451199571d44e92715333b20630c484b69f4 (patch) | |
| tree | ee8910eeb936be9d223d4a36f3253a080429907a | |
| parent | 876f424c295a0e55fce60050398de7b4746d5f00 (diff) | |
gnu: python-yamlcore: Fix tests.
* gnu/packages/python-xyz.scm (python-yamlcore):
[phases]{fix-test-file-names}: New phase.
[native-inputs]: Add python-pytest.
Change-Id: I0da9eae7fb7d78d4cd99cd9aef4a7f73a208ad08
| -rw-r--r-- | gnu/packages/python-xyz.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1aa5f07359..cb7fa76cec 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -41676,7 +41676,15 @@ are easily incorporated into the library with a minimum amount of work.") (sha256 (base32 "03y7fabyky67cw4g71xcbwfdal79wxcnmr303qyllz21x2d4s5ac")))) (build-system pyproject-build-system) - (native-inputs (list python-setuptools)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-test-file-names + (lambda _ + (rename-file "tests/test-schema.py" "tests/test_schema.py") + (rename-file "tests/test-yaml.py" "tests/test_yaml.py")))))) + (native-inputs (list python-pytest python-setuptools)) (inputs (list python-pyyaml)) (home-page "https://github.com/perlpunk/pyyaml-core") (synopsis "YAML 1.2 support for PyYAML") |
