summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jinja2-time/package.py
blob: 332258bc71dbdc77ed89bb370ee48bb2bc7877b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2022 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 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"

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

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