summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyrfr/package.py
blob: 6598e229ee679015675bb9f5047a93b13894fbcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyPyrfr(PythonPackage):
    """This package serves as the python interface to RFR, an
    extensible C++ librarry for random forests."""

    homepage = "https://automl.github.io/random_forest_run/installation.html"
    pypi = "pyrfr/pyrfr-0.8.2.tar.gz"

    license("BSD-3-Clause")

    version("0.8.2", sha256="c18a6e8f0bd971c1ea449b6dd0997a6ec1fe9a031883400bdcc95fa5ddd65975")

    depends_on("python@3:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("swig")