diff options
author | Harsh Bhatia <bhatia4@llnl.gov> | 2021-01-26 09:29:56 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2021-01-26 14:40:28 -0600 |
commit | a4e67c35de2dcee944c220ad687e24fd9136114f (patch) | |
tree | 2984ce7137f80535173109ddb863b7a9c9a086f4 | |
parent | 889c86bdb19705e7be858136a543cb7596e8ca04 (diff) | |
download | spack-a4e67c35de2dcee944c220ad687e24fd9136114f.tar.gz spack-a4e67c35de2dcee944c220ad687e24fd9136114f.tar.bz2 spack-a4e67c35de2dcee944c220ad687e24fd9136114f.tar.xz spack-a4e67c35de2dcee944c220ad687e24fd9136114f.zip |
added flask-cors
-rw-r--r-- | var/spack/repos/builtin/packages/py-flask-cors/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-flask-cors/package.py b/var/spack/repos/builtin/packages/py-flask-cors/package.py new file mode 100644 index 0000000000..625a9bc6ce --- /dev/null +++ b/var/spack/repos/builtin/packages/py-flask-cors/package.py @@ -0,0 +1,21 @@ +# 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 PyFlaskCors(PythonPackage): + """A Flask extension for handling Cross Origin Resource Sharing (CORS), + making cross-origin AJAX possible. + """ + + homepage = "https://flask-cors.corydolphin.com/en/latest/index.html" + pypi = "Flask-Cors/Flask-Cors-3.0.10.tar.gz" + + version('3.0.10', sha256='b60839393f3b84a0f3746f6cdca56c1ad7426aa738b70d6c61375857823181de') + + depends_on('py-setuptools', type='build') + depends_on('py-flask@0.9:', type=('build', 'run')) + depends_on('py-six', type=('build', 'run')) |