34 lines
826 B
Bash
34 lines
826 B
Bash
|
# Copyright 2021-2023 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||
|
DISTUTILS_USE_PEP517=setuptools
|
||
|
inherit distutils-r1
|
||
|
|
||
|
DESCRIPTION="A high performance implementation of HDBSCAN clustering."
|
||
|
HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan"
|
||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="test"
|
||
|
# Reported upstream:
|
||
|
# https://github.com/scikit-learn-contrib/hdbscan/issues/501
|
||
|
RESTRICT="test"
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="
|
||
|
dev-python/cython[${PYTHON_USEDEP}]
|
||
|
dev-python/joblib[${PYTHON_USEDEP}]
|
||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||
|
dev-python/scipy[${PYTHON_USEDEP}]
|
||
|
dev-python/six[${PYTHON_USEDEP}]
|
||
|
sci-libs/scikit-learn[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
BDEPEND=""
|
||
|
|
||
|
distutils_enable_tests pytest
|