Add package: py-flask-babel (#21272)

This commit is contained in:
Jean-Paul Pelteret 2021-01-31 17:50:16 +01:00 committed by GitHub
parent 6c03c9996a
commit 6ac3d98f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# Copyright 2013-2021 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'))