summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2022-02-16 17:21:09 +0100
committerGitHub <noreply@github.com>2022-02-16 10:21:09 -0600
commite84a2db23d68d06d22e2d52a43f2ca25e2da6997 (patch)
tree3452d85016cf0e91a62cb785a2880318dd012feb
parent5c1edbe00ac32de4eeac7416ded15fd9f3693596 (diff)
downloadspack-e84a2db23d68d06d22e2d52a43f2ca25e2da6997.tar.gz
spack-e84a2db23d68d06d22e2d52a43f2ca25e2da6997.tar.bz2
spack-e84a2db23d68d06d22e2d52a43f2ca25e2da6997.tar.xz
spack-e84a2db23d68d06d22e2d52a43f2ca25e2da6997.zip
py-tomli-w: add new package (#29007)
-rw-r--r--var/spack/repos/builtin/packages/py-tomli-w/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tomli-w/package.py b/var/spack/repos/builtin/packages/py-tomli-w/package.py
new file mode 100644
index 0000000000..9093d39458
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-tomli-w/package.py
@@ -0,0 +1,18 @@
+# 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 PyTomliW(PythonPackage):
+ """A lil' TOML writer."""
+
+ homepage = "https://github.com/hukkin/tomli-w"
+ pypi = "tomli_w/tomli_w-1.0.0.tar.gz"
+
+ version('1.0.0', sha256='f463434305e0336248cac9c2dc8076b707d8a12d019dd349f5c1e382dd1ae1b9')
+
+ depends_on('python@3.7:', type=('build', 'run'))
+ depends_on('py-flit-core@3.2.0:3', type='build')