summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-webargs/package.py
blob: 8b78635242e3526dfb5b92150396b7b6f164eca3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2024 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.package 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")

    license("MIT")

    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"))