From 30d0347825b7e90652debebc4453d807ea1934c0 Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Fri, 24 Jul 2020 11:39:45 -0400 Subject: py-astropy-healpix: new package (#17568) --- .../builtin/packages/py-astropy-healpix/package.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-astropy-healpix/package.py diff --git a/var/spack/repos/builtin/packages/py-astropy-healpix/package.py b/var/spack/repos/builtin/packages/py-astropy-healpix/package.py new file mode 100644 index 0000000000..8dee2f92be --- /dev/null +++ b/var/spack/repos/builtin/packages/py-astropy-healpix/package.py @@ -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')) -- cgit v1.2.3-70-g09d2