21 lines
723 B
Python
21 lines
723 B
Python
# Copyright 2013-2023 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.package import *
|
|
|
|
|
|
class PyJplephem(PythonPackage):
|
|
"""This package can load and use a Jet Propulsion Laboratory (JPL)
|
|
ephemeris for predicting the position and velocity of a planet or other
|
|
Solar System body."""
|
|
|
|
pypi = "jplephem/jplephem-2.9.tar.gz"
|
|
|
|
version("2.9", sha256="9dffb9f3d3f6d996ade875102431fe385e8ea422da25c8ba17b0508d9ca1282b")
|
|
|
|
# pip silently replaces distutils with setuptools
|
|
depends_on("py-setuptools", type="build")
|
|
depends_on("py-numpy", type=("build", "run"))
|