summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sqlitedict/package.py
blob: 4fec064f93b06dc74cb33b174d5b83cbba79d3b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2024 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 PySqlitedict(PythonPackage):
    """Persistent dict in Python, backed up by sqlite3 and pickle, multithread-safe."""

    homepage = "https://github.com/piskvorky/sqlitedict"
    pypi = "sqlitedict/sqlitedict-2.1.0.tar.gz"

    license("Apache-2.0")

    version("2.1.0", sha256="03d9cfb96d602996f1d4c2db2856f1224b96a9c431bdd16e78032a72940f9e8c")

    depends_on("python@3.7:", type=("build", "run"))
    depends_on("py-setuptools", type="build")