summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-flask-babel/package.py
blob: c7f92fd6c66bd5c349e1b0a33e6907a3befae354 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyFlaskBabel(PythonPackage):
    """Implements i18n and l10n support for Flask."""

    homepage = "https://pythonhosted.org/Flask-Babel/"
    pypi     = "Flask-Babel/Flask-Babel-2.0.0.tar.gz"

    version('2.0.0',  sha256='f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d')

    depends_on('python@3.5:',    type=('build', 'run'))
    depends_on('py-setuptools',  type='build')
    depends_on('py-flask',       type=('build', 'run'))
    depends_on('py-babel@2.3:',  type=('build', 'run'))
    depends_on('py-pytz',        type=('build', 'run'))
    depends_on('py-jinja2@2.5:', type=('build', 'run'))