summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2022-05-20 19:37:55 +0200
committerGitHub <noreply@github.com>2022-05-20 10:37:55 -0700
commit74bef2105a75871b9513d4473e50f6fa7b352e98 (patch)
tree6df269e35ea275637a42551bbfb0ef46a8b7764f /var
parent630ebb9d8b55e4cb6836dda0b88a3ffed0938d4f (diff)
downloadspack-74bef2105a75871b9513d4473e50f6fa7b352e98.tar.gz
spack-74bef2105a75871b9513d4473e50f6fa7b352e98.tar.bz2
spack-74bef2105a75871b9513d4473e50f6fa7b352e98.tar.xz
spack-74bef2105a75871b9513d4473e50f6fa7b352e98.zip
py-formatizer: add new package (#30755)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-formatizer/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-formatizer/package.py b/var/spack/repos/builtin/packages/py-formatizer/package.py
new file mode 100644
index 0000000000..f324e85014
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-formatizer/package.py
@@ -0,0 +1,17 @@
+# 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 PyFormatizer(PythonPackage):
+ """Literal string formatting for Python versions older than 3.6."""
+
+ homepage = "https://github.com/fgimian/formatizer"
+ pypi = "formatizer/formatizer-0.1.1.tar.gz"
+
+ version('0.1.1', sha256='3061ced1daa08f1836b79f4a3de16a33a54179331273e0b9c757d27ab339c29f')
+
+ depends_on('py-setuptools', type='build')