summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-01-27 15:46:40 -0500
committerGitHub <noreply@github.com>2021-01-27 14:46:40 -0600
commit895c8b33d9210236a5c41767e1fe68a9d9c43287 (patch)
tree5e739921f5db252b2990c4e45d4e74782ac60216 /var
parent68a144eaa398cea32c2e42fc76ac98862b1aa59f (diff)
downloadspack-895c8b33d9210236a5c41767e1fe68a9d9c43287.tar.gz
spack-895c8b33d9210236a5c41767e1fe68a9d9c43287.tar.bz2
spack-895c8b33d9210236a5c41767e1fe68a9d9c43287.tar.xz
spack-895c8b33d9210236a5c41767e1fe68a9d9c43287.zip
py-dpath: new recipe (#21331)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-dpath/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dpath/package.py b/var/spack/repos/builtin/packages/py-dpath/package.py
new file mode 100644
index 0000000000..ceab57e57b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dpath/package.py
@@ -0,0 +1,19 @@
+# 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 PyDpath(PythonPackage):
+ """A python library for accessing and searching dictionaries via
+ /slashed/paths ala xpath."""
+
+ homepage = "https://github.com/akesterson/dpath-python"
+ pypi = "dpath/dpath-2.0.1.tar.gz"
+
+ version('2.0.1', sha256='bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa')
+
+ depends_on('python@2.7:', type=('build', 'run'))