summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jdcal/package.py
blob: d4a8c2ac3995f05cbf649b37b090933dd4078bf0 (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', '885ba61d28992f26acffec131bd2a17e')
    version('1.2', 'ab8d5ba300fd1eb01514f363d19b1eb9')

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