summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin270191 -> 270352 bytes
-rw-r--r--dev-python/qiskit-terra/Manifest4
-rw-r--r--dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild2
-rw-r--r--dev-python/qiskit-terra/qiskit-terra-0.46.1.ebuild2
-rw-r--r--dev-python/scikit-learn/Manifest3
-rw-r--r--dev-python/scikit-learn/metadata.xml17
-rw-r--r--dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild78
7 files changed, 102 insertions, 4 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index eabf686c687f..2facd3741fec 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/qiskit-terra/Manifest b/dev-python/qiskit-terra/Manifest
index 71af25925fb9..b9c602db3d6f 100644
--- a/dev-python/qiskit-terra/Manifest
+++ b/dev-python/qiskit-terra/Manifest
@@ -70,6 +70,6 @@ DIST windows_i686_msvc-0.48.2.crate 864299 BLAKE2B 1d2e1932c582015267e416cb5631f
DIST windows_x86_64_gnu-0.48.2.crate 801615 BLAKE2B 72529734ea7c0019025d6de7a083b3161d39725cce2994e5c16a9c5a0fde7b3a4667cb1a3a32ca86698c03fac5b535c5c2eb1dfc27b8385372731906c1c3eef9 SHA512 80975d01da78b45a44837d302e7110419a112088a8966648b8feba2a8450d753ba5e1daa5795374ddf4f5f9a3367482ed03a83f82221fa9177c47a35f5cbffb7
DIST windows_x86_64_gnullvm-0.48.2.crate 418482 BLAKE2B d51b983aa23ce467001493d909751866c5f6e4f3241f578a79aba56f6700cf210a0328a0b9bafaffbc331cbd1b843704a96610adae18b290f317ca351de684ee SHA512 10dc93b706b5c295e5fe54ad30277699b4491751baec30d9f57618eb083b850cddac4fd871bc4519aef74942127a4bbd637d6abcb16249ff8658dcd2c87dbd5d
DIST windows_x86_64_msvc-0.48.2.crate 798416 BLAKE2B 2e9b22359a1c61b8cf9b071cde74ca3382a82b7deffd96749a2353e9ea458b688772876149b54995ecef16df1890529412d78727966febd39afe69a9cd380011 SHA512 423de12304534f8cb54952d51e82abb6438c5c8e8d2e12d9573ef2209ed3be9976d825c1329bba9dd438d155c12688a23f33f48045f19891cea5ffc17545b722
-EBUILD qiskit-terra-0.46.0.ebuild 4856 BLAKE2B 09ba45bc20894dd495f6162eb1f16a7391a3410802b634b114129696e509dfc9194249cd2eaad446f1c42bbd3d1444f7742ace9ce312f29d779df3167de64f94 SHA512 4a1e166cfa46af7216f1f4c3cac0c66f641e5c8d06dc8b2e4df412b147860d8be9e8b4a8a6ef92c2c7b14492f23d79d2dd4ea854ffc359318b3d10264139b512
-EBUILD qiskit-terra-0.46.1.ebuild 4856 BLAKE2B 457983ca9f45f66c954cef7c98aa0d1365d31a728ec33fa351d4e8a4e583d711ee9fd269001be917a149d95c925076575cf4a8591ce1f0cee6ac81d8065aee85 SHA512 82a3d305b44aff2b56fd79c0b4494f72921e467226f8fb981b52dd9dc8e2ce4d43e313ffb4c7ee581eb869c5a21a68bd3ccaa268c2e0bb673f838c23e18c6691
+EBUILD qiskit-terra-0.46.0.ebuild 4858 BLAKE2B eb1b10afe9711ddda8aeab1e99d1349313fffac14d1862265705d44efe95ae627366d0281269dbdcab149a0de585d8433d0a92278f2999062bef59b27b062a0e SHA512 c71968ea69cc000a6b6a51d2356b06dc14d18b12a33295c3cc5d7db6edf744eb16f18e684477d1d95e9751fe3e20c054d42b36801b1ede286ca0f2a9d706f182
+EBUILD qiskit-terra-0.46.1.ebuild 4858 BLAKE2B a82c2fa119a9d65ed5c29d7a4a92a5e368ee7ad266ded8a2d8551bbd32e2d2a81be103cfe8c3d2a424c8d5204c65a167718fcd96cb80bd127f173639754b39ee SHA512 ec723d43b03aa2aae9cda64a0effc4ab0d03dedc1723979d0574067cb09a48d068757ed39c0269780ec072b5d49508f5dff0f29cd211cd705a9c63fe5f732681
MISC metadata.xml 1093 BLAKE2B 1af13b6038faf75ef4aaacc22af472e2a9515fc0ba2dc5802aabc768702158f9c6ed8c81eef0ec7edbb2c18a80c28f8c6c3cf93c3b212fd2b7f5448038231107 SHA512 62d534ee1751329618a66f7b9be79c93c3b67a12f9c0bffb573f83eaf8ecd71e83802b86bc48d9390ce35175fb81f99aa302ba0c5a6345c124628506f2c55309
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
--- a/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild
+++ b/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild
@@ -140,7 +140,7 @@ BDEPEND="
>=dev-python/networkx-2.2[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
<dev-python/qiskit-aer-0.13[${PYTHON_USEDEP}]
- >=sci-libs/scikit-learn-0.20.0[${PYTHON_USEDEP}]
+ >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}]
)
"
diff --git a/dev-python/qiskit-terra/qiskit-terra-0.46.1.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.46.1.ebuild
index 922260acb3d5..db3f4620e6b2 100644
--- a/dev-python/qiskit-terra/qiskit-terra-0.46.1.ebuild
+++ b/dev-python/qiskit-terra/qiskit-terra-0.46.1.ebuild
@@ -140,7 +140,7 @@ BDEPEND="
>=dev-python/networkx-2.2[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
<dev-python/qiskit-aer-0.13[${PYTHON_USEDEP}]
- >=sci-libs/scikit-learn-0.20.0[${PYTHON_USEDEP}]
+ >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}]
)
"
diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest
new file mode 100644
index 000000000000..93c832da8178
--- /dev/null
+++ b/dev-python/scikit-learn/Manifest
@@ -0,0 +1,3 @@
+DIST scikit-learn-1.3.2.gh.tar.gz 7650823 BLAKE2B 170699917f46d6d3f4b9ebc314bc1ec45687dad0a4aec5d2cee6e288b5dbe508bad6dd80406501f289a33593c6482067393e9dc28155f85a4872a34523bf4199 SHA512 a3799e9b39b755a50ba225f836904a378f7d83a08274c614d0485e4d4d4a7b0c7adba2dbb6612f2ccb4e5167f872214a2853eff69d767dc70f52369bda7a230b
+EBUILD scikit-learn-1.3.2-r1.ebuild 1937 BLAKE2B 633a70b5f27f2ad9a3e1ccbc0f560aa3e4e41768827d2fe7f89009712c105829a545de79b2acdb7e45d7ff4f83d555ba138f4bbff76038474996e2fa8eec3b78 SHA512 b09e1c642450e0bc10b213a3171962dd262f550926424c10de11711597c70c0915a140a30ffe6f255c5751bce9938b7874a0b9feebc51d71d042830f1991e7b6
+MISC metadata.xml 614 BLAKE2B b5425c2d022592581647c9b97c0ab22bfc2afe347b2e5ea22f141245238f145322f39406c62318ba1e6af1462b2691267b39976bfde38faaf1d28b1d29c4e015 SHA512 74ac79123848bc385c29fcfdc4a1e780529dda685c1deb5eb722f5d4919ee6ac9d80798d52c4af0be0cc8dbbaea3784963dd97e2b7c1258cc2f5605b0bc8907a
diff --git a/dev-python/scikit-learn/metadata.xml b/dev-python/scikit-learn/metadata.xml
new file mode 100644
index 000000000000..8700c73ecc29
--- /dev/null
+++ b/dev-python/scikit-learn/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ sklearn is a python library for machine learning. It aims to
+ implement classic machine learning algorithms while remaining simple
+ and efficient.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">scikit-learn</remote-id>
+ <remote-id type="github">scikit-learn/scikit-learn</remote-id>
+ </upstream>
+</pkgmetadata>
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
new file mode 100644
index 000000000000..1f42ebe8f21a
--- /dev/null
+++ b/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild
@@ -0,0 +1,78 @@
+# 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
+}