summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-01-27 15:23:20 -0500
committerGitHub <noreply@github.com>2021-01-27 14:23:20 -0600
commit54f163f7dca8fabe370ed57040aa95295cbaf631 (patch)
treeccbdc1304c9f7880af775d02aa459f0f4adcdae1
parent3cbc35dbdd335c7030d29b130484e83028570122 (diff)
downloadspack-54f163f7dca8fabe370ed57040aa95295cbaf631.tar.gz
spack-54f163f7dca8fabe370ed57040aa95295cbaf631.tar.bz2
spack-54f163f7dca8fabe370ed57040aa95295cbaf631.tar.xz
spack-54f163f7dca8fabe370ed57040aa95295cbaf631.zip
py-jsonpath-ng: new recipe (#21347)
-rw-r--r--var/spack/repos/builtin/packages/py-jsonpath-ng/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py b/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py
new file mode 100644
index 0000000000..4929e20a1c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py
@@ -0,0 +1,23 @@
+# 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 PyJsonpathNg(PythonPackage):
+ """A final implementation of JSONPath for Python that aims to be
+ standard compliant, including arithmetic and binary comparison
+ operators."""
+
+ homepage = "https://github.com/h2non/jsonpath-ng"
+ pypi = "jsonpath-ng/jsonpath-ng-1.5.2.tar.gz"
+
+ version('1.5.2', sha256='144d91379be14d9019f51973bd647719c877bfc07dc6f3f5068895765950c69d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-ply', type=('build', 'run'))
+ depends_on('py-decorator', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))