summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-27 18:37:50 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-27 19:41:28 +0000
commit60745b6fa1618e2674259c2b1811f260ce39ac94 (patch)
treed17561aff71d47c50d82d4d010a52e191a65ab9b /gnu/packages/python-check.scm
parent97f62ca316ae6a52a7aa0a7bb12beace4e2647a5 (diff)
gnu: python-pytest-tornasync: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-tornasync): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop all. [propagated-inputs]: Remove python-pytest. [native-inputs]: Add python-pytest-bootstrap and python-setuptools. Change-Id: I78cca7bbbe4ba233fd24c3b986174a823d288443
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm26
1 files changed, 11 insertions, 15 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 332f6c27665..ea2a0006f56 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3938,23 +3938,19 @@ simplify testing of asynchronous tornado applications.")
(version "0.6.0.post2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pytest-tornasync" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eukaryote/pytest-tornasync")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0pdyddbzppkfqwa7g17sdfl4w2v1hgsky78l8f4c1rx2a7cvd0fp"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #false ; TODO: fails at "from test import MESSAGE, PAUSE_TIME"
- #:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "--verbose")))))))
+ (base32 "0iwaxvaxx9v0s1sx4kh90kpf1krzwqh73sg6lv3f2gvh0wjym85f"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest-bootstrap
+ python-setuptools))
(propagated-inputs
- (list python-pytest python-tornado-6))
+ (list python-tornado-6))
(home-page "https://github.com/eukaryote/pytest-tornasync")
(synopsis "Pytest plugin for testing Tornado code")
(description