From d402e5777ea46d080283f25550adc4e3b269b5e1 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Thu, 26 Jun 2025 11:22:42 -0300 Subject: [PATCH] gnu: python-cookiecutter: Use pyproject-build-system. * gnu/packages/python-xyz.scm (python-cookiecutter)[build-system]: Use pyproject-build-system. [arguments]<#:phases>: Do not override the 'check' phase. [native-inputs]: Replace git by git-minimal. Add python-setuptools, python-wheel. Change-Id: I7b36db664e4292366fe59ac269f9614383e41d28 --- gnu/packages/python-xyz.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9bb97ce832..84213ae508 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21053,7 +21053,7 @@ designed to work across multiple versions of Python.") (uri (pypi-uri "cookiecutter" version)) (sha256 (base32 "0762882zrvf3sslr9r7v8wkdwjckhm2clj4d831gvx54kqbgh8fv")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases @@ -21068,17 +21068,15 @@ designed to work across multiple versions of Python.") (substitute* "tests/test_hooks.py" (("/bin/bash") (string-append #$(this-package-native-input - "bash-minimal") "/bin/bash"))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) + "bash-minimal") "/bin/bash")))))))) (native-inputs (list bash-minimal - git + git-minimal python-freezegun python-pytest python-pytest-cov - python-pytest-mock)) + python-pytest-mock + python-setuptools + python-wheel)) (propagated-inputs (list python-arrow python-binaryornot python-click