From 23960ed6234a311af41a9358b087a1f1c4894a68 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 20 May 2022 02:28:39 +0200 Subject: py-fracridge: add new package (#30739) --- .../repos/builtin/packages/py-fracridge/package.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-fracridge/package.py diff --git a/var/spack/repos/builtin/packages/py-fracridge/package.py b/var/spack/repos/builtin/packages/py-fracridge/package.py new file mode 100644 index 0000000000..07b622ee45 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-fracridge/package.py @@ -0,0 +1,23 @@ +# 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 import * + + +class PyFracridge(PythonPackage): + """Fractional Ridge Regression.""" + + homepage = "https://nrdg.github.io/fracridge" + pypi = "fracridge/fracridge-1.4.3.tar.gz" + + version('1.4.3', sha256='0446d486f00fea02110567fd9df14b8b2a7b155dc72700af9201873ea11c27cc') + + depends_on('python@3.6:', type=('build', 'run')) + + depends_on('py-setuptools@42:', type='build') + depends_on('py-setuptools-scm+toml@3.4:', type=('build', 'run')) + depends_on('py-scikit-learn@0.23.2', type=('build', 'run')) + depends_on('py-numba', type=('build', 'run')) + depends_on('pil', type=('build', 'run')) -- cgit v1.2.3-60-g2f50