summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ephem/package.py
blob: 4c74d1c93e1b8b24d2dcc56f30ff158691035d89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyEphem(PythonPackage):
    """PyEphem provides an ephem Python package for
    performing high-precision astronomy computations."""

    homepage = "https://rhodesmill.org/pyephem/"
    url = "https://github.com/brandon-rhodes/pyephem/archive/v3.7.7.1.tar.gz"

    license("MIT")

    version("3.7.7.1", sha256="d9d05d85c0d38a79169acaef25964ac9df2d808f0d833354545b9ef681ff584d")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")