summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-yaspin/package.py
blob: 78d9ea994d49f35d99fc8e9176f90b543e007d90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 import *


class PyYaspin(PythonPackage):
    """Yet Another Terminal Spinner"""

    homepage = "https://github.com/pavdmyt/yaspin"
    pypi     = "yaspin/yaspin-2.1.0.tar.gz"

    version('2.1.0', sha256='c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a')

    depends_on('python@3.6.2:3',       type=('build', 'run'))
    depends_on('py-poetry-core@1:',    type='build')
    depends_on('py-termcolor@1.1.0:1', type=('build', 'run'))
    depends_on('py-dataclasses@0.8',   type=('build', 'run'), when='^python@3.6')