summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fastcluster/package.py
blob: f518a1514ef01dbaf6f0b2fa9cfcfb35b99e4b7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyFastcluster(PythonPackage):
    """Fast hierarchical clustering routines for R and Python."""

    homepage = "http://danifold.net/"
    pypi = "fastcluster/fastcluster-1.1.26.tar.gz"

    license("BSD-2-Clause")

    version("1.1.26", sha256="a202f44a3b06f5cf9cdba3c67d6c523288922d6e6a1cdf737292f93759aa82f7")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy@1.9:", type=("build", "run"))