summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2020-01-07 16:40:22 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-07 16:40:22 -0600
commit3e8b4a9b241fb65f8a649b7f217cf66584886a6a (patch)
treeab0d3af0c386aa1e832400752e01a8baf9658c79
parenta24498f7ba769757f764c3e39e4dbb03172a3eea (diff)
downloadspack-3e8b4a9b241fb65f8a649b7f217cf66584886a6a.tar.gz
spack-3e8b4a9b241fb65f8a649b7f217cf66584886a6a.tar.bz2
spack-3e8b4a9b241fb65f8a649b7f217cf66584886a6a.tar.xz
spack-3e8b4a9b241fb65f8a649b7f217cf66584886a6a.zip
py-rapidjson: new package at 0.9.1 (#14280)
* py-rapidjson: new package at 0.9.1 * py-rapidjson: rename to py-python-rapidjson, use PyPI mirror * py-python-rapidjson: add missing deps * python-rapidjson: use short PyPI url * py-python-rapidjson: remove extra dependencies
-rw-r--r--var/spack/repos/builtin/packages/py-python-rapidjson/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-rapidjson/package.py b/var/spack/repos/builtin/packages/py-python-rapidjson/package.py
new file mode 100644
index 0000000000..3715c34b64
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-rapidjson/package.py
@@ -0,0 +1,18 @@
+# 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 PyPythonRapidjson(PythonPackage):
+ """Python wrapper around rapidjson."""
+
+ homepage = "https://github.com/python-rapidjson/python-rapidjson"
+ url = "https://pypi.io/packages/source/p/python-rapidjson/python-rapidjson-0.9.1.tar.gz"
+
+ version('0.9.1', sha256='ad80bd7e4bb15d9705227630037a433e2e2a7982b54b51de2ebabdd1611394a1')
+
+ depends_on('python@3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')