summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBryan Herman <63422190+bryanherman@users.noreply.github.com>2021-02-05 11:38:17 -0500
committerGitHub <noreply@github.com>2021-02-05 10:38:17 -0600
commit67667c96db5deaed676cc676860c6fc485c2588a (patch)
treed2589afc72a48dfc89930525e582289f59e8b133 /var
parent204e8f4fa4671057b00632b28094125b3492e0d2 (diff)
downloadspack-67667c96db5deaed676cc676860c6fc485c2588a.tar.gz
spack-67667c96db5deaed676cc676860c6fc485c2588a.tar.bz2
spack-67667c96db5deaed676cc676860c6fc485c2588a.tar.xz
spack-67667c96db5deaed676cc676860c6fc485c2588a.zip
py-python-benedict: new package (#21501)
* added py-python-benedict recipe * Update var/spack/repos/builtin/packages/py-python-benedict/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-python-benedict/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-benedict/package.py b/var/spack/repos/builtin/packages/py-python-benedict/package.py
new file mode 100644
index 0000000000..ae7bd82821
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-benedict/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 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 PyPythonBenedict(PythonPackage):
+ """A dict subclass with keylist/keypath support, I/O shortcuts
+ and many utilities."""
+
+ homepage = "https://github.com/fabiocaccamo/python-benedict"
+ pypi = "python-benedict/python-benedict-0.22.2.tar.gz"
+
+ version('0.23.2', sha256='b7bdffd92ba1c9b9e044bda08ed545a48a45bd7a5207f93b4b2a8eb2660d1b4c')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-ftfy@4.4.3', when='python@:3.3.999', type=('build', 'run'))
+ depends_on('py-ftfy', when='python@3.4:', type=('build', 'run'))
+ depends_on('py-mailchecker', type=('build', 'run'))
+ depends_on('py-phonenumbers', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-python-fsutil', type=('build', 'run'))
+ depends_on('py-python-slugify', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-toml', type=('build', 'run'))
+ depends_on('py-xmltodict', type=('build', 'run'))