summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2020-05-09 14:05:33 -0400
committerGitHub <noreply@github.com>2020-05-09 13:05:33 -0500
commit54fee4b400a5d37f3208ec53e1b45965b9942886 (patch)
tree8d5d65a17a599b73d236069226edd1ef0497be8f /var
parenta868b1c756fa6ec6593a0a2ffa96203a111873e4 (diff)
downloadspack-54fee4b400a5d37f3208ec53e1b45965b9942886.tar.gz
spack-54fee4b400a5d37f3208ec53e1b45965b9942886.tar.bz2
spack-54fee4b400a5d37f3208ec53e1b45965b9942886.tar.xz
spack-54fee4b400a5d37f3208ec53e1b45965b9942886.zip
New package: py-addict (#16535)
* [py-addict] created template * [py-addict] added homepage and description * [py-addict] cleaned up fixmes * [py-addict] depends on py-setuptools
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-addict/package.py19
1 files changed, 19 insertions, 0 deletions
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 0000000000..b4b27f9975
--- /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')