summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sqlitedict/package.py
blob: 6d614d1babf9ac8cac747e20af1c4559c0ba805d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 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"

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

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