summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-26 11:22:42 -0300
committerVinicius Monego <monego@posteo.net>2025-06-29 00:04:42 -0300
commitd402e5777ea46d080283f25550adc4e3b269b5e1 (patch)
treecc9a67bcc8a07b64e8316d97642b162e4adecc86
parenta48fc57a3ad8db35d3d5c024314570252498bfee (diff)
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
-rw-r--r--gnu/packages/python-xyz.scm14
1 files 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