From fc194e7755f8f3dcf5fc71b5385a2ed2221a32e7 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 31 Jul 2025 23:37:51 +0200 Subject: 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 --- gnu/packages/python-check.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c182ca93e42..37acecc8867 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 -- cgit v1.3