summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jdcal/package.py
blob: 10c87b572bba0e515eb6088e19a851121f257a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyJdcal(PythonPackage):
    """Julian dates from proleptic Gregorian and Julian calendars"""

    homepage = "https://github.com/phn/jdcal"
    pypi = "jdcal/jdcal-1.3.tar.gz"

    license("BSD-2-Clause")

    version("1.3", sha256="b760160f8dc8cc51d17875c6b663fafe64be699e10ce34b6a95184b5aa0fdc9e")
    version("1.2", sha256="5ebedb58b95ebabd30f56abef65139c6f69ec1687cf1d2f3a7c503f9a2cdfa4d")

    depends_on("py-setuptools", type="build")