summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmlapre <110123055+jmlapre@users.noreply.github.com>2024-03-08 07:45:25 -0500
committerGitHub <noreply@github.com>2024-03-08 06:45:25 -0600
commit772928241b2e721724cbaa4a3a07a6ce0753c0e7 (patch)
treeebb07a217a454b4baa4d8c639b60843edbfa147f
parent7440bb4c36fb2482b86abdf3bf90db6123cf9269 (diff)
downloadspack-772928241b2e721724cbaa4a3a07a6ce0753c0e7.tar.gz
spack-772928241b2e721724cbaa4a3a07a6ce0753c0e7.tar.bz2
spack-772928241b2e721724cbaa4a3a07a6ce0753c0e7.tar.xz
spack-772928241b2e721724cbaa4a3a07a6ce0753c0e7.zip
py-cheap-repr: new package (#42944)
* py_cheap_repr: add initial package.py * Update var/spack/repos/builtin/packages/py-cheap-repr/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * py-cheap-repr: use pypi link instead --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-cheap-repr/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cheap-repr/package.py b/var/spack/repos/builtin/packages/py-cheap-repr/package.py
new file mode 100644
index 0000000000..6b33e9734e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cheap-repr/package.py
@@ -0,0 +1,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 PyCheapRepr(PythonPackage):
+ """This library provides short, fast, configurable string representations,
+ and an easy API for registering your own. It's an improvement of the
+ standard library module reprlib (repr in Python 2)."""
+
+ pypi = "cheap-repr/cheap_repr-0.5.1.tar.gz"
+
+ license("MIT", checked_by="jmlapre")
+
+ version("0.5.1", sha256="31ec63b9d8394aa23d746c8376c8307f75f9fca0b983566b8bcf13cc661fe6dd")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-setuptools-scm+toml", type="build")