summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-wsproto/package.py
blob: 9b6dc999ed17c5bdd3dfa826d75a851cc7402d1a (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 PyWsproto(PythonPackage):
    """This repository contains a pure-Python implementation of
    a WebSocket protocol stack. It's written from the ground up
    to be embeddable in whatever program you choose to use,
    ensuring that you can communicate via WebSockets, as
    defined in RFC6455, regardless of your programming
    paradigm."""

    homepage = "https://github.com/python-hyper/wsproto/"
    pypi = "wsproto/wsproto-1.0.0.tar.gz"

    license("MIT")

    version("1.0.0", sha256="868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38")

    depends_on("python@3.6.1:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-h11@0.9.0:0", type=("build", "run"))