commit:     04f2078f66ec4018a867f29172c99970e063ed42
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Sun Jul 13 21:31:41 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Fri Jul 18 09:29:13 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=04f2078f

dev-python/umap-learn: add ebuild

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Part-of: https://github.com/gentoo/sci/pull/1369
Closes: https://github.com/gentoo/sci/pull/1369
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/umap-learn/metadata.xml               | 11 +++++++++
 dev-python/umap-learn/umap-learn-0.5.9_p2.ebuild | 29 ++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/umap-learn/metadata.xml 
b/dev-python/umap-learn/metadata.xml
new file mode 100644
index 000000000..62f647ee8
--- /dev/null
+++ b/dev-python/umap-learn/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">umap-learn</remote-id>
+               <remote-id type="github">lmcinnes/umap</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/umap-learn/umap-learn-0.5.9_p2.ebuild 
b/dev-python/umap-learn/umap-learn-0.5.9_p2.ebuild
new file mode 100644
index 000000000..d2e402118
--- /dev/null
+++ b/dev-python/umap-learn/umap-learn-0.5.9_p2.ebuild
@@ -0,0 +1,29 @@
+# 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
+
+DESCRIPTION="Uniform Manifold Approximation and Projection – fast non-linear 
dimension reduction"
+HOMEPAGE="https://github.com/lmcinnes/umap";
+SRC_URI="https://github.com/lmcinnes/umap/archive/release-${PV/_p/.post}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/umap-release-${PV/_p/.post}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/numba[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pynndescent[${PYTHON_USEDEP}]
+       dev-python/scipy[${PYTHON_USEDEP}]
+       dev-python/scikit-learn[${PYTHON_USEDEP}]
+       dev-python/tqdm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest

Reply via email to