guix_mirror_bot pushed a commit to branch master
in repository guix.
commit fc194e7755f8f3dcf5fc71b5385a2ed2221a32e7
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 31 23:37:51 2025 +0200
gnu: python-pytest-isort: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-isort):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-poetry-core.
[home-page]: Refresh.
Change-Id: I712fcdd2bb659b5f9d2a8fbfca2d8cd0d2cdb127
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-check.scm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index c182ca93e4..37acecc886 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2495,16 +2495,17 @@ requests to be replied to with user provided
responses.")
(version "3.1.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pytest_isort" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stephrdev/pytest-isort")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0v0qa5l22y3v0nfkpvghbinzyj2rh4f54k871lrp992lbvf02y06"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f)) ; No tests in PyPi tarball.
- (propagated-inputs
- (list python-isort python-pytest))
- (home-page "https://github.com/moccu/pytest-isort/")
+ (base32 "07hj2z2jsshk0m60j0w10q3yzis69714k7qbw2f0cprc5li9b06n"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-isort python-pytest))
+ (native-inputs (list python-poetry-core))
+ (home-page "https://github.com/stephrdev/pytest-isort")
(synopsis "Pytest plugin to check import ordering using isort")
(description
"This package provides a pytest plugin to check import ordering using