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
This commit is contained in:
Vinicius Monego 2025-06-26 11:22:42 -03:00
parent a48fc57a3a
commit d402e5777e
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -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