summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-flask-socketio/package.py
blob: 5b016f1d5fd04d7afd0d9913c246b1a3db0c471a (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
# Copyright 2013-2018 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 PyFlaskSocketio(PythonPackage):
    """Flask-SocketIO gives Flask applications access to low latency
    bi-directional communications between the clients and the server.
    The client-side application can use any of the SocketIO official clients
    libraries in Javascript, C++, Java and Swift, or any compatible client to
    establish a permanent connection to the server.
    """

    homepage = "https://flask-socketio.readthedocs.io"
    url      = "https://pypi.io/packages/source/F/Flask-SocketIO/Flask-SocketIO-2.9.6.tar.gz"

    version('2.9.6', 'bca83faf38355bd91911f2f140f9b50f')

    depends_on('py-setuptools',             type='build')
    depends_on('py-flask@0.9:',             type=('build', 'run'))
    depends_on('py-python-socketio@1.6.1:', type=('build', 'run'))
    depends_on('py-werkzeug',               type=('build', 'run'))