[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/47: gnu: python-bayesicfitting: Refresh package style.
From: |
guix-commits |
Subject: |
28/47: gnu: python-bayesicfitting: Refresh package style. |
Date: |
Tue, 30 Apr 2024 16:42:42 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 725d92f54ade087246fd3c9443fa4444e0309b66
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Apr 3 18:35:22 2024 +0100
gnu: python-bayesicfitting: Refresh package style.
* gnu/packages/astronomy.scm (python-bayesicfitting): Adjust
indentation.
[build-system]: Swap to pyproject-build-system.
[arguments] <#:test-flags>: Add them.
<#:phases>: Use test flags in 'check phase.
Change-Id: Iffc8591199bbaf2a0da95b6b22476e34121dbe79
---
gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++++------------------
1 file changed, 24 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 670e8510d8..38e3c2fa0c 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1934,25 +1934,31 @@ specifically in the C code.")
(package
(name "python-bayesicfitting")
(version "3.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/dokester/BayesicFitting")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0q6v7w9b1xzam0qn5vsl5wrdp1fkfpsn411pzd8wyy9giznpajxi"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dokester/BayesicFitting")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0q6v7w9b1xzam0qn5vsl5wrdp1fkfpsn411pzd8wyy9giznpajxi"))))
+ (build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "unittest" "discover"
- "test")))))))
- (propagated-inputs (list python-astropy python-future python-matplotlib
- python-numpy python-scipy))
+ (list
+ #:test-flags #~(list "-m" "unittest" "discover" "test")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (apply invoke "python" test-flags)))))))
+ (propagated-inputs
+ (list python-astropy
+ python-future
+ python-matplotlib
+ python-numpy
+ python-scipy))
(home-page "https://www.bayesicfitting.nl")
(synopsis "Python Toolbox for Astronimical Bayesian fitting")
(description
- 07/47: gnu: python-exif-read: Update to 3.0.0., (continued)
- 07/47: gnu: python-exif-read: Update to 3.0.0., guix-commits, 2024/04/30
- 08/47: gnu: Add python-pysiaf., guix-commits, 2024/04/30
- 19/47: gnu: python-stsci-imagestats: Update to 1.8.2., guix-commits, 2024/04/30
- 20/47: gnu: python-stsci-image: Refresh package style., guix-commits, 2024/04/30
- 26/47: gnu: python-ginga: Set HOME for sanity check., guix-commits, 2024/04/30
- 27/47: gnu: python-gatspy: Refresh package style., guix-commits, 2024/04/30
- 29/47: gnu: python-bayesicfitting: Update to 3.2.1., guix-commits, 2024/04/30
- 35/47: gnu: python-regions: Update to 0.9., guix-commits, 2024/04/30
- 16/47: gnu: python-jwst: Update to 1.14.0., guix-commits, 2024/04/30
- 23/47: gnu: python-tweakwcs: Adjust indentation., guix-commits, 2024/04/30
- 28/47: gnu: python-bayesicfitting: Refresh package style.,
guix-commits <=
- 31/47: gnu: python-skyfield: Enable tests., guix-commits, 2024/04/30
- 33/47: gnu: python-astroplan: Update to 0.10., guix-commits, 2024/04/30
- 37/47: gnu: python-casa-formats-io: Update to 0.3.0., guix-commits, 2024/04/30
- 39/47: gnu: python-photutils: Update to 1.12., guix-commits, 2024/04/30
- 24/47: gnu: python-tweakwcs: Update to 0.8.7., guix-commits, 2024/04/30
- 34/47: gnu: python-rad: Update to 0.19.2., guix-commits, 2024/04/30
- 41/47: gnu: python-reproject: Enable tests., guix-commits, 2024/04/30
- 18/47: gnu: python-stdatamodels: Update to 1.10.1., guix-commits, 2024/04/30
- 21/47: gnu: python-synphot: Add custom check phase., guix-commits, 2024/04/30
- 36/47: gnu: python-roman-datamodels: Update to 0.19.1., guix-commits, 2024/04/30