summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-tempora/package.py
blob: c4a9d8a1ba951cd3b9c1ef88bd5ecafcf05ee657 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 PyTempora(PythonPackage):
    """Objects and routines pertaining to date and time (tempora)"""

    homepage = "https://github.com/jaraco/tempora"
    pypi = "tempora/tempora-1.14.1.tar.gz"

    license("MIT")

    version("1.14.1", sha256="cb60b1d2b1664104e307f8e5269d7f4acdb077c82e35cd57246ae14a3427d2d6")

    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-scm@1.15.0:", type="build")
    depends_on("py-six", type=("build", "run"))
    depends_on("py-pytz", type=("build", "run"))
    depends_on("py-jaraco-functools@1.20:", type=("build", "run"))
    depends_on("python@2.7:", type=("build", "run"))