[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/46: gnu: Add python-astropy-iers-data.
From: |
guix-commits |
Subject: |
09/46: gnu: Add python-astropy-iers-data. |
Date: |
Tue, 27 Feb 2024 17:55:14 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit bf2633a065a4079a642a8e556b66e2e7816bc3b7
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Jan 26 02:01:20 2024 +0000
gnu: Add python-astropy-iers-data.
* gnu/packages/astronomy.scm (python-astropy-iers-data): New variable.
Change-Id: Idd2e099013a4c6a6a28fc3dc8aa656bb58b3d697
---
gnu/packages/astronomy.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5919393869..45394a7070 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1616,6 +1616,50 @@ astronomy and astrophysics.")
(description "This package provides HEALPix to the Astropy project.")
(license license:bsd-3)))
+(define-public python-astropy-iers-data
+ (package
+ (name "python-astropy-iers-data")
+ ;; In case of changing the source method git-fetch, consider to check the
+ ;; tag as it's not following the PyPI version, see
+ ;; <https://github.com/astropy/astropy-iers-data/issues/17>.
+ (version "0.2024.2.19.0.28.47")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "astropy-iers-data" version))
+ (sha256
+ (base32 "0j42hkl8z42x5n3aacld9cvacjzg79lqsivm3xn6bv1gjgy69br9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Dependencies cycle wit python-astropy, see
+ ;; <https://github.com/astropy/astropy-iers-data/issues/21>.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-env-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+ (native-inputs
+ (list python-hypothesis
+ python-pytest
+ python-pytest-remotedata
+ python-setuptools-scm))
+ (home-page "https://docs.astropy.org/en/latest/utils/iers.html")
+ (synopsis "IERS Earth Rotation and Leap Second tables for the astropy core
package")
+ (description
+ "The @code{iers} package provides access to the tables provided by the
+@acronym{International Earth Rotation and Reference Systems, IERS} service, in
+particular the
+@url{https://www.iers.org/IERS/EN/DataProducts/EarthOrientationData/eop.html,
+Earth Orientation data} allowing interpolation of published UT1-UTC and polar
+motion values for given times. The UT1-UTC values are used in
+@url{https://docs.astropy.org/en/latest/time/index.html#astropy-time, Time and
+Dates (astropy.time)} to provide UT1 values, and the polar motions are used in
+@code{astropy.coordinates} to determine Earth orientation for
+celestial-to-terrestrial coordinate transformations.")
+ (license license:bsd-3)))
+
(define-public python-astroquery
(package
(name "python-astroquery")
- branch master updated (16ab67182b -> 8c0282cf54), guix-commits, 2024/02/27
- 02/46: gnu: giza: Update to 1.4.1., guix-commits, 2024/02/27
- 05/46: gnu: parfive: Update to 2.0.2., guix-commits, 2024/02/27
- 01/46: gnu: calceph: Update to 3.5.5., guix-commits, 2024/02/27
- 09/46: gnu: Add python-astropy-iers-data.,
guix-commits <=
- 06/46: gnu: parfive: Simplify package., guix-commits, 2024/02/27
- 12/46: gnu: python-asdf-2.15: Deprecate package., guix-commits, 2024/02/27
- 08/46: gnu: python-aioftp: Update to 0.22.3., guix-commits, 2024/02/27
- 10/46: gnu: python-astropy: Update to 6.0.0., guix-commits, 2024/02/27
- 04/46: gnu: phd2: Update to 2.6.13., guix-commits, 2024/02/27
- 11/46: gnu: python-astropy: Improve packages style., guix-commits, 2024/02/27
- 03/46: gnu: indi-2.0: Update to 2.0.6., guix-commits, 2024/02/27
- 15/46: gnu: python-asdf-transform-schemas: Update to 0.4.0., guix-commits, 2024/02/27
- 07/46: gnu: siril: Update to 1.2.1., guix-commits, 2024/02/27
- 13/46: gnu: python-asdf-fits-schemas: Update to 0.0.1-1.d1b5e7a., guix-commits, 2024/02/27