summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ratelimiter/package.py
blob: 89c5eacb31cdd75f7ebdfb64fd205867bf07a8c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 PyRatelimiter(PythonPackage):
    """Simple Python module providing rate limiting."""

    homepage = "https://github.com/RazerM/ratelimiter"
    pypi = "ratelimiter/ratelimiter-1.2.0.post0.tar.gz"

    maintainers("marcusboden")

    license("Apache-2.0")

    version(
        "1.2.0.post0", sha256="5c395dcabdbbde2e5178ef3f89b568a3066454a6ddc223b76473dac22f89b4f7"
    )

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