diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-kosh/package.py | 28 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-llnl-sina/no_orjson.patch (renamed from var/spack/repos/builtin/packages/py-sina/no_orjson.patch) | 0 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-llnl-sina/package.py (renamed from var/spack/repos/builtin/packages/py-sina/package.py) | 2 |
3 files changed, 29 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-kosh/package.py b/var/spack/repos/builtin/packages/py-kosh/package.py new file mode 100644 index 0000000000..22ba0bdf49 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-kosh/package.py @@ -0,0 +1,28 @@ +# 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 PyKosh(PythonPackage): + """ + Kosh allows codes to store, query, share data via an easy-to-use Python API. + Kosh lies on top of Sina and can use any database backend supported by Sina. + In adition Kosh aims to make data access and sharing as simple as possible. + """ + + homepage = "https://github.com/LLNL/kosh" + url = "https://github.com/LLNL/kosh/archive/refs/tags/v2.0.tar.gz" + + # notify when the package is updated. + maintainers = ['doutriaux1'] + + version('2.0', sha256='059e431e3d3219b53956cb464d9e10933ca141dc89662f55d9c633e35c8b3a1e') + + depends_on('py-setuptools', type='build') + depends_on("py-llnl-sina@1.11", type=("build", "run")) + depends_on("py-networkx", type=("build", "run")) + depends_on("py-numpy", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-sina/no_orjson.patch b/var/spack/repos/builtin/packages/py-llnl-sina/no_orjson.patch index de937f4157..de937f4157 100644 --- a/var/spack/repos/builtin/packages/py-sina/no_orjson.patch +++ b/var/spack/repos/builtin/packages/py-llnl-sina/no_orjson.patch diff --git a/var/spack/repos/builtin/packages/py-sina/package.py b/var/spack/repos/builtin/packages/py-llnl-sina/package.py index 845a783d04..c7c01757e3 100644 --- a/var/spack/repos/builtin/packages/py-sina/package.py +++ b/var/spack/repos/builtin/packages/py-llnl-sina/package.py @@ -7,7 +7,7 @@ from spack import * -class PySina(PythonPackage): +class PyLlnlSina(PythonPackage): """Sina allows codes to store, query, and visualize their data through an easy-to-use Python API. Data that fits its recognized schema can be ingested into one or more supported backends. |