summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jinja2-time/package.py
blob: 973dca3eb24a1effcd7bfa7142837e3faaf9303e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyJinja2Time(PythonPackage):
    """Jinja2 Extension for Dates and Times"""

    homepage = "https://github.com/hackebrot/jinja2-time"
    url = "https://github.com/hackebrot/jinja2-time/archive/0.2.0.tar.gz"

    license("MIT")

    version("0.2.0", sha256="0e647e525ba47523fa400a58fdec090b1cc6dcec4afbf095ee01e9e589e5a5ef")

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