diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-07-24 11:39:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 17:39:45 +0200 |
commit | 30d0347825b7e90652debebc4453d807ea1934c0 (patch) | |
tree | badbc222c2cd50e598e387d1f910381964928788 /var | |
parent | ea50e4036efa9ec73327c5992b097007274d54d2 (diff) | |
download | spack-30d0347825b7e90652debebc4453d807ea1934c0.tar.gz spack-30d0347825b7e90652debebc4453d807ea1934c0.tar.bz2 spack-30d0347825b7e90652debebc4453d807ea1934c0.tar.xz spack-30d0347825b7e90652debebc4453d807ea1934c0.zip |
py-astropy-healpix: new package (#17568)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-astropy-healpix/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
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')) |