[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: python-beartype: Simplify package.
From: |
guix-commits |
Subject: |
02/10: gnu: python-beartype: Simplify package. |
Date: |
Sun, 11 Feb 2024 16:04:31 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit a3f02bc7809f3f3c8e987826e43edf7e87867a6c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Feb 11 11:25:34 2024 +0000
gnu: python-beartype: Simplify package.
* gnu/packages/python-check.scm (python-beartype) [build-system]: Swap
to pyproject-build-system.
[arguments]: Use standard 'check phase and <#:test-flags>.
Change-Id: I372c5be3b142f0e25d15fd2bac20fc9cd4d8030c
---
gnu/packages/python-check.scm | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index dbc4321bb2..a790c66d6e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -107,20 +107,16 @@ data in a standard way.")
(uri (pypi-uri "beartype" version))
(sha256
(base32 "0amzckgw9c93bl4jf0q6322j9wyyf3i8vl03yixfkrpllzv6kv14"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "beartype_test"
- ;; These tests rely on git through the
- ;; "get_main_readme_file" helper.
- "-k"
- (string-append "not test_doc_readme "
- "and not test_sphinx "
- "and not test_pep561_mypy"))))))))
+ (list
+ #:test-flags
+ #~(list
+ "beartype_test"
+ ;; These tests rely on git through the "get_main_readme_file" helper.
+ "-k" (string-append "not test_doc_readme "
+ "and not test_sphinx "
+ "and not test_pep561_mypy"))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/beartype/beartype")
- branch master updated (4bab3a2602 -> ab3da80ae1), guix-commits, 2024/02/11
- 02/10: gnu: python-beartype: Simplify package.,
guix-commits <=
- 04/10: gnu: python-pyinstrument: Update to 4.6.2., guix-commits, 2024/02/11
- 06/10: gnu: python-pytest-socket: Simplify package, enable tests., guix-commits, 2024/02/11
- 01/10: gnu: Add python-pandas-vet., guix-commits, 2024/02/11
- 10/10: gnu: abjad-ext-rmakers: Simplify package., guix-commits, 2024/02/11
- 08/10: gnu: abjad-ext-nauert: Simplify package., guix-commits, 2024/02/11
- 05/10: gnu: python-pyinstrument: Enable tests., guix-commits, 2024/02/11
- 03/10: gnu: python-pytest-csv: Simplify package., guix-commits, 2024/02/11
- 07/10: gnu: abjad-ext-nauert: Fix build., guix-commits, 2024/02/11
- 09/10: gnu: abjad-ext-rmakers: Fix build., guix-commits, 2024/02/11