summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-08-06 14:02:10 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-06 14:12:12 +0100
commitc8b21f613a39b53bfa1d7fb0140933e2b79e9d65 (patch)
treeae7542016fdc9e67bb928dd02b6cdb1e39137143
parent69aba80f8996fa41ab1055ca7794c20415c7d131 (diff)
gnu: python-astropy-iers-data: Rename and hide.
* gnu/packages/astronomy.scm (python-astropy-iers-data): Change variable and pacakge name to python-astropy-iers-data-primary then hide it. (python-astropy-iers-data-next): Rename variable to python-astropy-iers-data and unhide it. (python-astropy-iers-data-next): Deprecate variable in favour of python-astropy-iers-data. (python-astropy)[propagated-inputs]: Replace python-astropy-iers-data with python-astropy-iers-data-primary. Relates-to: guix/guix!10344
-rw-r--r--gnu/packages/astronomy.scm67
1 files changed, 38 insertions, 29 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ebcb1ce15d6..89fa4f33988 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3491,7 +3491,7 @@ constraints (i.e., altitude, airmass, moon separation/illumination, etc.)
3491 ;; wcsset() at line 2895 of file wcs.c. 3491 ;; wcsset() at line 2895 of file wcs.c.
3492 wcslib-8.6)) 3492 wcslib-8.6))
3493 (propagated-inputs 3493 (propagated-inputs
3494 (list python-astropy-iers-data 3494 (list python-astropy-iers-data-primary
3495 python-configobj ;to replace custom module 3495 python-configobj ;to replace custom module
3496 python-numpy 3496 python-numpy
3497 python-packaging 3497 python-packaging
@@ -3583,29 +3583,31 @@ astronomy and astrophysics.")
3583 (description "This package provides HEALPix to the Astropy project.") 3583 (description "This package provides HEALPix to the Astropy project.")
3584 (license license:bsd-3))) 3584 (license license:bsd-3)))
3585 3585
3586(define-public python-astropy-iers-data 3586(define-public python-astropy-iers-data-primary
3587 (package 3587 ;; XXX: See: <https://codeberg.org/guix/guix/pulls/10344>.
3588 (name "python-astropy-iers-data") 3588 (hidden-package
3589 (version "0.2026.7.6.1.1.20") 3589 (package
3590 (source 3590 (name "python-astropy-iers-data-primary")
3591 (origin 3591 (version "0.2026.7.6.1.1.20")
3592 (method git-fetch) 3592 (source
3593 (uri (git-reference 3593 (origin
3594 (url "https://github.com/astropy/astropy-iers-data") 3594 (method git-fetch)
3595 (commit (string-append "v" version)))) 3595 (uri (git-reference
3596 (file-name (git-file-name name version)) 3596 (url "https://github.com/astropy/astropy-iers-data")
3597 (sha256 3597 (commit (string-append "v" version))))
3598 (base32 "0apwrw8r5bvhmih11ffa8ja6adi66fvjfi9k0w8ilhv2f88b970g")))) 3598 (file-name (git-file-name name version))
3599 (build-system pyproject-build-system) 3599 (sha256
3600 (arguments 3600 (base32 "0apwrw8r5bvhmih11ffa8ja6adi66fvjfi9k0w8ilhv2f88b970g"))))
3601 (list #:tests? #f)) ; no tests 3601 (build-system pyproject-build-system)
3602 (native-inputs 3602 (arguments
3603 (list python-hatch-vcs 3603 (list #:tests? #f)) ; no tests
3604 python-hatchling)) 3604 (native-inputs
3605 (home-page "https://docs.astropy.org/en/latest/utils/iers.html") 3605 (list python-hatch-vcs
3606 (synopsis "IERS Earth Rotation and Leap Second tables for Astropy core") 3606 python-hatchling))
3607 (description 3607 (home-page "https://docs.astropy.org/en/latest/utils/iers.html")
3608 "The @code{iers} package provides access to the tables provided by the 3608 (synopsis "IERS Earth Rotation and Leap Second tables for Astropy core")
3609 (description
3610 "The @code{iers} package provides access to the tables provided by the
3609@acronym{International Earth Rotation and Reference Systems, IERS} service, in 3611@acronym{International Earth Rotation and Reference Systems, IERS} service, in
3610particular the 3612particular the
3611@url{https://www.iers.org/IERS/EN/DataProducts/EarthOrientationData/eop.html, 3613@url{https://www.iers.org/IERS/EN/DataProducts/EarthOrientationData/eop.html,
@@ -3615,14 +3617,15 @@ motion values for given times. The UT1-UTC values are used in
3615Dates (astropy.time)} to provide UT1 values, and the polar motions are used in 3617Dates (astropy.time)} to provide UT1 values, and the polar motions are used in
3616@code{astropy.coordinates} to determine Earth orientation for 3618@code{astropy.coordinates} to determine Earth orientation for
3617celestial-to-terrestrial coordinate transformations.") 3619celestial-to-terrestrial coordinate transformations.")
3618 (license license:bsd-3))) 3620 (license license:bsd-3))))
3619 3621
3620(define-public python-astropy-iers-data-next 3622(define-public python-astropy-iers-data
3621 ;; astropy-iers-data is updated quite often, refresh the main package with 3623 ;; astropy-iers-data is updated quite often, refresh the main package with
3622 ;; Astropy or during planed refresh cycle. The latest version is safe to be 3624 ;; Astropy or during planed refresh cycle. The latest version is safe to be
3623 ;; installed to user's profile. 3625 ;; installed to user's profile, and it should come togather with
3626 ;; python-astropy.
3624 (package 3627 (package
3625 (inherit python-astropy-iers-data) 3628 (inherit python-astropy-iers-data-primary)
3626 (name "python-astropy-iers-data") 3629 (name "python-astropy-iers-data")
3627 (version "0.2026.7.13.0.54.2") 3630 (version "0.2026.7.13.0.54.2")
3628 (source 3631 (source
@@ -3633,7 +3636,13 @@ celestial-to-terrestrial coordinate transformations.")
3633 (commit (string-append "v" version)))) 3636 (commit (string-append "v" version))))
3634 (file-name (git-file-name name version)) 3637 (file-name (git-file-name name version))
3635 (sha256 3638 (sha256
3636 (base32 "1sz8378hlh9222k9gsc10ry3651phqxl353k176pd67iq5348bnb")))))) 3639 (base32 "1sz8378hlh9222k9gsc10ry3651phqxl353k176pd67iq5348bnb"))))
3640 (properties
3641 (alist-delete 'hidden?
3642 (package-properties python-astropy-iers-data-primary)))))
3643
3644;; XXX: Deprecated on <2026-08-06>.
3645(define-public python-astropy-iers-data-next python-astropy-iers-data)
3637 3646
3638;; A bare minimal package, mainly to use in tests and reduce closure 3647;; A bare minimal package, mainly to use in tests and reduce closure
3639;; size. Tests are left out in the main package to slim down native-inputs. 3648;; size. Tests are left out in the main package to slim down native-inputs.