diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
commit | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (patch) | |
tree | 83e283f960ab2ebbc1a042b8ed6c37b78d47b37b /dev-python/scikit-learn | |
parent | 8435c842b9e8fbb2bcc80397ab3aa655000459e2 (diff) |
gentoo auto-resync : 04:07:2024 - 08:06:07
Diffstat (limited to 'dev-python/scikit-learn')
-rw-r--r-- | dev-python/scikit-learn/Manifest | 2 | ||||
-rw-r--r-- | dev-python/scikit-learn/scikit-learn-1.5.1.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index 896ce64f493c..10495df0ca77 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1,3 +1,5 @@ DIST scikit-learn-1.5.0.gh.tar.gz 7806059 BLAKE2B d58a92fa230ee3f249cd9d9cf2cfd9406e12b0aaed6f3d3360fc5f914b7d690709786477474b95d90711f61b44d5490b01bcb57e36a320235591d3b2520dd9c0 SHA512 dfa6364770a982642c94e70a6ada8d60d3bba5e0a6e1d4acb622c102f176b39ba1c8b5ec8df6a12142afa258974cd606f0bdda4461dc23b7518bfaf71a7319cc +DIST scikit-learn-1.5.1.gh.tar.gz 6944196 BLAKE2B 65ed2016e1caf12e9a347e133b6b3be29b234de7ee8e374859a7235da3ede67a1b4c37a253b62ceb85a1ae3a1e6bc5afea2a0f07f4a7c81f59965614bde52b8c SHA512 f04c988490436d46d8210e68e41969af689810eff3e57098694768d3ccb7c4b919aecb13f36af1534745e56785fbf55c3dc3614497765d5b2f7c5e7e8dfbae05 EBUILD scikit-learn-1.5.0.ebuild 1623 BLAKE2B f2b772c7eca02254e7aa20159eba025cbadc99f7e7df5c5afca4be4b791e3c69da1622aece75e008a35cca946e74e3753df9197bba75effd952c57d70c3f55cd SHA512 c49099fa2cd9846598ab54b5e3792476c95b0ee591f8ddf215b7075ba908572556d61fdc1e27b34b7bf25b144dcce5ff6cb1a367e4d6f2d6e348be0350e4948d +EBUILD scikit-learn-1.5.1.ebuild 1625 BLAKE2B c97373c6c1e259df155c3a26f84f7de3d8e6542b0b96758b2936b6ddf49552574b80cb92fe38d9ec779e1c765bc304c26ca261d68e44aa6a2755612bacf47308 SHA512 cddc9ea7abd2ce8008132fb4527383637c036456b82d21025c68fc857fb72410d4e813633981dcfacf153c40a90e4bf4f9b1370eaf99c0109236397fbf131fbf MISC metadata.xml 614 BLAKE2B b5425c2d022592581647c9b97c0ab22bfc2afe347b2e5ea22f141245238f145322f39406c62318ba1e6af1462b2691267b39976bfde38faaf1d28b1d29c4e015 SHA512 74ac79123848bc385c29fcfdc4a1e780529dda685c1deb5eb722f5d4919ee6ac9d80798d52c4af0be0cc8dbbaea3784963dd97e2b7c1258cc2f5605b0bc8907a diff --git a/dev-python/scikit-learn/scikit-learn-1.5.1.ebuild b/dev-python/scikit-learn/scikit-learn-1.5.1.ebuild new file mode 100644 index 000000000000..0cd7dac9d239 --- /dev/null +++ b/dev-python/scikit-learn/scikit-learn-1.5.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Machine learning library for Python" +HOMEPAGE=" + https://scikit-learn.org/stable/ + https://github.com/scikit-learn/scikit-learn/ + https://pypi.org/project/scikit-learn/ +" +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" + +DEPEND=" + virtual/blas:= + virtual/cblas:= + >=dev-python/numpy-1.19.5:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] + >=dev-python/threadpoolctl-3.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +# For some reason this wants to use urllib to fetch things from the internet +# distutils_enable_sphinx doc \ +# dev-python/matplotlib \ +# dev-python/memory-profiler \ +# dev-python/numpydoc \ +# dev-python/pandas \ +# dev-python/pillow \ +# dev-python/seaborn \ +# dev-python/sphinx-gallery \ +# dev-python/sphinx-prompt \ +# dev-python/scikit-image + +python_test() { + rm -rf sklearn || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs sklearn +} + +python_install_all() { + find "${S}" -name \*LICENSE.txt -delete || die + distutils-r1_python_install_all + use examples && dodoc -r examples +} |