summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-progressbar2/package.py
blob: b8e613929393b1bcf436c73eb2f53f46ebf26843 (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
24
25
# 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 PyProgressbar2(PythonPackage):
    """A progress bar for Python 2 and Python 3"""

    homepage = "https://github.com/WoLpH/python-progressbar"
    pypi = "progressbar2/progressbar2-3.50.1.tar.gz"

    license("BSD-3-Clause")

    version("3.55.0", sha256="86835d1f1a9317ab41aeb1da5e4184975e2306586839d66daf63067c102f8f04")
    version("3.50.1", sha256="2c21c14482016162852c8265da03886c2b4dea6f84e5a817ad9b39f6bd82a772")
    version("3.43.1", sha256="87a403d2f80f6e48b7b55559feae5c75b903941f55189b22207b574fe5e62276")
    version("3.39.3", sha256="8e5b5419e04193bb7c3fea71579937bbbcd64c26472b929718c2fe7ec420fe39")

    depends_on("py-setuptools", type="build")
    depends_on("py-six", type=("build", "run"))
    depends_on("py-python-utils@2.3.0:", type=("build", "run"))