summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-11-17 23:13:19 -0600
committerGitHub <noreply@github.com>2021-11-17 23:13:19 -0600
commitb260efd9c4511c9065834758ed0bf48cf3ee8f47 (patch)
tree156a167bc654170f3624b5e17c8b4d3f131dd513 /var
parentb4fcb4d43c30d0f00166aa7e2c059dca28543f74 (diff)
downloadspack-b260efd9c4511c9065834758ed0bf48cf3ee8f47.tar.gz
spack-b260efd9c4511c9065834758ed0bf48cf3ee8f47.tar.bz2
spack-b260efd9c4511c9065834758ed0bf48cf3ee8f47.tar.xz
spack-b260efd9c4511c9065834758ed0bf48cf3ee8f47.zip
new package: py-scikit-learn-extra (#27439)
* new package: py-scikit-learn-extra * Remove extra blank line * Add missing py-cython dependency
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-learn-extra/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-scikit-learn-extra/package.py b/var/spack/repos/builtin/packages/py-scikit-learn-extra/package.py
new file mode 100644
index 0000000000..03f06e7865
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-scikit-learn-extra/package.py
@@ -0,0 +1,27 @@
+# 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 PyScikitLearnExtra(PythonPackage):
+ """A set of useful tools compatible with scikit-learn
+
+ scikit-learn-extra is a Python module for machine learning that extends
+ scikit-learn. It includes algorithms that are useful but do not satisfy the
+ scikit-learn inclusion criteria, for instance due to their novelty or lower
+ citation number."""
+
+ homepage = "https://github.com/scikit-learn-contrib/scikit-learn-extra"
+ pypi = "scikit-learn-extra/scikit-learn-extra-0.2.0.tar.gz"
+
+ version('0.2.0', sha256='3b1bb5fedde47920eb4b3fa0a0c18f80cc7359d9d0496720178788c6153b8019')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython@0.28.5:', type='build')
+ depends_on('py-numpy@1.13.3:', type=('build', 'run'))
+ depends_on('py-scipy@0.19.1:', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.23:', type=('build', 'run'))