summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorCharles Doutriaux <doutriaux1@llnl.gov>2022-01-19 08:14:31 -0800
committerGitHub <noreply@github.com>2022-01-19 09:14:31 -0700
commit192f5cf66d835969f8e6a9fd29fb1542ae8272da (patch)
treee2b6778ce57dc53e7242a93645ec5d14d7b314bb /var
parent22426f17d17d2933f119398422bde572156942d5 (diff)
downloadspack-192f5cf66d835969f8e6a9fd29fb1542ae8272da.tar.gz
spack-192f5cf66d835969f8e6a9fd29fb1542ae8272da.tar.bz2
spack-192f5cf66d835969f8e6a9fd29fb1542ae8272da.tar.xz
spack-192f5cf66d835969f8e6a9fd29fb1542ae8272da.zip
Adding Kosh python package v2.0 (#28426)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-kosh/package.py28
-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.