[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67915] [PATCH 22/32] gnu: python-spherical-geometry: Update to 1.3.
From: |
Sharlatan Hellseher |
Subject: |
[bug#67915] [PATCH 22/32] gnu: python-spherical-geometry: Update to 1.3.1. |
Date: |
Wed, 20 Dec 2023 00:53:29 +0000 |
* gnu/packages/astronomy.scm (python-spherical-geometry): Update to 1.3.1.
[arguments]<#:phases>: Replace 'build-extension with
'prepare-test-environment phase which includes Pytest config set up to
prevent tests from failure.
[native-inputs]: Add python-pytest-astropy-header.
[home-page]: Correct it.
Change-Id: Ib49201f62c32555355df5821383ef416245d4d50
---
gnu/packages/astronomy.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9012f758d6..cc1a78b90e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2602,9 +2602,7 @@ (define-public python-spectral-cube
(define-public python-spherical-geometry
(package
(name "python-spherical-geometry")
- ;; XXX: Can't be updated to the latest see:
- ;; https://github.com/spacetelescope/spherical_geometry/issues/227
- (version "1.2.22")
+ (version "1.3.1")
(source
(origin
(method git-fetch)
@@ -2613,7 +2611,7 @@ (define-public python-spherical-geometry
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0kzcncqir4v7nhk9lxj9gxr32p3krkaqa58y2i4kksgxxy24qw4z"))))
+ (base32 "172f81h42jq6mv3gpx497z2nkhkx11w4pzmcqljcicri2zqj1m6g"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2627,18 +2625,23 @@ (define-public python-spherical-geometry
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
;; Use our own libraries in place of bundles.
(setenv "USE_SYSTEM_QD" "1")))
- (add-before 'check 'build-extensions
+ (add-before 'check 'prepare-test-environment
(lambda _
- (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (invoke "python" "setup.py" "build_ext" "--inplace")
+ (call-with-output-file "pytest.ini"
+ (lambda (port)
+ (format port "[pytest]
+python_files = test_*.py"))))))))
(native-inputs
(list python-pytest
+ python-pytest-astropy-header
python-setuptools-scm))
(inputs
(list qd))
(propagated-inputs
(list python-astropy
python-numpy))
- (home-page "https://github.com/spacetelescope/tweakwcs")
+ (home-page "https://github.com/spacetelescope/spherical_geometry")
(synopsis "Python astronimical package for handling spherical polygons")
(description
"The @code{spherical_geometry} library is a Python package for handling
--
2.41.0
- [bug#67915] [PATCH 02/32] gnu: aoflagger: Update to 3.4.0., (continued)
- [bug#67915] [PATCH 02/32] gnu: aoflagger: Update to 3.4.0., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 07/32] gnu: python-asdf-astropy: Update to 0.5.0., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 05/32] gnu: libpasastro: Update to 1.4.2., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 10/32] gnu: python-drizzle: Update to 1.14.4., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 06/32] gnu: phd2: Update to 2.6.12., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 18/32] gnu: python-radio-beam: Update to 0.3.7., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 31/32] gnu: wcslib: Update to 8.2.2., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 26/32] gnu: python-stsynphot: Update to 1.3.0., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 13/32] gnu: python-jplephem: Update to 2.21., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 12/32] gnu: python-gwcs: Update to 0.20.0., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 22/32] gnu: python-spherical-geometry: Update to 1.3.1.,
Sharlatan Hellseher <=
- [bug#67915] [PATCH 17/32] gnu: python-pynbody: Update to 1.5.2., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 28/32] gnu: python-synphot: Adjust package style., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 29/32] gnu: python-tweakwcs: Update to 0.8.5., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 09/32] gnu: python-crds: Update to 11.17.13., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 11/32] gnu: python-drms: Update to 0.7.0., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 21/32] gnu: python-spectral-cube: Update to 0.6.5., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 25/32] gnu: python-stsci-imagestats: Enable tests, Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 32/32] gnu: python-regions: Use G-expressions., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 19/32] gnu: python-regions: Update to 0.8., Sharlatan Hellseher, 2023/12/19
- [bug#67915] [PATCH 20/32] gnu: python-reproject: Update to 0.13.0., Sharlatan Hellseher, 2023/12/19