summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-jmespath/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jmespath/package.py b/var/spack/repos/builtin/packages/py-jmespath/package.py
new file mode 100644
index 0000000000..43727153f4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-jmespath/package.py
@@ -0,0 +1,20 @@
+# 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 PyJmespath(PythonPackage):
+ """JSON Matching Expressions."""
+
+ homepage = "https://github.com/jmespath/jmespath.py"
+ url = "https://pypi.io/packages/source/j/jmespath/jmespath-0.9.4.tar.gz"
+
+ import_modules = ['jmespath']
+
+ version('0.9.4', sha256='bde2aef6f44302dfb30320115b17d030798de8c4110e28d5cf6cf91a7a31074c')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-nose', type='test')