summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Diorio-Toth <ldioriototh@gmail.com>2022-10-13 13:22:03 -0500
committerGitHub <noreply@github.com>2022-10-13 12:22:03 -0600
commit7f24ab9b0a9de3673688e3b54e681d6a66663894 (patch)
tree37346c3e3dbc02126b35c7c7d8dcce055f0706d8
parent5167eed558d4e97a5ec19e8fe68fed3e294c1314 (diff)
downloadspack-7f24ab9b0a9de3673688e3b54e681d6a66663894.tar.gz
spack-7f24ab9b0a9de3673688e3b54e681d6a66663894.tar.bz2
spack-7f24ab9b0a9de3673688e3b54e681d6a66663894.tar.xz
spack-7f24ab9b0a9de3673688e3b54e681d6a66663894.zip
py-alive-progress, py-about-time, py-graphme: new packages (#33252)
* new package + deps * Update var/spack/repos/builtin/packages/py-about-time/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-alive-progress/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * removed unnecessary python version dep Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-about-time/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-alive-progress/package.py25
-rw-r--r--var/spack/repos/builtin/packages/py-grapheme/package.py21
3 files changed, 67 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-about-time/package.py b/var/spack/repos/builtin/packages/py-about-time/package.py
new file mode 100644
index 0000000000..ba49abb99d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-about-time/package.py
@@ -0,0 +1,21 @@
+# 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.package import *
+
+
+class PyAboutTime(PythonPackage):
+ """A cool helper for tracking time and throughput of
+ code blocks, with beautiful human friendly renditions."""
+
+ homepage = "https://github.com/rsalmei/about-time"
+ pypi = "about-time/about-time-4.1.0.tar.gz"
+
+ version("4.1.0", sha256="963b1f3739b0c9732eb205031762b76f1291d89b5d0c8220a8d5b154e32ce650")
+ version("3.1.1", sha256="586b329450c9387d1ae8c42d2db4f5b4c57a54508d0f1b7bb00322ffd5ce9f9b")
+
+ depends_on("python@3.7:3", type=("build", "run"), when="@4:")
+ depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-alive-progress/package.py b/var/spack/repos/builtin/packages/py-alive-progress/package.py
new file mode 100644
index 0000000000..95f4f87169
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-alive-progress/package.py
@@ -0,0 +1,25 @@
+# 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.package import *
+
+
+class PyAliveProgress(PythonPackage):
+ """A new kind of Progress Bar, with real-time
+ throughput, ETA, and very cool animations!"""
+
+ homepage = "https://github.com/rsalmei/alive-progress"
+ pypi = "alive-progress/alive-progress-2.4.1.tar.gz"
+
+ version("2.4.1", sha256="089757c8197f27ad972ba27e1060f6db92368d83c736884e159034fd74865323")
+ version("1.6.2", sha256="642e1ce98becf226c8c36bf24e10221085998c5465a357a66fb83b7dc618b43e")
+
+ depends_on("python@2.7:3.8", type=("build", "run"))
+ depends_on("python@3.6:3", type=("build", "run"), when="@2:")
+ depends_on("python@3.7:3", type=("build", "run"), when="@2.2:")
+ depends_on("py-setuptools", type="build")
+ depends_on("py-about-time@3.1.1", type=("build", "run"), when="@2.4.1:")
+ depends_on("py-grapheme@0.6.0", type=("build", "run"), when="@2.4.1:")
diff --git a/var/spack/repos/builtin/packages/py-grapheme/package.py b/var/spack/repos/builtin/packages/py-grapheme/package.py
new file mode 100644
index 0000000000..d6fd724ccc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-grapheme/package.py
@@ -0,0 +1,21 @@
+# 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.package import *
+
+
+class PyGrapheme(PythonPackage):
+ """A Python package for working with user perceived characters. More
+ specifically, string manipulation and calculation functions for working
+ with grapheme cluster groups (graphemes) as defined by the
+ Unicode Standard Annex #29."""
+
+ homepage = "https://github.com/alvinlindstam/grapheme"
+ pypi = "grapheme/grapheme-0.6.0.tar.gz"
+
+ version("0.6.0", sha256="44c2b9f21bbe77cfb05835fec230bd435954275267fea1858013b102f8603cca")
+
+ depends_on("py-setuptools", type="build")