summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPaulo Baraldi Mausbach <pbmausbach@hotmail.com>2022-09-20 17:47:08 -0300
committerGitHub <noreply@github.com>2022-09-20 15:47:08 -0500
commit16692b802b7271d7db33212b9f314ae26ef95bad (patch)
tree4323741f5a2daf3814f229310188316a692523f4 /var
parentfd66f55e3c53aec5736a091d445acdfd641274b5 (diff)
downloadspack-16692b802b7271d7db33212b9f314ae26ef95bad.tar.gz
spack-16692b802b7271d7db33212b9f314ae26ef95bad.tar.bz2
spack-16692b802b7271d7db33212b9f314ae26ef95bad.tar.xz
spack-16692b802b7271d7db33212b9f314ae26ef95bad.zip
New python package support: py-river (#32718)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-river/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-river/package.py b/var/spack/repos/builtin/packages/py-river/package.py
new file mode 100644
index 0000000000..567f9cbb5f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-river/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2022 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.package import *
+
+
+class PyRiver(PythonPackage):
+ """River is a Python library for online machine learning. It aims to be the most
+ user-friendly library for doing machine learning on streaming data. River is the
+ result of a merge between creme and scikit-multiflow."""
+
+ homepage = "https://riverml.xyz/0.13.0/"
+ pypi = "river/river-0.13.0.tar.gz"
+
+ version("0.13.0", sha256="9d068b7a9db32302fbd581af81315681dfe61774a5d777fb3d5982d3c3061340")
+
+ # pyproject.toml
+ depends_on("py-cython", type="build")
+ depends_on("py-setuptools", type="build")
+ depends_on("py-setuptools-rust", type="build")
+
+ # setup.py
+ depends_on("python@3.8:", type=("build", "run"))
+ depends_on("py-numpy@1.22:", type=("build", "run"))
+ depends_on("py-scipy@1.5:", type=("build", "run"))
+ depends_on("py-pandas@1.3:", type=("build", "run"))