summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond <odesmond21@gmail.com>2020-11-03 12:35:26 -0600
committerGitHub <noreply@github.com>2020-11-03 12:35:26 -0600
commit95d63afa58e0a4ab8fd89fd33075862b4cfdcff6 (patch)
tree47678f153920e1f0e3f68406dfd71e83d8024c27
parentb9d12c93efcf42e6b9e8b439ea14c20e721d1cc4 (diff)
downloadspack-95d63afa58e0a4ab8fd89fd33075862b4cfdcff6.tar.gz
spack-95d63afa58e0a4ab8fd89fd33075862b4cfdcff6.tar.bz2
spack-95d63afa58e0a4ab8fd89fd33075862b4cfdcff6.tar.xz
spack-95d63afa58e0a4ab8fd89fd33075862b4cfdcff6.zip
Package/py json get (#19689)
* py-json-get: new package at 1.1.1 * py-json-get: new package at 1.1.1 Co-authored-by: las_djorton <las_djorton@build.las.iastate.edu>
-rw-r--r--var/spack/repos/builtin/packages/py-json-get/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-json-get/package.py b/var/spack/repos/builtin/packages/py-json-get/package.py
new file mode 100644
index 0000000000..2e178d1fa8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-json-get/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2020 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 PyJsonGet(PythonPackage):
+ """Get values from JSON objects usings a path expression."""
+
+ homepage = "https://github.com/srittau/python-json-get"
+ url = "https://github.com/srittau/python-json-get/archive/v1.1.1.tar.gz"
+
+ version('1.1.1', sha256='0d436f1f2dc8c51ab0249d964bb7f176d724131f76c14adf6fc4687e68ec37ab')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build'))