From e9d4447f0baf24452934db143ffd72941bc68b7d Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Thu, 26 Jun 2025 11:26:31 -0300 Subject: gnu: python-pytest-cookies: Use pyproject-build-system. * gnu/packages/python-check.scm (python-pytest-cookies)[build-system]: Use pyproject-build-system. [arguments]<#:phases>: Do not override the 'check' phase. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Iafa4ac529fced3debe3eecb2615073fca945e77e --- gnu/packages/python-check.scm | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 63678a1d5fa..5d96a571416 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2020, 2022 Julien Lepiller ;;; Copyright © 2020 Matthew James Kraai ;;; Copyright © 2020 Edouard Klein -;;; Copyright © 2020, 2021 Vinicius Monego +;;; Copyright © 2020, 2021, 2025 Vinicius Monego ;;; Copyright © 2020 Tanguy Le Carrour ;;; Copyright © 2021-2025 Sharlatan Hellseher ;;; Copyright © 2021 Brendan Tildesley @@ -1991,22 +1991,15 @@ interfaces with pytest.") (version "0.7.0") (source (origin - ;; No tests in the PyPI tarball. - (method git-fetch) + (method git-fetch) ; no tests in PyPI (uri (git-reference (url "https://github.com/hackebrot/pytest-cookies") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1x7ny6mx1siy9law1cv1i63nvv9ds2g1dlagm40l8qymxry43mjn")))) - (build-system python-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) - (native-inputs (list python-pytest)) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-cookiecutter)) (home-page "https://github.com/hackebrot/pytest-cookies") (synopsis "Pytest plugin for Cookiecutter templates") -- cgit v1.3