summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMatthieu Dorier <matthieu.dorier@gmail.com>2022-09-22 22:32:19 +0200
committerGitHub <noreply@github.com>2022-09-22 15:32:19 -0500
commitb18ab062cf2b4595c62a2a3b66143a412919d259 (patch)
treef39dd3a62a1549d4f5ea49135af9c54e7e75e84d /var
parent4094e59ab86284ee955bb91bfc4f59cb4ebd3e8b (diff)
downloadspack-b18ab062cf2b4595c62a2a3b66143a412919d259.tar.gz
spack-b18ab062cf2b4595c62a2a3b66143a412919d259.tar.bz2
spack-b18ab062cf2b4595c62a2a3b66143a412919d259.tar.xz
spack-b18ab062cf2b4595c62a2a3b66143a412919d259.zip
[py-tinydb] Added package py-tinydb (#32752)
* [py-tinydb] added package py-tinydb * [py-tinydb] corrected version in dependency for py-tinydb * [py-tinydb] update python dependency Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * [py-tinydb] update dependency Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-tinydb/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tinydb/package.py b/var/spack/repos/builtin/packages/py-tinydb/package.py
new file mode 100644
index 0000000000..09f22a65c5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-tinydb/package.py
@@ -0,0 +1,20 @@
+# 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 PyTinydb(PythonPackage):
+ """TinyDB is a tiny, document oriented database optimized for your happiness."""
+
+ homepage = "https://tinydb.readthedocs.io"
+ pypi = "tinydb/tinydb-4.7.0.tar.gz"
+
+ version("4.7.0", sha256="357eb7383dee6915f17b00596ec6dd2a890f3117bf52be28a4c516aeee581100")
+
+ depends_on("python@3.6:3", type=("build", "run"))
+ depends_on("py-poetry-core", type="build")
+ depends_on("py-typing-extensions@3.10.0:4", type=("build", "run"), when="^python@:3.7")