[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: 8272957100ecc07c091d57165603797f861b4e35 Author: Sam James gentoo org> AuthorDate: Mon May 20 16:21:29 2024 + Commit: Sam James gentoo org> CommitDate: Mon May 20 16:21:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82729571 dev-python/scikit-learn: fix revbump for numpy := dep Reported by ulm. Fixes: 2f0900933463cd26cf945868c89a653a92b303b1 Signed-off-by: Sam James gentoo.org> .../{scikit-learn-1.4.2.ebuild => scikit-learn-1.4.2-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2-r1.ebuild similarity index 100% rename from dev-python/scikit-learn/scikit-learn-1.4.2.ebuild rename to dev-python/scikit-learn/scikit-learn-1.4.2-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: 2d075bdbd249bd67c2fd5c0ce82c4f5fb1d32acf Author: Michał Górny gentoo org> AuthorDate: Thu May 16 18:31:21 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri May 17 06:25:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d075bdb dev-python/scikit-learn: dev-python/numpy is a DEPEND Signed-off-by: Michał Górny gentoo.org> dev-python/scikit-learn/scikit-learn-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild index eef7795138fe..dc15a4a085ac 100644 --- a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild @@ -28,12 +28,12 @@ IUSE="examples" DEPEND=" virtual/blas:= virtual/cblas:= + >=dev-python/numpy-1.22.3:=[${PYTHON_USEDEP}] " 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.6.0[${PYTHON_USEDEP}] >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] "
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: 151556241f495dfc4dcf5da317063b6ae59c393f Author: Michał Górny gentoo org> AuthorDate: Wed Apr 24 17:07:26 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 24 17:15:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15155624 dev-python/scikit-learn: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/scikit-learn/Manifest | 1 - .../scikit-learn/scikit-learn-1.3.2-r1.ebuild | 78 -- 2 files changed, 79 deletions(-) diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index 03935f21b43f..d71d11216c6d 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1,2 +1 @@ -DIST scikit-learn-1.3.2.gh.tar.gz 7650823 BLAKE2B 170699917f46d6d3f4b9ebc314bc1ec45687dad0a4aec5d2cee6e288b5dbe508bad6dd80406501f289a33593c6482067393e9dc28155f85a4872a34523bf4199 SHA512 a3799e9b39b755a50ba225f836904a378f7d83a08274c614d0485e4d4d4a7b0c7adba2dbb6612f2ccb4e5167f872214a2853eff69d767dc70f52369bda7a230b DIST scikit-learn-1.4.2.gh.tar.gz 7907022 BLAKE2B d52b808ae981883438592ee9155797fedf832181b0fe66c25728aedc43143143d44af190977b22844e3322da77cd21a1ce5c733e254686722df7f4c43029192c SHA512 ac4eea3d1f1f7c7280694d59ccb1e58362e77080f65dc2d4644dc257e874d7ff0d2d5b7abeb18acffc2752382527c6e9bbf5ebc47a8a74a2fab2a543e0220951 diff --git a/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild b/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild deleted file mode 100644 index 1f42ebe8f21a.. --- a/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 2020-2024 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/ - 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:= -" -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/pythran-0.14.0[${PYTHON_USEDEP}] - dev-python/cython[${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() { - local EPYTEST_DESELECT=( - # test broken with newer scipy, fixed upstream - # https://github.com/scikit-learn/scikit-learn/issues/27578 - manifold/tests/test_locally_linear.py::test_singular_matrix - # TODO - gaussian_process/kernels.py::sklearn.gaussian_process.kernels.ExpSineSquared - ) - - 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: c1af0ea80f2a7141c72e77c69682471a64127a86 Author: Sam James gentoo org> AuthorDate: Wed Apr 24 16:15:06 2024 + Commit: Sam James gentoo org> CommitDate: Wed Apr 24 16:15:06 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1af0ea8 dev-python/scikit-learn: Stabilize 1.4.2 ppc64, #930595 Signed-off-by: Sam James gentoo.org> dev-python/scikit-learn/scikit-learn-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild index 13177986300d..eef7795138fe 100644 --- a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" IUSE="examples" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: 86a6ffa38eabdf7a4984794fa941b8899d68e4ea Author: Sam James gentoo org> AuthorDate: Wed Apr 24 16:15:05 2024 + Commit: Sam James gentoo org> CommitDate: Wed Apr 24 16:15:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a6ffa3 dev-python/scikit-learn: Stabilize 1.4.2 amd64, #930595 Signed-off-by: Sam James gentoo.org> dev-python/scikit-learn/scikit-learn-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild index 44aee52544c5..13177986300d 100644 --- a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" IUSE="examples" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: 2f0900933463cd26cf945868c89a653a92b303b1 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 11 11:28:04 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 11 11:47:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f090093 dev-python/scikit-learn: Add := op on dev-python/numpy Signed-off-by: Michał Górny gentoo.org> dev-python/scikit-learn/scikit-learn-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild index fe46263664ae..44aee52544c5 100644 --- a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild @@ -33,7 +33,7 @@ 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/numpy-1.22.3:=[${PYTHON_USEDEP}] >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] "
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: 20a60b6b3837c79423809fc6184388c65b744eab Author: Michał Górny gentoo org> AuthorDate: Wed Apr 10 04:20:34 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 10 05:35:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a60b6b dev-python/scikit-learn: Bump to 1.4.2 Signed-off-by: Michał Górny gentoo.org> dev-python/scikit-learn/Manifest | 1 + dev-python/scikit-learn/scikit-learn-1.4.2.ebuild | 70 +++ 2 files changed, 71 insertions(+) diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index 7023e5de75af..03935f21b43f 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1 +1,2 @@ DIST scikit-learn-1.3.2.gh.tar.gz 7650823 BLAKE2B 170699917f46d6d3f4b9ebc314bc1ec45687dad0a4aec5d2cee6e288b5dbe508bad6dd80406501f289a33593c6482067393e9dc28155f85a4872a34523bf4199 SHA512 a3799e9b39b755a50ba225f836904a378f7d83a08274c614d0485e4d4d4a7b0c7adba2dbb6612f2ccb4e5167f872214a2853eff69d767dc70f52369bda7a230b +DIST scikit-learn-1.4.2.gh.tar.gz 7907022 BLAKE2B d52b808ae981883438592ee9155797fedf832181b0fe66c25728aedc43143143d44af190977b22844e3322da77cd21a1ce5c733e254686722df7f4c43029192c SHA512 ac4eea3d1f1f7c7280694d59ccb1e58362e77080f65dc2d4644dc257e874d7ff0d2d5b7abeb18acffc2752382527c6e9bbf5ebc47a8a74a2fab2a543e0220951 diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild new file mode 100644 index ..fe46263664ae --- /dev/null +++ b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 2020-2024 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/ + 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:= +" +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.6.0[${PYTHON_USEDEP}] + >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cython-3.0.8[${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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/, dev-python/qiskit-terra/, app-text/paperwork-backend/, ...
commit: 7608be1fa4d2695e95b14341a3de6f346b87682f Author: Michał Górny gentoo org> AuthorDate: Sun Mar 10 18:44:16 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 10 19:05:55 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7608be1f Move {sci-libs → dev-python}/scikit-learn Signed-off-by: Michał Górny gentoo.org> app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild | 6 +++--- app-text/paperwork-backend/paperwork-backend-2.2.1-r1.ebuild | 4 ++-- app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild | 6 +++--- dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild | 2 +- dev-python/qiskit-terra/qiskit-terra-0.46.1.ebuild | 2 +- {sci-libs => dev-python}/scikit-learn/Manifest | 0 {sci-libs => dev-python}/scikit-learn/metadata.xml | 0 {sci-libs => dev-python}/scikit-learn/scikit-learn-1.3.2-r1.ebuild | 0 profiles/updates/1Q-2024 | 1 + profiles/updates/4Q-2020 | 3 +-- sci-chemistry/mdtraj/mdtraj-1.9.7.ebuild | 4 ++-- sci-libs/datasets/datasets-2.18.0.ebuild | 2 +- sci-libs/scikit-optimize/scikit-optimize-0.9.0-r1.ebuild | 4 ++-- sci-libs/scikit-optimize/scikit-optimize-0.9.0.ebuild | 6 +++--- sci-libs/seqeval/seqeval-1.2.2-r3.ebuild | 4 ++-- sys-cluster/ceph/ceph-16.2.14-r1.ebuild| 2 +- sys-cluster/ceph/ceph-16.2.15.ebuild | 2 +- sys-cluster/ceph/ceph-17.2.6-r8.ebuild | 2 +- sys-cluster/ceph/ceph-17.2.7.ebuild| 2 +- sys-cluster/ceph/ceph-18.2.1.ebuild| 2 +- 20 files changed, 27 insertions(+), 27 deletions(-) diff --git a/app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild b/app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild index 2e602b216a83..6bfad6df712f 100644 --- a/app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild +++ b/app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 pypi @@ -29,9 +29,9 @@ RDEPEND=" dev-python/pycountry[${PYTHON_USEDEP}] dev-python/pyenchant[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/scikit-learn[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] dev-python/whoosh[${PYTHON_USEDEP}] - sci-libs/scikit-learn[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND} diff --git a/app-text/paperwork-backend/paperwork-backend-2.2.1-r1.ebuild b/app-text/paperwork-backend/paperwork-backend-2.2.1-r1.ebuild index bb7a9c75061b..bedb4d1adafb 100644 --- a/app-text/paperwork-backend/paperwork-backend-2.2.1-r1.ebuild +++ b/app-text/paperwork-backend/paperwork-backend-2.2.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -30,9 +30,9 @@ RDEPEND=" dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pycountry[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/scikit-learn[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] dev-python/whoosh[${PYTHON_USEDEP}] - sci-libs/scikit-learn[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND} diff --git a/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild b/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild index e38955fb7d3f..210c3d2fb541 100644 --- a/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild +++ b/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -30,9 +30,9 @@ RDEPEND=" dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pycountry[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/scikit-learn[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] dev-python/whoosh[${PYTHON_USEDEP}] - sci-libs/scikit-learn[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND} diff --git a/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild index 46706c76a9d9..136069e07dbe 100644 ---
[gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-learn/
commit: fbcfc13e1a4d3a66018996af35b9f26afa70c0a4 Author: Patrick McLean sony com> AuthorDate: Wed Apr 1 21:02:43 2020 + Commit: Patrick McLean gentoo org> CommitDate: Wed Apr 1 21:04:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbcfc13e dev-python/scikit-learn: New package Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Patrick McLean gentoo.org> dev-python/scikit-learn/Manifest | 1 + dev-python/scikit-learn/metadata.xml | 8 + .../scikit-learn/scikit-learn-0.22.2_p1.ebuild | 41 ++ 3 files changed, 50 insertions(+) diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest new file mode 100644 index 000..8e745c89f4d --- /dev/null +++ b/dev-python/scikit-learn/Manifest @@ -0,0 +1 @@ +DIST scikit-learn-0.22.2_p1.tar.gz 7034850 BLAKE2B 41c362ef6594e837a9fc798837e666fbb51e33954fdf700292650204fd9d1ab4fc4d1695890d02a24ad68f4dcc2d3cde8f0827eca70c6fb9a6f0e5c0d9c04fd5 SHA512 20bcda5c65f76bce9b71c5b5fb1b499f7f3a7a3f6fa5fade80a38dc658cb434e16e9d5a4906a9657157a5cc90a6d51080575d6e510207baa9f8b06c4fa761d5b diff --git a/dev-python/scikit-learn/metadata.xml b/dev-python/scikit-learn/metadata.xml new file mode 100644 index 000..56cae167d37 --- /dev/null +++ b/dev-python/scikit-learn/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +chutz...@gentoo.org +Patrick McLean + + diff --git a/dev-python/scikit-learn/scikit-learn-0.22.2_p1.ebuild b/dev-python/scikit-learn/scikit-learn-0.22.2_p1.ebuild new file mode 100644 index 000..c67f8b4796e --- /dev/null +++ b/dev-python/scikit-learn/scikit-learn-0.22.2_p1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +MY_PV="${PV//_p/.post}" +DESCRIPTION="Machine learning library for Python" +HOMEPAGE="https://scikit-learn.org/stable/ + https://github.com/scikit-learn/scikit-learn; +SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + test? ( + dev-python/joblib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pushd "${TEST_DIR}/lib" >/dev/null || die + pytest -vv || die "testing failed with ${EPYTHON}" + popd >/dev/null || die +}