summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-mlxtend/package.py
blob: 6b2aaf640f7451a8f6e2506057a244cad7efb80c (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
# Copyright 2013-2023 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 PyMlxtend(PythonPackage):
    """Mlxtend (machine learning extensions) is a Python library of useful
    tools for the day-to-day data science tasks."""

    homepage = "https://rasbt.github.io/mlxtend/"
    url = "https://github.com/rasbt/mlxtend/archive/v0.16.0.tar.gz"

    version("0.16.0", sha256="38789b36173630bf18e2244b035e7e6b44a87a0ae65cf04935cd2eecbf6595a1")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy@1.10.4:", type=("build", "run"))
    depends_on("py-scipy@0.17:", type=("build", "run"))
    depends_on("py-pandas@0.17.1:", type=("build", "run"))
    depends_on("py-scikit-learn@0.18:", type=("build", "run"))
    depends_on("py-matplotlib@1.5.1:", type=("build", "run"))