[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/91: gnu: python-jaraco-functools: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
54/91: gnu: python-jaraco-functools: Move to pyproject-build-system. |
Date: |
Thu, 23 May 2024 17:17:34 -0400 (EDT) |
ngz pushed a commit to branch python-team
in repository guix.
commit aca1d5ed8bf11e2c0a27f00f143a81923ed5d4b5
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:50 2024 +0200
gnu: python-jaraco-functools: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm:
(python-jaraco-functools-bootstrap)[build-system]: Move to
pyproject-build-system.
(python-jaraco-functools)[arguments]: Convert <#:phases> to
<#:test-flags>.
Change-Id: Id41967b3cb426045877ceccd9b391d545d759560
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-xyz.scm | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d1fce8b505..67ebe38b6e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11865,7 +11865,7 @@ procedures.")
(uri (pypi-uri "jaraco.functools" version))
(sha256
(base32 "186xqzs3bqhjwajnprxy3sc3h0w5vdld8spc1dxjnn9720yykq1i"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments (list #:tests? #f))
(native-inputs (list python-setuptools-scm))
(propagated-inputs (list python-more-itertools))
@@ -11883,17 +11883,11 @@ module with a few extra procedures.")
(package-arguments python-jaraco-functools-bootstrap)
((#:tests? _ #f)
(not (%current-target-system)))
- ((#:phases phases #~%standard-phases)
- #~(modify-phases #$phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Do not test the myproject.toml build as it tries to pull
- ;; dependencies from the Internet. Do not run a test that
- ;; tries to emulate a broken proprietary CI set-up, fails
- ;; to do so correctly, and then throws an error about it.
- (invoke "pytest" "-vv" "-k"
- "not project and not test_function_throttled"))))))))
+ ;; Do not test the myproject.toml build as it pulls dependencies.
+ ;; Do not run a test that tries to emulate a broken proprietary CI
+ ;; set-up, fails to do so correctly, and then throws an error.
+ ((#:test-flags test-flags '())
+ '(list "-k" "not project and not test_function_throttled"))))
(native-inputs
(modify-inputs
(package-native-inputs python-jaraco-functools-bootstrap)
- 01/91: gnu: python-seaborn: Correct dependencies., (continued)
- 01/91: gnu: python-seaborn: Correct dependencies., guix-commits, 2024/05/23
- 05/91: gnu: python-codespell: Improve package style., guix-commits, 2024/05/23
- 09/91: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/05/23
- 15/91: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/05/23
- 17/91: gnu: qtile: Improve package style., guix-commits, 2024/05/23
- 27/91: gnu: dynaconf: Improve package style., guix-commits, 2024/05/23
- 23/91: gnu: python-conda-package-handling: Move to pyproject-build-system., guix-commits, 2024/05/23
- 38/91: gnu: behave: Move to pyproject-build-system., guix-commits, 2024/05/23
- 43/91: gnu: python-cbor: Update home-page., guix-commits, 2024/05/23
- 32/91: gnu: python-asdf-astropy: Fix build., guix-commits, 2024/05/23
- 54/91: gnu: python-jaraco-functools: Move to pyproject-build-system.,
guix-commits <=
- 29/91: gnu: python-pypujs: Improve package style., guix-commits, 2024/05/23
- 51/91: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/05/23
- 31/91: gnu: python-nbval: Move to pyproject-build-system., guix-commits, 2024/05/23
- 42/91: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/05/23
- 45/91: gnu: abjad: Update to 3.19., guix-commits, 2024/05/23
- 36/91: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/05/23
- 26/91: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/05/23
- 57/91: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/05/23
- 59/91: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/05/23
- 61/91: gnu: python-pint: Disable benchmark tests., guix-commits, 2024/05/23