diff options
author | haralmha <47558670+haralmha@users.noreply.github.com> | 2022-04-19 18:11:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 11:11:25 -0500 |
commit | beaf1c7fcc5e911052608f0eedd22414715f70e6 (patch) | |
tree | ab5f34abbbfe8e0daca8b01f95efb4707f836eb7 | |
parent | 2da7f40cbc87b034ba8e966d43d998429664557a (diff) | |
download | spack-beaf1c7fcc5e911052608f0eedd22414715f70e6.tar.gz spack-beaf1c7fcc5e911052608f0eedd22414715f70e6.tar.bz2 spack-beaf1c7fcc5e911052608f0eedd22414715f70e6.tar.xz spack-beaf1c7fcc5e911052608f0eedd22414715f70e6.zip |
py-webargs: Add new package (#29768)
* py-webargs: Add new package
* Fix python requirement
* Add run dependency to py-packaging
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-webargs/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-webargs/package.py b/var/spack/repos/builtin/packages/py-webargs/package.py new file mode 100644 index 0000000000..a3b78152cd --- /dev/null +++ b/var/spack/repos/builtin/packages/py-webargs/package.py @@ -0,0 +1,24 @@ +# 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 PyWebargs(PythonPackage): + """Python library for parsing and validating HTTP request objects, + with built-in support for popular web frameworks, including Flask, + Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.""" + + homepage = "https://github.com/marshmallow-code/webargs" + pypi = "webargs/webargs-8.1.0.tar.gz" + + maintainers = ['haralmha'] + + version('8.1.0', sha256='f1f0b7f054a22263cf750529fc0926709ca47da9a2c417d423ad88d9fa6a5d33') + + depends_on('python@3.7:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-marshmallow@3.0.0:', type=('build', 'run')) + depends_on('py-packaging', type=('build', 'run')) |