commit: 45d74469e4994aba4bbec41fa37e212057bb9d3a Author: Michael Schubert <mschu.dev <AT> gmail <DOT> com> AuthorDate: Sun Jul 13 21:25:09 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Fri Jul 18 09:29:12 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=45d74469
dev-python/pynndescent: add ebuild Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com> Part-of: https://github.com/gentoo/sci/pull/1369 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> dev-python/pynndescent/metadata.xml | 11 ++++++++++ dev-python/pynndescent/pynndescent-0.5.13.ebuild | 26 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/pynndescent/metadata.xml b/dev-python/pynndescent/metadata.xml new file mode 100644 index 000000000..e8967207f --- /dev/null +++ b/dev-python/pynndescent/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Michael Schubert</name> + </maintainer> + <upstream> + <remote-id type="pypi">pynndescent</remote-id> + <remote-id type="github">lmcinnes/pynndescent</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pynndescent/pynndescent-0.5.13.ebuild b/dev-python/pynndescent/pynndescent-0.5.13.ebuild new file mode 100644 index 000000000..1112fb693 --- /dev/null +++ b/dev-python/pynndescent/pynndescent-0.5.13.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast approximate nearest-neighbour search via Nearest-Neighbour Descent" +HOMEPAGE="https://pynndescent.readthedocs.io/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/scikit-learn[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/numba[${PYTHON_USEDEP}] + dev-python/llvmlite[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest
