Add py-hpack (#19189)

This commit is contained in:
rvinaybharadwaj 2020-10-07 10:20:47 -06:00 committed by GitHub
parent 8c9187c3b3
commit a24844a206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
# Copyright 2013-2020 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 PyHpack(PythonPackage):
"""Pure-Python HPACK header compression"""
homepage = "https://github.com/python-hyper/hpack"
url = "https://pypi.io/packages/source/h/hpack/hpack-4.0.0.tar.gz"
version('4.0.0', sha256='fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095')
depends_on('py-setuptools', type='build')
depends_on('py-wheel', type='build')