From 87b5258185b17e8fc5cfe8a5fc401eb05f226492 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Fri, 3 Nov 2023 10:58:06 +0100 Subject: [PATCH] Added lib --- sci-libs/scikit-learn/Manifest | 1 + .../scikit-learn/scikit-learn-1.1.2-r1.ebuild | 64 +++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 sci-libs/scikit-learn/Manifest create mode 100644 sci-libs/scikit-learn/scikit-learn-1.1.2-r1.ebuild diff --git a/sci-libs/scikit-learn/Manifest b/sci-libs/scikit-learn/Manifest new file mode 100644 index 0000000..9751f4c --- /dev/null +++ b/sci-libs/scikit-learn/Manifest @@ -0,0 +1 @@ +DIST scikit-learn-1.1.2.gh.tar.gz 7104556 BLAKE2B e67e1deddf5a1134b57a146e8271a406cb257ffc92c9719e90f5b9d98e711b68bc67e3367660ecaad61aaec1794bb8999b4dd00b7d56e21eca8fcb2ee72cc9aa SHA512 58789c1e607d7de3339fa3b8928553ca96cef93e8da8fd13612aa78e5ebde8e6a55e3bf7845f9a45b78ed77da6a219d08d2c26318b602f937e0e3debd239293e diff --git a/sci-libs/scikit-learn/scikit-learn-1.1.2-r1.ebuild b/sci-libs/scikit-learn/scikit-learn-1.1.2-r1.ebuild new file mode 100644 index 0000000..a25f725 --- /dev/null +++ b/sci-libs/scikit-learn/scikit-learn-1.1.2-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Machine learning library for Python" +HOMEPAGE="https://scikit-learn.org/stable/" +SRC_URI="https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +IUSE="examples" + +# Fatal Python error: Segmentation fault +RESTRICT="test" + +DEPEND=" + virtual/blas:= + virtual/cblas:= +" +RDEPEND=" + ${DEPEND} + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/threadpoolctl[${PYTHON_USEDEP}] +" +#