mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: python-face: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-face): Use pyproject-build-system. [arguments] <#:phases>: Simplify. Change-Id: I51d2224d025ea97eeef5a285c5ab2738dfbb87ee
This commit is contained in:
parent
60f89a2fe4
commit
1eefe51075
1 changed files with 6 additions and 7 deletions
|
@ -121,7 +121,7 @@
|
|||
;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
|
||||
;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r@outlook.com>
|
||||
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
|
||||
;;; Copyright © 2022-2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2022-2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
|
||||
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
|
||||
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
|
||||
|
@ -36553,7 +36553,7 @@ (define-public python-face
|
|||
(uri (pypi-uri "face" version))
|
||||
(sha256
|
||||
(base32 "0gpd9f0rmbv3rd2szi2na37l29fabkwazikjrxc6wca1lddwlnbx"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
@ -36562,12 +36562,11 @@ (define-public python-face
|
|||
(when tests?
|
||||
;; Make installed package available for running the tests.
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
;; We must provide the full path to the Python binary
|
||||
;; otherwise "test_search_prs_basic" test fails.
|
||||
(invoke (search-input-file inputs "/bin/python")
|
||||
"-m" "pytest" "-v")))))))
|
||||
(invoke "pytest" "-v")))))))
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-boltons))
|
||||
(home-page "https://github.com/mahmoud/face")
|
||||
|
|
Loading…
Reference in a new issue