3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: python-semver: Fix build, again.

This reverts "gnu: python-semver: Fix build." (commit
b4e1ca0675) 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.
This commit is contained in:
Maxim Cournoyer 2020-11-18 09:52:19 -05:00
parent 4c9eed9c56
commit 613e1ee5a8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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