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

    homepage = "http://github.com/phn/jdcal"
    url      = "https://pypi.io/packages/source/j/jdcal/jdcal-1.3.tar.gz"

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

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