From 6ac3d98f4cef26234fa0f3d77fa0a3c941534d76 Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Sun, 31 Jan 2021 17:50:16 +0100 Subject: Add package: py-flask-babel (#21272) --- .../builtin/packages/py-flask-babel/package.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-flask-babel/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-flask-babel/package.py b/var/spack/repos/builtin/packages/py-flask-babel/package.py new file mode 100644 index 0000000000..4d91e33c96 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-flask-babel/package.py @@ -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')) -- cgit v1.2.3-70-g09d2