mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest-tornado: Use pyproject.
* gnu/packages/python-check.scm (python-pytest-tornado) [build-system]: Switch to pyproject. [native-inputs]: Add python-wheel. Change-Id: I3ce4fb379b78ac96c5bacc31cdedd892896d80af
This commit is contained in:
parent
159969a56b
commit
97a6185965
1 changed files with 16 additions and 19 deletions
|
@ -2807,25 +2807,22 @@ support and @code{subtests} fixture.")
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-tornado")
|
(name "python-pytest-tornado")
|
||||||
(version "0.8.1")
|
(version "0.8.1")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch) ;no tests in pypi archive
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch) ;no tests in pypi archive
|
||||||
(url "https://github.com/eugeniy/pytest-tornado")
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/eugeniy/pytest-tornado")
|
||||||
(file-name (git-file-name name version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"05hgq1m9g35kpc01im7ci1wd85xi1rdxnyms9izjg65c9976zn6x"))))
|
(base32 "05hgq1m9g35kpc01im7ci1wd85xi1rdxnyms9izjg65c9976zn6x"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
(list
|
(list python-wheel))
|
||||||
#:phases
|
(propagated-inputs
|
||||||
#~(modify-phases %standard-phases
|
(list python-pytest
|
||||||
(replace 'check
|
python-setuptools
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
python-tornado))
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv")))))))
|
|
||||||
(propagated-inputs (list python-pytest python-setuptools python-tornado))
|
|
||||||
(home-page "https://github.com/eugeniy/pytest-tornado")
|
(home-page "https://github.com/eugeniy/pytest-tornado")
|
||||||
(synopsis "Pytest plugin to ease testing tornado applications")
|
(synopsis "Pytest plugin to ease testing tornado applications")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue