[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: python-pyerfa: Use G-expressions.
From: |
guix-commits |
Subject: |
08/10: gnu: python-pyerfa: Use G-expressions. |
Date: |
Tue, 8 Aug 2023 03:37:54 -0400 (EDT) |
andreas pushed a commit to branch master
in repository guix.
commit dc3c9ddc0850c633aa9f194ec941fa529a308743
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Jul 27 00:15:42 2023 +0100
gnu: python-pyerfa: Use G-expressions.
* gnu/packages/astronomy.scm (python-pyerfa): Use G-expressions.
[snippet]: Remove trailing #t.
Signed-off-by: Andreas Enge <andreas@enge.fr>
---
gnu/packages/astronomy.scm | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a3d71c09af..556ba8c6a2 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3251,23 +3251,23 @@ exposures and high-level data products (mosaics,
extracted spectra, etc.).")
(base32 "0f8zykzxjsiwv5ibdn5asla2ng2xl0xdkrcrrd61j31mb3xbnzyp"))
(modules '((guix build utils)))
(snippet
- '(begin
- ;; Remove bundled submodule library.
- (delete-file-recursively "liberfa")
- #t))))
+ #~(begin
+ ;; Remove bundled submodule library.
+ (delete-file-recursively "liberfa")))))
(build-system pyproject-build-system)
(arguments
- `(;; Disable only one failing test:
- ;; AttributeError: __warningregistry__
- #:test-flags '("-k" "not test_errwarn_reporting")
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'use-system-liberfa
- (lambda _
- (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1")))
- (add-before 'check 'build-extensions
- (lambda _
- (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (list
+ ;; Disable only one failing test:
+ ;; AttributeError: __warningregistry__
+ #:test-flags #~(list "-k" "not test_errwarn_reporting")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'use-system-liberfa
+ (lambda _
+ (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1")))
+ (add-before 'check 'build-extensions
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
(native-inputs
(list python-pytest-doctestplus python-pytest python-setuptools-scm))
(inputs
- branch master updated (98c17c1482 -> 692f24d739), guix-commits, 2023/08/08
- 03/10: gnu: python-stdatamodels: Update to 1.7.1., guix-commits, 2023/08/08
- 02/10: gnu: python-stcal: Update to 1.4.2., guix-commits, 2023/08/08
- 06/10: gnu: python-pyerfa: Update to 2.0.0.3., guix-commits, 2023/08/08
- 01/10: gnu: python-reproject: Update to 0.11.0., guix-commits, 2023/08/08
- 04/10: gnu: python-cdflib: Update to 1.0.5., guix-commits, 2023/08/08
- 09/10: gnu: python-synphot: Update to 1.2.1., guix-commits, 2023/08/08
- 08/10: gnu: python-pyerfa: Use G-expressions.,
guix-commits <=
- 07/10: gnu: python-pyerfa: Fix tests., guix-commits, 2023/08/08
- 10/10: gnu: python-astroalign: Fix build., guix-commits, 2023/08/08
- 05/10: gnu: python-sunpy: Update to 5.0.0., guix-commits, 2023/08/08