mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
a48fc57a3a
commit
d402e5777e
1 changed files with 6 additions and 8 deletions
|
@ -21053,7 +21053,7 @@ designed to work across multiple versions of Python.")
|
||||||
(uri (pypi-uri "cookiecutter" version))
|
(uri (pypi-uri "cookiecutter" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0762882zrvf3sslr9r7v8wkdwjckhm2clj4d831gvx54kqbgh8fv"))))
|
(base32 "0762882zrvf3sslr9r7v8wkdwjckhm2clj4d831gvx54kqbgh8fv"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
@ -21068,17 +21068,15 @@ designed to work across multiple versions of Python.")
|
||||||
(substitute* "tests/test_hooks.py"
|
(substitute* "tests/test_hooks.py"
|
||||||
(("/bin/bash")
|
(("/bin/bash")
|
||||||
(string-append #$(this-package-native-input
|
(string-append #$(this-package-native-input
|
||||||
"bash-minimal") "/bin/bash")))))
|
"bash-minimal") "/bin/bash"))))))))
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "pytest")))))))
|
|
||||||
(native-inputs (list bash-minimal
|
(native-inputs (list bash-minimal
|
||||||
git
|
git-minimal
|
||||||
python-freezegun
|
python-freezegun
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
python-pytest-mock))
|
python-pytest-mock
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(propagated-inputs (list python-arrow
|
(propagated-inputs (list python-arrow
|
||||||
python-binaryornot
|
python-binaryornot
|
||||||
python-click
|
python-click
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue