summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-flask-compress/package.py
blob: f8d4602023931a1bd4043001d93d6c78fdee4657 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PyFlaskCompress(PythonPackage):
    """Flask-Compress allows you to easily compress your Flask application's
    responses with gzip."""

    homepage = "https://github.com/libwilliam/flask-compress"
    pypi = "Flask-Compress/Flask-Compress-1.4.0.tar.gz"

    license("MIT")

    version("1.4.0", sha256="468693f4ddd11ac6a41bca4eb5f94b071b763256d54136f77957cfee635badb3")

    depends_on("py-setuptools", type="build")
    depends_on("py-flask@0.9:", type=("build", "run"))