summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorrvinaybharadwaj <vinayr@lanl.gov>2020-10-07 10:25:57 -0600
committerGitHub <noreply@github.com>2020-10-07 10:25:57 -0600
commit7d82276d0ce235c26d98382006841fd2ee4a98f6 (patch)
tree6ba6b4a814f35f3971ee79e121b47da7cd213132 /var
parentf8d4c74d8c0bc3e8b0e1f88efde3c9d265b4c900 (diff)
downloadspack-7d82276d0ce235c26d98382006841fd2ee4a98f6.tar.gz
spack-7d82276d0ce235c26d98382006841fd2ee4a98f6.tar.bz2
spack-7d82276d0ce235c26d98382006841fd2ee4a98f6.tar.xz
spack-7d82276d0ce235c26d98382006841fd2ee4a98f6.zip
Add py-h11 (#19192)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-h11/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-h11/package.py b/var/spack/repos/builtin/packages/py-h11/package.py
new file mode 100644
index 0000000000..e31e940b7f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-h11/package.py
@@ -0,0 +1,19 @@
+# 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 PyH11(PythonPackage):
+ """A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"""
+
+ homepage = "https://github.com/python-hyper/h11"
+ url = "https://pypi.io/packages/source/h/h11/h11-0.10.0.tar.gz"
+
+ version('0.10.0', sha256='311dc5478c2568cc07262e0381cdfc5b9c6ba19775905736c87e81ae6662b9fd')
+ version('0.9.0', sha256='33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-wheel', type='build')