[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73399] [PATCH 26/26] gnu: Add python-healpy.
From: |
Sharlatan Hellseher |
Subject: |
[bug#73399] [PATCH 26/26] gnu: Add python-healpy. |
Date: |
Sat, 21 Sep 2024 00:31:51 +0100 |
* gnu/packages/astronomy.scm (python-healpy): New variable.
Change-Id: I471145f504d4e8d7a2611a6a1fd3c4f0d0472033
---
gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3675ccd14e..291ea8d1ca 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1413,6 +1413,65 @@ (define-public python-glue-qt
(description "Multidimensional data visualization across files.")
(license license:bsd-3)))
+(define-public python-healpy
+ (package
+ (name "python-healpy")
+ ;; The latest version depends on custom fork of HEALPix with changes not
+ ;; ported to upstream yet, see
+ ;; <https://github.com/healpy/healpy/issues/949>.
+ (version "1.16.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "healpy" version))
+ (sha256
+ (base32 "1w99cgszh2mzcn5x8p0gdzn3r96vyfdnvbwm20a1l9fdiy16xcha"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Disable tests requiring network access.
+ #~(list "-k" (string-append "not test_astropy_download_file"
+ " and not test_pixelweights_local_datapath"
+ " and not
test_rotate_map_polarization_alms"))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: It's not compatible with pytest-8, enable when newer version
+ ;; is available.
+ (add-after 'unpack 'disable-doctest
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("--doctest-plus") ""))))
+ (add-before 'check 'build-extensions
+ (lambda _
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (native-inputs
+ (list nss-certs-for-test
+ pkg-config
+ python-cython-3
+ python-pytest-8
+ python-pytest-astropy-header
+ python-pytest-cython
+ ;python-pytest-doctestplus
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-astropy
+ python-colorlog
+ python-matplotlib
+ python-numpy
+ python-scipy))
+ (inputs
+ (list cfitsio
+ healpix-cxx
+ libsharp))
+ (home-page "http://healpy.readthedocs.org/")
+ (synopsis "Healpix tools package for Python")
+ (description
+ "healpy is a Python package to handle pixelated data on the sphere. It
+is based on the Hierarchical Equal Area isoLatitude Pixelization (HEALPix)
+scheme and bundles the HEALPix C++ library.")
+ (license license:gpl2+)))
+
(define-public python-pvextractor
(package
(name "python-pvextractor")
--
2.46.0
- [bug#73399] [PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0., (continued)
- [bug#73399] [PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 14/26] gnu: python-sbpy: Update to 0.5.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 12/26] gnu: Add python-sep-pjw., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 20/26] gnu: Add healpix-cxx., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 19/26] gnu: Add libsharp., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 22/26] gnu: Add webbpsf-data., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 18/26] gnu: Add healpix., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 24/26] gnu: Add python-ci-watson., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 23/26] gnu: Add python-webbpsf., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 21/26] gnu: Add python-metrics-logger., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 26/26] gnu: Add python-healpy.,
Sharlatan Hellseher <=
- [bug#73399] [PATCH 25/26] gnu: Add python-pytest-cython., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09, Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 03/25] gnu: siril: Update to 1.2.4., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 04/25] gnu: python-astropy-iers-data: Update to 0.2024.9.16.0.32.21., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 01/25] gnu: calcmysky: Update to 0.3.3., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 08/25] gnu: python-crds: Update to 11.18.4., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 05/25] gnu: python-astropy: Update to 6.1.3., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 07/25] gnu: python-ginga: Fix tests., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 02/25] gnu: cfitsio: Update to 4.5.0., Sharlatan Hellseher, 2024/09/21