New package: py-wsproto (#29140)

* [py-wsproto] created template

* [py-wsproto]

- added homepage
- added description
- added dependencies
- removed fixmes

* [py-wsproto] removed unicode character
This commit is contained in:
Jen Herting 2022-03-09 13:29:17 -05:00 committed by GitHub
parent 43c768f4b7
commit 033647c8b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,25 @@
# 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 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"
version('1.0.0', sha256='868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38')
depends_on('python@3.6.1:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-dataclasses', type=('build', 'run'), when='^python@:3.6')
depends_on('py-h11@0.9.0:0', type=('build', 'run'))