diff options
author | Jen Herting <jen@herting.cc> | 2022-03-04 17:26:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 15:26:30 -0700 |
commit | 9f49461183c5f7dab7a612796320dd8a3a390e92 (patch) | |
tree | b934ac8dfac3f8766e05228e2c19ee586cd97302 | |
parent | 4081597731482f97a54564494bdb7e98fe092c4a (diff) | |
download | spack-9f49461183c5f7dab7a612796320dd8a3a390e92.tar.gz spack-9f49461183c5f7dab7a612796320dd8a3a390e92.tar.bz2 spack-9f49461183c5f7dab7a612796320dd8a3a390e92.tar.xz spack-9f49461183c5f7dab7a612796320dd8a3a390e92.zip |
New package: py-priority (#29139)
* [py-priority] created template
* [py-priority]
- added homepage
- added description
- added dependencies
- removed fixmes
-rw-r--r-- | var/spack/repos/builtin/packages/py-priority/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-priority/package.py b/var/spack/repos/builtin/packages/py-priority/package.py new file mode 100644 index 0000000000..03707a38d5 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-priority/package.py @@ -0,0 +1,23 @@ +# 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 PyPriority(PythonPackage): + """Priority is a pure-Python implementation of the priority + logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream + Priority). This logic allows for clients to express a + preference for how the server allocates its (limited) + resources to the many outstanding HTTP requests that may be + running over a single HTTP/2 connection.""" + + homepage = "https://github.com/python-hyper/priority/" + pypi = "priority/priority-2.0.0.tar.gz" + + version('2.0.0', sha256='c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0') + + depends_on('python@3.6.1:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |