summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-throttler/package.py
blob: 443dfa2b78499a3d2f42ad088d979e61a640786a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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")

    license("MIT")

    version("1.2.2", sha256="d54db406d98e1b54d18a9ba2b31ab9f093ac64a0a59d730c1cf7bb1cdfc94a58")

    depends_on("py-setuptools", type="build")