summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-tempora/package.py
blob: d0c9a8d339eb0e4963d2fe54af7edc1cd41d0442 (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-2024 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"))