blob: 1c678fb9d6bbd00e9dfaf7172293b414575be95c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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 PyGlmnet(PythonPackage):
"""
This is a Python wrapper for the fortran library used in the R package
glmnet.
"""
homepage = "https://github.com/civisanalytics/python-glmnet"
pypi = "glmnet/glmnet-2.2.1.tar.gz"
version('2.2.1', sha256='3222bca2e901b3f60c2dc22df7aeba6bb9c7b6451b44cbbe1b91084b66f14481')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type=('build'))
depends_on('py-numpy@1.9.2:', type=('build', 'run'))
depends_on('py-scikit-learn@0.18.0:', type=('build', 'run'))
depends_on('py-scipy@0.14.1:', type=('build', 'run'))
depends_on('py-joblib@0.14.1:', type=('build', 'run'))
|