# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{12..14} ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 inherit distutils-r1 pypi DESCRIPTION="A high performance implementation of HDBSCAN clustering" HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" RDEPEND=" dev-python/joblib[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] dev-python/scikit-learn[${PYTHON_USEDEP}] " DEPEND="dev-python/numpy[${PYTHON_USEDEP}]" BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" EPYTEST_PLUGINS=() distutils_enable_tests pytest python_test() { cd "${T}" || die epytest --pyargs hdbscan.tests }