summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-addict/package.py
blob: 71e8d8ff001a55658a95f1558f3772dca005d44d (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-2023 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 PyAddict(PythonPackage):
    """addict is a Python module that gives you dictionaries
    whose values are both gettable and settable using
    attributes, in addition to standard item-syntax."""

    homepage = "https://github.com/mewwts/addict"
    url = "https://github.com/mewwts/addict/archive/v2.2.1.tar.gz"

    license("MIT")

    version("2.2.1", sha256="398bba9e7fa25e2ce144c5c4b8ec6208e89b9445869403dfa88ab66ec110fa12")

    depends_on("py-setuptools", type="build")