From 1eefe5107526ee3ba991a7f0675b845c89d38c2b Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Wed, 1 Jan 2025 01:05:15 +0300 Subject: [PATCH] gnu: python-face: Use pyproject-build-system. * gnu/packages/python-xyz.scm (python-face): Use pyproject-build-system. [arguments] <#:phases>: Simplify. Change-Id: I51d2224d025ea97eeef5a285c5ab2738dfbb87ee --- gnu/packages/python-xyz.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 68b1c42a40..71cd840004 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -121,7 +121,7 @@ ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022, 2023 Wamm K. D. ;;; Copyright © 2022 Jai Vetrivelan -;;; Copyright © 2022-2024 Artyom V. Poptsov +;;; Copyright © 2022-2025 Artyom V. Poptsov ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022 Philip McGrath @@ -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")