diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-throttler/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-throttler/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-throttler/package.py b/var/spack/repos/builtin/packages/py-throttler/package.py new file mode 100644 index 0000000000..4be87f65aa --- /dev/null +++ b/var/spack/repos/builtin/packages/py-throttler/package.py @@ -0,0 +1,19 @@ +# 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.package import * + + +class PyThrottler(PythonPackage): + """Zero dependency Python package for easy throttling with asyncio support.""" + + homepage = "https://github.com/uburuntu/throttler" + pypi = "throttler/throttler-1.2.1.tar.gz" + + maintainers = ["charmoniumQ"] + + version("1.2.2", sha256="d54db406d98e1b54d18a9ba2b31ab9f093ac64a0a59d730c1cf7bb1cdfc94a58") + + depends_on("py-setuptools", type="build") |