summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fastprogress/package.py
blob: 73da1b551bf8f9433d631ae9f9b01bafd0308787 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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 PyFastprogress(PythonPackage):
    """A fast and simple progress bar for Jupyter Notebook and
    console. Created by Sylvain Gugger for fast.ai."""

    homepage = "https://github.com/fastai/fastprogress"
    pypi = "fastprogress/fastprogress-1.0.0.tar.gz"

    version("1.0.0", sha256="89e28ac1d2a5412aab18ee3f3dfd1ee8b5c1f2f7a44d0add0d0d4f69f0191bfe")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))