diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2022-05-20 19:37:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 10:37:55 -0700 |
commit | 74bef2105a75871b9513d4473e50f6fa7b352e98 (patch) | |
tree | 6df269e35ea275637a42551bbfb0ef46a8b7764f /var | |
parent | 630ebb9d8b55e4cb6836dda0b88a3ffed0938d4f (diff) | |
download | spack-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.py | 17 |
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') |