diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-06 16:19:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-06 16:19:28 +0000 |
commit | 9afce155a599e5f4518f3c7913b6424ac13be12e (patch) | |
tree | 60420eafdcf940c0e4555d9aa8e4e9017a646344 /sci-libs/scikit-learn | |
parent | eb7aa327b218d640c8bda63ba0fd1ace2bd2d17b (diff) |
gentoo auto-resync : 06:11:2023 - 16:19:27
Diffstat (limited to 'sci-libs/scikit-learn')
-rw-r--r-- | sci-libs/scikit-learn/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/scikit-learn/scikit-learn-1.3.2.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sci-libs/scikit-learn/Manifest b/sci-libs/scikit-learn/Manifest index f517b9e2ab1a..9dc21d588c90 100644 --- a/sci-libs/scikit-learn/Manifest +++ b/sci-libs/scikit-learn/Manifest @@ -1,3 +1,5 @@ DIST scikit-learn-1.1.2.gh.tar.gz 7104556 BLAKE2B e67e1deddf5a1134b57a146e8271a406cb257ffc92c9719e90f5b9d98e711b68bc67e3367660ecaad61aaec1794bb8999b4dd00b7d56e21eca8fcb2ee72cc9aa SHA512 58789c1e607d7de3339fa3b8928553ca96cef93e8da8fd13612aa78e5ebde8e6a55e3bf7845f9a45b78ed77da6a219d08d2c26318b602f937e0e3debd239293e +DIST scikit-learn-1.3.2.gh.tar.gz 7650823 BLAKE2B 170699917f46d6d3f4b9ebc314bc1ec45687dad0a4aec5d2cee6e288b5dbe508bad6dd80406501f289a33593c6482067393e9dc28155f85a4872a34523bf4199 SHA512 a3799e9b39b755a50ba225f836904a378f7d83a08274c614d0485e4d4d4a7b0c7adba2dbb6612f2ccb4e5167f872214a2853eff69d767dc70f52369bda7a230b EBUILD scikit-learn-1.1.2.ebuild 1629 BLAKE2B e1ee3c014014278883a44f947f01bbfaa79ff13ccdfdb846bf5de87db9ce4cf13642bcaaf131d0515a410a1cae930078557cb632e1aadd79bfce8c9e0e723dce SHA512 fa04eea3aef64d81a7bf9957aaffffb509eeb36efebbf1e7184ad91060e528710b1efce8d8b68b0f775786aab3353f95ba3e06f5825e87776ab8f75d3b03447e +EBUILD scikit-learn-1.3.2.ebuild 1551 BLAKE2B 6ecce9433f6ec349665045d7e95993b67ec023e10753ecbc4965229dff96f76ea0a0e9327d5fcc40ce9f31923be90c6bb99f3b276a68f5a2e3412fb68c2f232a SHA512 a13767d4e714fdda6de61d459a3e8490d2f3508f60a736fe41dbe1c50362950cf64ecf05791b5258b8ed0b0f2e883b594d799a08acbb85beeb5eced5984067d5 MISC metadata.xml 614 BLAKE2B b5425c2d022592581647c9b97c0ab22bfc2afe347b2e5ea22f141245238f145322f39406c62318ba1e6af1462b2691267b39976bfde38faaf1d28b1d29c4e015 SHA512 74ac79123848bc385c29fcfdc4a1e780529dda685c1deb5eb722f5d4919ee6ac9d80798d52c4af0be0cc8dbbaea3784963dd97e2b7c1258cc2f5605b0bc8907a diff --git a/sci-libs/scikit-learn/scikit-learn-1.3.2.ebuild b/sci-libs/scikit-learn/scikit-learn-1.3.2.ebuild new file mode 100644 index 000000000000..4618b7e65231 --- /dev/null +++ b/sci-libs/scikit-learn/scikit-learn-1.3.2.ebuild @@ -0,0 +1,60 @@ +# 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..12} ) + +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 ~riscv ~x86 ~arm64-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + virtual/blas:= + virtual/cblas:= +" +RDEPEND=" + ${DEPEND} + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +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 \ +# sci-libs/scikit-image + +python_test() { + # This needs to be run in the install dir + cd "${WORKDIR}/${P}-${EPYTHON//./_}/install/usr/lib/${EPYTHON}/site-packages/sklearn" || die + distutils-r1_python_test +} + +python_install_all() { + find "${S}" -name \*LICENSE.txt -delete || die + distutils-r1_python_install_all + use examples && dodoc -r examples +} |