py-astropy-healpix: new package (#17568)

This commit is contained in:
Andrew W Elble 2020-07-24 11:39:45 -04:00 committed by GitHub
parent ea50e4036e
commit 30d0347825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class PyAstropyHealpix(PythonPackage):
"""HEALPix (Hierarchical Equal Area isoLatitude Pixelisation) is
an algorithm for pixellizing a sphere that is sometimes used in
Astronomy to store data from all-sky surveys, but the general
algorithm can apply to any field that has to deal with
representing data on a sphere."""
homepage = 'https://astropy-healpix.readthedocs.io/en/latest/'
url = 'https://pypi.io/packages/source/a/astropy-healpix/astropy-healpix-0.5.tar.gz'
version('0.5', sha256='5ae15da796a840f221fb83e25de791e827b6921bc21a365d99bc1a59c7c0cdad')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-astropy@2.0:', type=('build', 'run'))
depends_on('py-numpy@1.11:', type=('build', 'run'))