diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-11-18 09:52:19 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-11-18 09:57:21 -0500 |
commit | 613e1ee5a8cebc2a67136f4669436b12439be363 (patch) | |
tree | 2678807aa5621913e040401b01d13fcb80d0cd3e /gnu/packages | |
parent | 4c9eed9c5640ac5807630394c3b48fe331077c0b (diff) | |
download | guix-patches-613e1ee5a8cebc2a67136f4669436b12439be363.tar guix-patches-613e1ee5a8cebc2a67136f4669436b12439be363.tar.gz |
gnu: python-semver: Fix build, again.
This reverts "gnu: python-semver: Fix build." (commit
b4e1ca0675571f3cda2a00afb3a2f0f01ff500f9) and overrides the check phase.
* gnu/packages/python-xyz.scm (python-semver)[phases]: Override the 'check
phase.
[native-inputs]: Remove all existing native-inputs. Add python-pytest.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-xyz.scm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8e579368fd..629826cd48 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17190,14 +17190,14 @@ such as figshare or Zenodo.") (base32 "183kg1rhzz3hqizvphkd8hlbf1zxfx8737zhfkmqzxi71jmdw7pd")))) (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (delete-file "setup.cfg") + (invoke "py.test")))))) (native-inputs - `(("python-appdirs" ,python-appdirs) - ("python-distlib" ,python-distlib) - ("python-importlib-metadata" ,python-importlib-metadata) - ("python-filelock" ,python-filelock) - ("python-six" ,python-six) - ("python-tox" ,python-tox) - ("python-virtualenv" ,python-virtualenv))) + `(("python-pytest" ,python-pytest))) (home-page "https://github.com/k-bx/python-semver") (synopsis "Python helper for Semantic Versioning") (description "This package provides a Python library for |