diff --git a/var/spack/repos/builtin/packages/py-addict/package.py b/var/spack/repos/builtin/packages/py-addict/package.py new file mode 100644 index 0000000000000000000000000000000000000000..b4b27f9975bbc7aaf8f007a1d1f59c975b9a0818 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-addict/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2019 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 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" + + version('2.2.1', sha256='398bba9e7fa25e2ce144c5c4b8ec6208e89b9445869403dfa88ab66ec110fa12') + + depends_on('py-setuptools', type='build')