[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>
This commit is contained in:
Matthieu Dorier 2022-09-22 22:32:19 +02:00 committed by GitHub
parent 4094e59ab8
commit b18ab062cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")