summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
author健美猞猁 <weijianwen@gmail.com>2020-06-13 09:36:24 +0800
committerGitHub <noreply@github.com>2020-06-12 20:36:24 -0500
commit50a50875f9d3165885683aa9a463e9bc5f56c600 (patch)
tree5f575dc2fcfa2125dfc807420bfaf72740d74cc3 /var
parenta69a213b9b5dad7c5853e964edc77adfc05768c8 (diff)
downloadspack-50a50875f9d3165885683aa9a463e9bc5f56c600.tar.gz
spack-50a50875f9d3165885683aa9a463e9bc5f56c600.tar.bz2
spack-50a50875f9d3165885683aa9a463e9bc5f56c600.tar.xz
spack-50a50875f9d3165885683aa9a463e9bc5f56c600.zip
py-healpy: a new package. (#17001)
* py-healpy: a new package. * Use internal libraries within py-healpy. * Fix python dependencies. * Fix python dependency.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-healpy/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-healpy/package.py b/var/spack/repos/builtin/packages/py-healpy/package.py
new file mode 100644
index 0000000000..d1781d13a1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-healpy/package.py
@@ -0,0 +1,24 @@
+# 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)
+
+from spack import *
+
+
+class PyHealpy(PythonPackage):
+ """healpy is a Python package to handle pixelated data on the sphere."""
+
+ homepage = "https://healpy.readthedocs.io/"
+ url = "https://pypi.python.org/packages/source/h/healpy/healpy-1.13.0.tar.gz"
+
+ version('1.13.0', sha256='d0ae02791c2404002a09c643e9e50bc58e3d258f702c736dc1f39ce1e6526f73')
+ version('1.7.4', sha256='3cca7ed7786ffcca70e2f39f58844667ffb8521180ac890d4da651b459f51442')
+
+ depends_on('python', type=('build', 'run'))
+ depends_on('py-setuptools@3.2:', type='build')
+ depends_on('py-numpy@1.13:', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-astropy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))