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>
This commit is contained in:
parent
5167eed558
commit
7f24ab9b0a
21
var/spack/repos/builtin/packages/py-about-time/package.py
Normal file
21
var/spack/repos/builtin/packages/py-about-time/package.py
Normal file
@ -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")
|
@ -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:")
|
21
var/spack/repos/builtin/packages/py-grapheme/package.py
Normal file
21
var/spack/repos/builtin/packages/py-grapheme/package.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user