summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-06-16 01:42:36 -0500
committerGreg Becker <becker33@llnl.gov>2019-06-16 08:42:35 +0200
commit2a15ab42fe48578da4dcb43df44240aa5b1ba633 (patch)
treed984a0e32110ef2d5bfe8a927a57f336e1c18a8f
parent07a90b214b84cffd41ecc7d5a91e00f454dbe162 (diff)
downloadspack-2a15ab42fe48578da4dcb43df44240aa5b1ba633.tar.gz
spack-2a15ab42fe48578da4dcb43df44240aa5b1ba633.tar.bz2
spack-2a15ab42fe48578da4dcb43df44240aa5b1ba633.tar.xz
spack-2a15ab42fe48578da4dcb43df44240aa5b1ba633.zip
Add new package py-jmespath (#11719)
-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')