summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-yaspin/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-yaspin/package.py b/var/spack/repos/builtin/packages/py-yaspin/package.py
new file mode 100644
index 0000000000..78d9ea994d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-yaspin/package.py
@@ -0,0 +1,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')