From 85e7fcfe5631986ad1144ea54fc179d8658571d3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Mar 2025 00:31:50 +0000 Subject: gentoo auto-resync : 25:03:2025 - 00:31:49 --- sci-ml/FBGEMM/FBGEMM-2023.12.04.ebuild | 2 +- sci-ml/FBGEMM/Manifest | 2 +- sci-ml/FP16/FP16-2024.05.27-r1.ebuild | 59 ++++++++++++ sci-ml/FP16/FP16-2024.05.27.ebuild | 58 ----------- sci-ml/FP16/Manifest | 3 +- sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch | 70 ++++++++++++++ sci-ml/Manifest.gz | Bin 4547 -> 4552 bytes sci-ml/NNPACK/Manifest | 2 +- sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild | 69 ------------- sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild | 69 +++++++++++++ sci-ml/huggingface_hub/Manifest | 2 +- .../huggingface_hub-0.26.5-r1.ebuild | 63 ++++++++++++ .../huggingface_hub/huggingface_hub-0.26.5.ebuild | 63 ------------ sci-ml/jiwer/Manifest | 2 +- sci-ml/jiwer/jiwer-3.0.3-r1.ebuild | 27 ++++++ sci-ml/jiwer/jiwer-3.0.3.ebuild | 27 ------ sci-ml/onnx/Manifest | 2 +- sci-ml/onnx/onnx-1.17.0-r1.ebuild | 71 ++++++++++++++ sci-ml/onnx/onnx-1.17.0.ebuild | 71 -------------- sci-ml/safetensors/Manifest | 2 +- sci-ml/safetensors/safetensors-0.4.5-r1.ebuild | 107 --------------------- sci-ml/safetensors/safetensors-0.4.5-r2.ebuild | 107 +++++++++++++++++++++ 22 files changed, 475 insertions(+), 403 deletions(-) create mode 100644 sci-ml/FP16/FP16-2024.05.27-r1.ebuild delete mode 100644 sci-ml/FP16/FP16-2024.05.27.ebuild create mode 100644 sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch delete mode 100644 sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild create mode 100644 sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild create mode 100644 sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild delete mode 100644 sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild create mode 100644 sci-ml/jiwer/jiwer-3.0.3-r1.ebuild delete mode 100644 sci-ml/jiwer/jiwer-3.0.3.ebuild create mode 100644 sci-ml/onnx/onnx-1.17.0-r1.ebuild delete mode 100644 sci-ml/onnx/onnx-1.17.0.ebuild delete mode 100644 sci-ml/safetensors/safetensors-0.4.5-r1.ebuild create mode 100644 sci-ml/safetensors/safetensors-0.4.5-r2.ebuild (limited to 'sci-ml') diff --git a/sci-ml/FBGEMM/FBGEMM-2023.12.04.ebuild b/sci-ml/FBGEMM/FBGEMM-2023.12.04.ebuild index 581305c90ed9..a9034b8d893f 100644 --- a/sci-ml/FBGEMM/FBGEMM-2023.12.04.ebuild +++ b/sci-ml/FBGEMM/FBGEMM-2023.12.04.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit python-any-r1 flag-o-matic cmake CommitId=dbc3157bf256f1339b3fa1fef2be89ac4078be0e diff --git a/sci-ml/FBGEMM/Manifest b/sci-ml/FBGEMM/Manifest index 80fe3e0e2207..b7524cbfa0b0 100644 --- a/sci-ml/FBGEMM/Manifest +++ b/sci-ml/FBGEMM/Manifest @@ -1,4 +1,4 @@ AUX FBGEMM-2023.11.02-gentoo.patch 2162 BLAKE2B c585ac736dc1494820e778dbba951a340b01cc60d99fe5c308bb140d42a0af8f6c05273963e0dd99a7f1ad2dc9af854702bdadf5b2682c5a959a0e742d22c772 SHA512 296d4f15e4047e98a0ccf7a3d23a9661ca2be8f4599d4dd5541f6e728f181cf58e836f09382ef2ed69792d1c9da3146a57cbce9041f7a43ab5354e641551f9fd DIST FBGEMM-2023.12.04.tar.gz 1004231 BLAKE2B 930ae36f4761901e1b22d7ce4a341f051158a23646bd1f5309f6eb98c1ca483e8aa4e5a6cfc44ced702f73f84e3398c1439799457a98d0d8a009702e335d5c03 SHA512 3c786572b4a69af2a32b360711014469ded69be580d0079ba79ab81cbaa964aab51e5a189e24f0ec7dc93402d761167898918a0ea0f86d556cad4b99f5858d8c -EBUILD FBGEMM-2023.12.04.ebuild 1499 BLAKE2B fbf8136c1064da82f99863bacddb21841f3787abbb471ab2454194a1f8a1b7eba902db900adb5640bcabe2730c5841d741baeec4c5f841119ef541ee3ca15c10 SHA512 bdbb2eb38488b48abfb353668c63b23e5a0b37f30ae8b07acb961c28cb545041f89b9a181d7e3e2751e15f142d5b20fe646dd6f8999573ca26cdb259c5f915dd +EBUILD FBGEMM-2023.12.04.ebuild 1499 BLAKE2B 132cc8471c4e3ae7fbd0188030b01c0124c95eb948d3dfbfc45d0592e1269204527e817264c17794f61a2412401e261385c03291507ad31d409735cd20098520 SHA512 596df7683f2d39829eada1a8a6ecd17cede5bbb8f18153be58f3b4999fd420167df184d9e17612bbf6475feca091445aa4b701eb0c56624be44a532eae35c193 MISC metadata.xml 327 BLAKE2B 860b9c0ecb3b0029c855db0a0054590135f3bd6ec9dad20cdf433fc70c119354518eea50fdbb2a204eb8cc6621de23e6928a2f9ec961ac0c51fd9dae22fa8488 SHA512 3a0d5a69421a41e62ce134636025e0024010c1938ee35f7489d8d870d915a66cd526aa60d107a378dc4522ff71b7f10486e20867c8b424b1b47e458988ebff58 diff --git a/sci-ml/FP16/FP16-2024.05.27-r1.ebuild b/sci-ml/FP16/FP16-2024.05.27-r1.ebuild new file mode 100644 index 000000000000..4a2d8a79169e --- /dev/null +++ b/sci-ml/FP16/FP16-2024.05.27-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) +inherit python-r1 cmake + +CommitId=95163a75c51bc8dc29f72d0d7419ec50132984ff + +DESCRIPTION="conversion to/from half-precision floating point formats" +HOMEPAGE="https://github.com/Maratyszcza/FP16/" +SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +S="${WORKDIR}"/${PN}-${CommitId} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="dev-libs/psimd" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + dev-python/peachpy[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-2021.03.20-gentoo.patch + "${FILESDIR}"/${P}-gcc14.patch +) + +src_prepare() { + cmake_src_prepare + mkdir -p module/fp16 || die + cp include/fp16/*py module/fp16 || die +} + +src_configure() { + local mycmakeargs=( + -DFP16_BUILD_BENCHMARKS=OFF + -DFP16_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +} + +python_install() { + python_domodule module/fp16 +} + +src_install() { + cmake_src_install + rm "${ED}"/usr/include/fp16/*.py || die + python_foreach_impl python_install +} diff --git a/sci-ml/FP16/FP16-2024.05.27.ebuild b/sci-ml/FP16/FP16-2024.05.27.ebuild deleted file mode 100644 index 083edbf6e0d1..000000000000 --- a/sci-ml/FP16/FP16-2024.05.27.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) -inherit python-r1 cmake - -CommitId=95163a75c51bc8dc29f72d0d7419ec50132984ff - -DESCRIPTION="conversion to/from half-precision floating point formats" -HOMEPAGE="https://github.com/Maratyszcza/FP16/" -SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz - -> ${P}.tar.gz" - -S="${WORKDIR}"/${PN}-${CommitId} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="dev-libs/psimd" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} - dev-python/peachpy[${PYTHON_USEDEP}] -" -BDEPEND="test? ( dev-cpp/gtest )" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-2021.03.20-gentoo.patch -) - -src_prepare() { - cmake_src_prepare - mkdir -p module/fp16 || die - cp include/fp16/*py module/fp16 || die -} - -src_configure() { - local mycmakeargs=( - -DFP16_BUILD_BENCHMARKS=OFF - -DFP16_BUILD_TESTS=$(usex test ON OFF) - ) - cmake_src_configure -} - -python_install() { - python_domodule module/fp16 -} - -src_install() { - cmake_src_install - rm "${ED}"/usr/include/fp16/*.py || die - python_foreach_impl python_install -} diff --git a/sci-ml/FP16/Manifest b/sci-ml/FP16/Manifest index 24488eb6bf07..8379b80ab076 100644 --- a/sci-ml/FP16/Manifest +++ b/sci-ml/FP16/Manifest @@ -1,8 +1,9 @@ AUX FP16-2021.03.20-gentoo.patch 1876 BLAKE2B 56863806f1040c5a92e04f7cf120e2ae4e4e6c59b336bf8734d0b0945e29d17afb5c244e94fab6023567227878b72e73d3c8d669e4af311bfc703f545b82d847 SHA512 0ac6379a5d92a70df72c4a0bce0d437ebb7733fa6f61b0006cedd007f9c071c2b7c9727cd559c39c08a8528f29c2d96397b566512eca6fa4c5a5d812085125cf +AUX FP16-2024.05.27-gcc14.patch 1834 BLAKE2B 61d3c6a0399e7d75076201fbadf8bdd3d0adba5538fc82fdd709aaf8a2827917a3d4cccae2d2909228855edc86a063f6d0b58b4805a6a6485f3d5dfcd054f0e4 SHA512 ec16fad675cb65766ac7976e6f787fb756199a5ef8158230ce2cb23d138c8249cdcce4660548a1b251615203a52088850213ce28815b03801819947ea7e42aec AUX FP16-2024.06.20-gentoo.patch 813 BLAKE2B 297a056cff5c35e26283c15ec7727c227f5991d3244426e1b197ea52bb2c5c897194efaed20a1929fc8bd0704fb70afc9f5fc0b84850bc43ca2dd2254a4447cc SHA512 4951377cfdc4806867e80f899e6e14d671d43bbe1f5be82343c5b73e246a7f4040470b6a96a76f1d9ae1bc8c899eb7936e11737f9c788ece70099d63b73bbc50 AUX FP16-2024.06.20-setfill.patch 2044 BLAKE2B e48e9945fdff5aa7fc82a33258a12883442fc1a8169537d9828d9cdc330db94127d944ead7b8f818a3fffc3bdf9cb215e06844a0d99bc81a777110068f3fb9b5 SHA512 2123d1c3bcab4767ce4fb17abc2f583ff2aaa33f468de8f2c877f5f69a8ba46431c09789966f1cff1ff9e5cddc9f886aeeeef480d25a60e11812447622f7d01f DIST FP16-2024.05.27.tar.gz 71220 BLAKE2B 5b101aad7a8339fff400bba1db896c82498832075f3eb00cc6eaf27608ee0988f918956b5a768262b74552a52436200d4acd17f04f4a05060a32512afb26a9ac SHA512 b88fd0a91e6b6873ce5d0e2cd2afd2b8dceb8b17c366240abb8a5e2fe152faea3ba577ef420038c595cab0b61581a70b84c019c825a8dd262b1bee4686843b66 DIST FP16-2024.06.20.tar.gz 64704 BLAKE2B cd086ca7419aa004c0c4c840227e61612348efb98bdddbf68ef92959267f5f4b0aef55751c5b8a6f50a1f0e7f386e4df5fac273c3849961168e0a5c03faf81e2 SHA512 d3ae46b5b0c944f1d8dcfbb90689266f4abaff3e0b5ef338d5d79193367f06d1bfbb9ad85a5a7685a894daeee6dc73fc5d73631718be1379cc6918655a0289aa -EBUILD FP16-2024.05.27.ebuild 1189 BLAKE2B f273b230cf99de3eddf38c75bfbfcc204fb18b924396263e508c0cd6b4a017657385ac91a4138daec6710669fe4cd6c4d7fe6490ef749e7c4e7a6c45eaf3167d SHA512 0e7bf9a0ab8410eb2ee24cc7896d3efaaf95cc50683cd680b33b37f22cf2617472ea44b52e99872035278f55a153618da4858f51ae28ca5c24b2f5b2c96d10c9 +EBUILD FP16-2024.05.27-r1.ebuild 1221 BLAKE2B 65ba8a85e5db68ffd690efca0fcdd258b4ec5a8419cd3c66185b35457d13a6710508026aaee121b0b04eef2a4c08c400440f27e038450cdb4ddc0c58e1cf9d27 SHA512 7f8821a8cfc464a08b26ee715be2a0a9a9aa76c0ad113ac3a2a4b1e9f30db5b7d301e1789f2ca0707e7d7b821fabd67d7cf8931963457d4c508fe43a373ad6bc EBUILD FP16-2024.06.20.ebuild 869 BLAKE2B cc7f583da389f6aa8741ab014e9a0e945aec24e066c5f6baac8196eff7acb6d45fd34d58d1736e4663c6a4626f9a1add9ab55861a3508aee865ea939c1802760 SHA512 78adb9c888782351421255b581ede3b9a1ea07223c8a39cc57f5e1fd1db992ee588a5b9d361d0bc8a9646d891c3610b9a096669de70e91594d6da6d0b7c312de MISC metadata.xml 329 BLAKE2B eda810b21ca05e2e16f2eafac194cdca189d27449bc9322488aeca215a9b2c10ce68145abab1abb984e290ab6ca8ce21c3beaf06ecd76d7574fd8b82388f4e63 SHA512 27ca59c0862f75f24dc64f9af5eee96cf63ef4bd468e17f5d04cc23289dbb5c44af9b230707ad13d1ff85e75db4d5485d7226c9e6d80e8bc80d9e6f3b2e18acd diff --git a/sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch b/sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch new file mode 100644 index 000000000000..14c76aed7871 --- /dev/null +++ b/sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch @@ -0,0 +1,70 @@ +--- a/test/ieee-from-fp32-value.cc 2025-03-24 09:45:52.653257251 +0100 ++++ b/test/ieee-from-fp32-value.cc 2025-03-24 09:46:09.945044617 +0100 +@@ -3,6 +3,7 @@ + #include + + #include ++#include + #include + + #if (defined(__i386__) || defined(__x86_64__)) && defined(__F16C__) +--- a/test/bitcasts.cc 2025-03-24 09:50:29.522852488 +0100 ++++ b/test/bitcasts.cc 2025-03-24 09:50:44.722665548 +0100 +@@ -1,6 +1,7 @@ + #include + + #include ++#include + + #include + +--- a/test/ieee-to-fp32-value.cc 2025-03-24 09:51:25.784160595 +0100 ++++ b/test/ieee-to-fp32-value.cc 2025-03-24 09:51:40.397980890 +0100 +@@ -2,6 +2,7 @@ + + #include + #include ++#include + + #include + #include +--- a/test/ieee-to-fp32-bits.cc 2025-03-24 09:47:04.427374626 +0100 ++++ b/test/ieee-to-fp32-bits.cc 2025-03-24 09:47:36.596979037 +0100 +@@ -1,6 +1,7 @@ + #include + + #include ++#include + + #include + #include +--- a/test/alt-to-fp32-value.cc 2025-03-24 09:52:11.425599313 +0100 ++++ b/test/alt-to-fp32-value.cc 2025-03-24 09:52:28.007395391 +0100 +@@ -2,6 +2,7 @@ + + #include + #include ++#include + + #include + #include +--- a/test/alt-to-fp32-bits.cc 2025-03-24 09:48:02.413661553 +0100 ++++ b/test/alt-to-fp32-bits.cc 2025-03-24 09:48:20.896434255 +0100 +@@ -1,6 +1,7 @@ + #include + + #include ++#include + + #include + #include +--- a/test/alt-from-fp32-value.cc 2025-03-24 09:49:31.964560292 +0100 ++++ b/test/alt-from-fp32-value.cc 2025-03-24 09:49:48.541356436 +0100 +@@ -1,6 +1,7 @@ + #include + + #include ++#include + + #include + #include diff --git a/sci-ml/Manifest.gz b/sci-ml/Manifest.gz index c3eeb256488c..c0688576cac6 100644 Binary files a/sci-ml/Manifest.gz and b/sci-ml/Manifest.gz differ diff --git a/sci-ml/NNPACK/Manifest b/sci-ml/NNPACK/Manifest index da4ed7e28079..dfb562ebd1c0 100644 --- a/sci-ml/NNPACK/Manifest +++ b/sci-ml/NNPACK/Manifest @@ -1,4 +1,4 @@ AUX NNPACK-2020.12.22-gentoo.patch 6218 BLAKE2B 1bc9d1bb20504b90d99492fd0c93324830aa84a58a59101288677ba0d622c5a50e8f6181089fef1e14d14f563824a9c42979387e6f3efbb0add3211d68f6ce6c SHA512 1a52cc158c4c6259a9f5fbd8ce40f8647a96ce7c7f67bbdcfe495647b75f6c2f5baa826390b8474f48a91ee4a043bfb2085915730f0dd32f4edd34a733b2cc13 DIST NNPACK-2020.12.22.tar.gz 219318 BLAKE2B 6b6619c8a706ef9630f20fda1e276314b2ef7f6c9aed26836a48bdaa0ae198a86383e68b04c651f37c07d34e400bc54b5daa75b06fc18cdb0a9c55e2cb33bbe1 SHA512 f0b261e8698b412d12dd739e5d0cf71c284965ae28da735ae22814a004358ba3ecaea6cd26fa17b594c0245966b7dd2561c1e05c6cbf0592fd7b85ea0f21eb37 -EBUILD NNPACK-2020.12.22-r3.ebuild 1410 BLAKE2B e2123a82f4304d8736a01ffa3555b2411728b97082939c7b4206112f757c8c86c63631174727eb9e590b25137cf808267ec60dfe1029b42b1bf9267f880202bd SHA512 25a41f4cccafd91cfd3b50c42c9ed2922bcc18f723fb0213c3cf384cbae61e19846e571b679afcaf70813e81aa20ea19bdf23442ed7488ddd10f356649dcb115 +EBUILD NNPACK-2020.12.22-r4.ebuild 1409 BLAKE2B 23337a43e7c3b6e522f40d26724aa1b5bdef37e3475710f55070ccb6e9db3f9b20b0b8b18b499fb4c822517fe97f170d16a3d327fc615432636854120ba50a0b SHA512 954ca3cfe0894eca40ffa1e94ac32d827ba2a87e74f5150d5defdf5bc96303d3d0bee899944b20a9bcd6c64b987132ec77cc4522d5b62b7c489df0e50614a09a MISC metadata.xml 411 BLAKE2B 86026a638f6f37fb45fed8a4533990a47be1650325fc6c85bd7624cd454f27d497fd6fd52a884609c7c57ebd34712a96f488cb1227c7c9e18d6e22d2bdcc73bf SHA512 a1b28f63c287a738126d08fd49783af2b8e1d3b40ad774f8191c0d4a34ae0f4694d35a24e18034d37902ee47486ac732f7c1d561af4540619577d563617bca27 diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild deleted file mode 100644 index c3abc30b8af8..000000000000 --- a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-single-r1 - -CommitId=c07e3a0400713d546e0dea2d5466dd22ea389c73 - -DESCRIPTION="acceleration package for neural network computations" -HOMEPAGE="https://github.com/Maratyszcza/NNPACK/" -SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz - -> ${P}.tar.gz" - -S="${WORKDIR}"/${PN}-${CommitId} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test test-full" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/pthreadpool - dev-libs/cpuinfo - $(python_gen_cond_dep ' - <=sci-ml/FP16-2024.05.27[${PYTHON_USEDEP}] - dev-python/peachpy[${PYTHON_USEDEP}] - ') -" -DEPEND="${RDEPEND} - dev-libs/FXdiv - dev-libs/psimd -" -BDEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_prepare() { - sed -i \ - -e "/-O/d" \ - -e "s:CXX_STANDARD 11:CXX_STANDARD 14:" \ - CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DNNPACK_BUILD_TESTS=$(usex test ON OFF) - ) - cmake_src_configure -} - -src_test() { - use test-full || local CMAKE_SKIP_TESTS=( - convolution-output-overfeat - convolution-kernel-gradient-vgg - convolution-input-gradient-overfeat - convolution-input-gradient-vgg - convolution-output-vgg - ) - cmake_src_test -} diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild new file mode 100644 index 000000000000..b059fd74d7a3 --- /dev/null +++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake python-single-r1 + +CommitId=c07e3a0400713d546e0dea2d5466dd22ea389c73 + +DESCRIPTION="acceleration package for neural network computations" +HOMEPAGE="https://github.com/Maratyszcza/NNPACK/" +SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +S="${WORKDIR}"/${PN}-${CommitId} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test test-full" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/pthreadpool + dev-libs/cpuinfo + $(python_gen_cond_dep ' + ~sci-ml/FP16-2024.05.27[${PYTHON_USEDEP}] + dev-python/peachpy[${PYTHON_USEDEP}] + ') +" +DEPEND="${RDEPEND} + dev-libs/FXdiv + dev-libs/psimd +" +BDEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_prepare() { + sed -i \ + -e "/-O/d" \ + -e "s:CXX_STANDARD 11:CXX_STANDARD 14:" \ + CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DNNPACK_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +} + +src_test() { + use test-full || local CMAKE_SKIP_TESTS=( + convolution-output-overfeat + convolution-kernel-gradient-vgg + convolution-input-gradient-overfeat + convolution-input-gradient-vgg + convolution-output-vgg + ) + cmake_src_test +} diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest index deb3fc16b4f2..72cb7853a22e 100644 --- a/sci-ml/huggingface_hub/Manifest +++ b/sci-ml/huggingface_hub/Manifest @@ -3,5 +3,5 @@ DIST huggingface_hub-0.25.2.gh.tar.gz 4033422 BLAKE2B 77c5d40c65e0da4d006d33c6f6 DIST huggingface_hub-0.26.5.gh.tar.gz 4056959 BLAKE2B 719c7abd00a822929ec4a14924ea200b91c8b8be2fb45b71e8f98a8e4e178613bc444bd67f9b013f94bd808b8229171872014249013e32f37e74a3ea709c0ae9 SHA512 e151e216b681b72ecb28e82d05bb5c6edf25bbbd34d6ce10d2896b54d9fdaf5ec062b2f777a2e5c61fbc92c901351adfb1f9fcfac2efb360e2a3076d5dd08c34 EBUILD huggingface_hub-0.24.7.ebuild 843 BLAKE2B 5682e9f4dc610723ecec5ae993b1f1072d107578bfca986258b1af0ba4493abe3b4dfff90533351208b05e1a98373f6de17f1fb58b218f2f3ddfb9f763a02afa SHA512 034521b1607f33f13de5c006dc0185ff41a3ee086bcb983183fced1ac5dcbeca060ed5bba681aabcd35694888a0b9d315d3cd6b26526ad68e2e3a59b02fbe891 EBUILD huggingface_hub-0.25.2.ebuild 1769 BLAKE2B 71c96e38f3142e41fa8410b84442a0f245d1bca705debc9c51b8ea246a0c0f18023ef5800c97473bbd6060f4f124d65d52613dca90adc7065f3316135463a98f SHA512 ace3885bbea8b66657b1b943dba69947e04bf9251f83e533668e9bfeb1b2129a78e873a86fd6f3a33664de04f3f944bd751f05311237c3017ab81f68ba6d3644 -EBUILD huggingface_hub-0.26.5.ebuild 1769 BLAKE2B 71c96e38f3142e41fa8410b84442a0f245d1bca705debc9c51b8ea246a0c0f18023ef5800c97473bbd6060f4f124d65d52613dca90adc7065f3316135463a98f SHA512 ace3885bbea8b66657b1b943dba69947e04bf9251f83e533668e9bfeb1b2129a78e873a86fd6f3a33664de04f3f944bd751f05311237c3017ab81f68ba6d3644 +EBUILD huggingface_hub-0.26.5-r1.ebuild 1769 BLAKE2B dc010ac3b9a4035f9615cb346cca1b3c59111d9ce3fb611bd4b708dbc7df69c0ab7a01897eeac3cb4dd93bf22ef5025ff958b74457e24240845bc016a245ac55 SHA512 748dd54b6f41f6e0295774874e113648d7f1dbf9ecf15aa80928df196133d4df94962a4a2e8e58384a6b0bba969aac8cf130a4e018f6dce6a73d91fd6011f442 MISC metadata.xml 393 BLAKE2B 1703224359804943e921acb978be119c5ae48c6dae23177d9ba2a4b843a1f8cf10487c7dfc5af83600bb98f1443cb5d3cdad1d48ddc5db7117ebb3092af5fe44 SHA512 74ac25236d7cd4b169ec6281480b140e25f0b2579998ca441eb2ab5c070ed87690c49b7af1bb7b83d8782685c18dc3d2cd5f7ef27e8a51fa8863badc58214461 diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild new file mode 100644 index 000000000000..74add64c6e5d --- /dev/null +++ b/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 + +DESCRIPTION="a client library to interact with the Hugging Face Hub" +HOMEPAGE=" + https://pypi.org/project/huggingface_hub/ +" +SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_test() { + local EPYTEST_IGNORE=( + contrib/sentence_transformers/test_sentence_transformers.py + contrib/spacy/test_spacy.py + contrib/timm/test_timm.py + tests/test_command_delete_cache.py + tests/test_inference_api.py + tests/test_inference_async_client.py + tests/test_inference_client.py + tests/test_inference_text_generation.py + tests/test_init_lazy_loading.py + tests/test_cache_no_symlinks.py + tests/test_file_download.py + tests/test_hf_api.py + tests/test_repocard.py + tests/test_repository.py + tests/test_snapshot_download.py + tests/test_utils_cache.py + tests/test_utils_telemetry.py + tests/test_webhooks_server.py + ) + + local EPYTEST_DESELECT=( + tests/test_cache_layout.py::ReferenceUpdates::test_update_reference + tests/test_commit_scheduler.py::TestCommitScheduler::test_sync_local_folder + tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub + tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub + ) + + distutils-r1_src_test +} diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild deleted file mode 100644 index 9a275233607b..000000000000 --- a/sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 - -DESCRIPTION="a client library to interact with the Hugging Face Hub" -HOMEPAGE=" - https://pypi.org/project/huggingface_hub/ -" -SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/fsspec[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_test() { - local EPYTEST_IGNORE=( - contrib/sentence_transformers/test_sentence_transformers.py - contrib/spacy/test_spacy.py - contrib/timm/test_timm.py - tests/test_command_delete_cache.py - tests/test_inference_api.py - tests/test_inference_async_client.py - tests/test_inference_client.py - tests/test_inference_text_generation.py - tests/test_init_lazy_loading.py - tests/test_cache_no_symlinks.py - tests/test_file_download.py - tests/test_hf_api.py - tests/test_repocard.py - tests/test_repository.py - tests/test_snapshot_download.py - tests/test_utils_cache.py - tests/test_utils_telemetry.py - tests/test_webhooks_server.py - ) - - local EPYTEST_DESELECT=( - tests/test_cache_layout.py::ReferenceUpdates::test_update_reference - tests/test_commit_scheduler.py::TestCommitScheduler::test_sync_local_folder - tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub - tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub - ) - - distutils-r1_src_test -} diff --git a/sci-ml/jiwer/Manifest b/sci-ml/jiwer/Manifest index af346edecf86..a535410f166e 100644 --- a/sci-ml/jiwer/Manifest +++ b/sci-ml/jiwer/Manifest @@ -1,4 +1,4 @@ AUX jiwer-3.0.1-tests.patch 790 BLAKE2B dda351c97d0807c327d0438eb3849e15a9b30753c3e7350fa522ebc6d861fa5f3ecbf01b9c55bfad921e6a605178c0175ead21f450677518da26de9faf2120d4 SHA512 e8b8bacbb051b20e8b6cf9e93542dd31828cc052fea773335d7ec4b8a27d2c06c2ba7a8a58f91d02434907aeb1d499e411d69e6daf56cb3420a3ccfbcc51ea35 DIST jiwer-3.0.3.gh.tar.gz 24092 BLAKE2B 593170953a8f56d654b7a749fd7b8a636065c1a3b1e51b810b1768b8acd817474010025d758a3af984bbe9d4d834411d8a5df446174e87b839be1325fbd1085f SHA512 fbd9d7a5d8c2056e99f47cf55ef8661fcf96ccd16bafe28f40036477def6e7ff433bd372169fdc92c5b727e106e90353468205d2d8238726ea501c3cbab8d156 -EBUILD jiwer-3.0.3.ebuild 612 BLAKE2B 91d1d3016c906c8cd87f47f0956553181cddb05a4f0a17f1724155549ca53c3e7578fa0615752fb31e82cabc0cad6e672d1566e42be19aaf63dcb28e62d50c44 SHA512 aa63aa948828111f99f7449289fee21bfd98620d0cac6478544831d06b11e27b102919e18a3f4975230b2ce1697c463430f31f453766ec9b5be0f5318eb2c69c +EBUILD jiwer-3.0.3-r1.ebuild 612 BLAKE2B f08bf3c6fb5bc75eedf6e06a87a36d678eebe13d56b5f5256ca51ac395efb613da3284df2cc78ae59e24b47a0d760284d110da7d9e06d953a8826da36e90aec7 SHA512 28c12588fe75ecddd1e0f058a40903dbf61a565827cb8e748554356f8ffd97d6a07d91322222580b8c42e399b9b5e411122b859eef389e10a4c73f82e1653419 MISC metadata.xml 367 BLAKE2B 474dd86fe7addc587bea0b16430e99e5c69148099c1fba0cd58022dbe83411e83e1455320ed4ea1a54c4c74932bcbaa5e793223023d795639babb64d7751a876 SHA512 9bbed0bbfca58ff29129a6e3cceaa075da22576c840595e0a1471baa8e8e00f4f3407c88bbd46755c498a058d89220e3c0864157fd61850ab4c73d3f2c4a110e diff --git a/sci-ml/jiwer/jiwer-3.0.3-r1.ebuild b/sci-ml/jiwer/jiwer-3.0.3-r1.ebuild new file mode 100644 index 000000000000..871c5323b7a4 --- /dev/null +++ b/sci-ml/jiwer/jiwer-3.0.3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 + +DESCRIPTION="Evaluate an automatic speech recognition system" +HOMEPAGE=" + https://github.com/jitsi/jiwer + https://pypi.org/project/jiwer/ +" +SRC_URI="https://github.com/jitsi/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" +RDEPEND=" + dev-python/rapidfuzz[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}"/${PN}-3.0.1-tests.patch ) diff --git a/sci-ml/jiwer/jiwer-3.0.3.ebuild b/sci-ml/jiwer/jiwer-3.0.3.ebuild deleted file mode 100644 index cc011848afd5..000000000000 --- a/sci-ml/jiwer/jiwer-3.0.3.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 - -DESCRIPTION="Evaluate an automatic speech recognition system" -HOMEPAGE=" - https://github.com/jitsi/jiwer - https://pypi.org/project/jiwer/ -" -SRC_URI="https://github.com/jitsi/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" -RDEPEND=" - dev-python/rapidfuzz[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -PATCHES=( "${FILESDIR}"/${PN}-3.0.1-tests.patch ) diff --git a/sci-ml/onnx/Manifest b/sci-ml/onnx/Manifest index afe761dd8032..97f580a08e41 100644 --- a/sci-ml/onnx/Manifest +++ b/sci-ml/onnx/Manifest @@ -2,5 +2,5 @@ AUX onnx-1.15.0-hidden.patch 511 BLAKE2B 857a4ff9597a25430e2236c2d9de47c1203e630 DIST onnx-1.16.2.tar.gz 12429500 BLAKE2B 1541fd9e80e305bc0764d1f5d236a89a2f0d0d8819bd6f235c88d35985daf02f575854a537af193befbeab861b2fe6a9d5b8803975b8ae6a47d5d5a6dc28b661 SHA512 7a9a8493b9c007429629484156487395044506f34e72253640e626351cb623b390750b36af78a290786131e3dcac35f4eb269e8693b594b7ce7cb105bcf9318d DIST onnx-1.17.0.tar.gz 12475304 BLAKE2B 17e3cdd4bf101749ba841599d1b4e89ad80cfa3de6adabc10491f84ec928c385b1fe517e32657b24ca57d14780d51cc9a641860c06194cec082d9a9950004c8c SHA512 5a18e2b19ec9c18c8b115fb7e12ed98eddaa581c95f15c4dd420cd6c86e7caa04f9a393da589e76b89cf9b3544abd3749a8c77c2446782f37502eb74e9b1f661 EBUILD onnx-1.16.2-r1.ebuild 1478 BLAKE2B c673170582e8eb3986185d71e213dac55f1b6e9e8d1d9d2dfe1ec8dbf0f4249f2d9662217205940d6c9a473349f4b7bc2e839af61a3dc5056679cb20611fe8c7 SHA512 ed31b08bfa27810e6f737de6c5ac64d2e4b98564e12d93b8a4d9933c1d4e4ca3625299f5de2f586f7ac327011b7310e841d21d5af675b594eecb7ab94a9ac415 -EBUILD onnx-1.17.0.ebuild 1485 BLAKE2B e44eee6ff15b1aca952786d9fa43ab0490ab62c917f813a29e7aeba98b8452e3d0ec1af85cf9a851300405eb30479368e5af300d160312dac83560258ccf8a83 SHA512 a27e58b83bd77dbcd98983ddecac6fd3ec07905aad4cc3de4908787a1cf6b0c1f24a2f69f9a64a063a16921fe6dd2b654ac9db07f03b76fce2302d39bd9297c2 +EBUILD onnx-1.17.0-r1.ebuild 1485 BLAKE2B 4db26b704599eecb1ca6618feeb4900232a543f91018a1289ddf6d4f485bf67cb18d3cfc53dcd9a1f141e4e9082daf1148e256303d0ba71808f5fed572a7cc28 SHA512 a0f4cdc1e249013a6e2c0ff5815ad47c8b1b04d4cb4952a2cf822214dcd439414aa53ee20645a08f145c83c8198e14585685cf7f5c05e8452f093544c90a1068 MISC metadata.xml 404 BLAKE2B 363f1790f0dd2eace0368d7eb1875c166ba6dd0b2514232050f2f1813ccba854b4f8e58e22a329792126188f06d21bf87436c1dcc10d68b018f7abc8eb8ec3e9 SHA512 6a80de77d763a261cafee9cd69337de5282fa39772a1d2a82c3d954d29221596036346339926a124f9df9b261050d17b58d004cdd01ff2f57347379e9df2e45f diff --git a/sci-ml/onnx/onnx-1.17.0-r1.ebuild b/sci-ml/onnx/onnx-1.17.0-r1.ebuild new file mode 100644 index 000000000000..0b868d900025 --- /dev/null +++ b/sci-ml/onnx/onnx-1.17.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 cmake + +DESCRIPTION="Open Neural Network Exchange (ONNX)" +HOMEPAGE="https://github.com/onnx/onnx" +SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="disableStaticReg" +RESTRICT="test" + +RDEPEND=" + dev-cpp/abseil-cpp:= + dev-libs/protobuf:=[protoc(+)] + dev-python/protobuf[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch + cmake_src_prepare + distutils-r1_src_prepare +} + +python_configure_all() +{ + mycmakeargs=( + -DONNX_USE_PROTOBUF_SHARED_LIBS=ON + -DONNX_USE_LITE_PROTO=ON + -DONNX_BUILD_SHARED_LIBS=ON + -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF) + ) + cmake_src_configure +} + +src_configure() { + distutils-r1_src_configure +} + +src_compile() { + mycmakeargs=( + -DONNX_USE_PROTOBUF_SHARED_LIBS=ON + -DONNX_USE_LITE_PROTO=ON + -DONNX_BUILD_SHARED_LIBS=ON + -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF) + ) + CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile +} + +python_compile_all() { + cmake_src_compile +} + +python_install_all() { + cmake_src_install + distutils-r1_python_install_all +} + +src_install() { + distutils-r1_src_install +} diff --git a/sci-ml/onnx/onnx-1.17.0.ebuild b/sci-ml/onnx/onnx-1.17.0.ebuild deleted file mode 100644 index 557c1014ad16..000000000000 --- a/sci-ml/onnx/onnx-1.17.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 cmake - -DESCRIPTION="Open Neural Network Exchange (ONNX)" -HOMEPAGE="https://github.com/onnx/onnx" -SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" -IUSE="disableStaticReg" -RESTRICT="test" - -RDEPEND=" - dev-cpp/abseil-cpp:= - dev-libs/protobuf:=[protoc(+)] - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -src_prepare() { - eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch - cmake_src_prepare - distutils-r1_src_prepare -} - -python_configure_all() -{ - mycmakeargs=( - -DONNX_USE_PROTOBUF_SHARED_LIBS=ON - -DONNX_USE_LITE_PROTO=ON - -DONNX_BUILD_SHARED_LIBS=ON - -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF) - ) - cmake_src_configure -} - -src_configure() { - distutils-r1_src_configure -} - -src_compile() { - mycmakeargs=( - -DONNX_USE_PROTOBUF_SHARED_LIBS=ON - -DONNX_USE_LITE_PROTO=ON - -DONNX_BUILD_SHARED_LIBS=ON - -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF) - ) - CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile -} - -python_compile_all() { - cmake_src_compile -} - -python_install_all() { - cmake_src_install - distutils-r1_python_install_all -} - -src_install() { - distutils-r1_src_install -} diff --git a/sci-ml/safetensors/Manifest b/sci-ml/safetensors/Manifest index da42b2742ff0..1e63c2f44c20 100644 --- a/sci-ml/safetensors/Manifest +++ b/sci-ml/safetensors/Manifest @@ -40,5 +40,5 @@ DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1d DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 -EBUILD safetensors-0.4.5-r1.ebuild 1979 BLAKE2B cae65d4c688ac293c775aa0af8c16b3ef77c55ff2aa31c5498a8cb532378a9be6f18284e210021f376df4638d65f30b1a999f92bc0e78e57da55a37ad9202713 SHA512 a157b15246e5b5b0a15a0090a33721eb77d0f89257b1cae13cc6c465c5ea2c27d2c9f8c94315912bc10935ddcfd0565cc7f6dfda63280822ee3c7d59b21e6f2b +EBUILD safetensors-0.4.5-r2.ebuild 1979 BLAKE2B 87f31c8e0a80c986c5aea689dfa1d6fb229c992277afc2a280f98fd1602484bbeee4bd751e6010bdd4759b0ca756daadff217f0924c0545c2b66fd4ffd133c7c SHA512 17c975fe7c4938055fb3ac4339165d62e0a6498d63a4002bedcde58788987bb8b6f3b684f059669faaffabebc3b26058d3bc8854eb7423d3344a79381b21b75e MISC metadata.xml 385 BLAKE2B 5fcb9894785eab5f5222d0563c734aa442b13d84e594a53abc58d8f659c4d74d56bcc96929a3d385681e6ca314e7fa2de343859a2a5ae99f3a060eac2bb271d6 SHA512 24326c0f79d48ffe3899e155cf15890bf8d3d5769ce58773ff4cd020bf3b3b14f9c584019a596c83065209ef884125b09080e98e0c8479e408b62827f653c796 diff --git a/sci-ml/safetensors/safetensors-0.4.5-r1.ebuild b/sci-ml/safetensors/safetensors-0.4.5-r1.ebuild deleted file mode 100644 index 4163e6189de7..000000000000 --- a/sci-ml/safetensors/safetensors-0.4.5-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 - -CRATES=" - autocfg@1.3.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.5 - itoa@1.0.11 - libc@0.2.155 - lock_api@0.4.11 - memchr@2.7.4 - memmap2@0.9.4 - memoffset@0.9.1 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - quote@1.0.36 - redox_syscall@0.4.1 - ryu@1.0.18 - scopeguard@1.2.0 - serde@1.0.204 - serde_derive@1.0.204 - serde_json@1.0.122 - smallvec@1.13.2 - syn@2.0.72 - target-lexicon@0.12.16 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 cargo - -DESCRIPTION="Simple, safe way to store and distribute tensors" -HOMEPAGE=" - https://pypi.org/project/safetensors/ - https://huggingface.co/ -" -SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -S="${WORKDIR}"/${P}/bindings/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -QA_FLAGS_IGNORED="usr/lib/.*" -RESTRICT="test" #depends on single pkg ( pytorch ) - -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - rm tests/test_{tf,paddle,flax}_comparison.py || die - rm benches/test_{pt,tf,paddle,flax}.py || die -} - -src_configure() { - cargo_src_configure - distutils-r1_src_configure -} - -python_compile() { - cargo_src_compile - distutils-r1_python_compile -} - -src_compile() { - distutils-r1_src_compile -} - -src_install() { - distutils-r1_src_install -} diff --git a/sci-ml/safetensors/safetensors-0.4.5-r2.ebuild b/sci-ml/safetensors/safetensors-0.4.5-r2.ebuild new file mode 100644 index 000000000000..60e7eb508671 --- /dev/null +++ b/sci-ml/safetensors/safetensors-0.4.5-r2.ebuild @@ -0,0 +1,107 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 + +CRATES=" + autocfg@1.3.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.5.0 + indoc@2.0.5 + itoa@1.0.11 + libc@0.2.155 + lock_api@0.4.11 + memchr@2.7.4 + memmap2@0.9.4 + memoffset@0.9.1 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + portable-atomic@1.7.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + quote@1.0.36 + redox_syscall@0.4.1 + ryu@1.0.18 + scopeguard@1.2.0 + serde@1.0.204 + serde_derive@1.0.204 + serde_json@1.0.122 + smallvec@1.13.2 + syn@2.0.72 + target-lexicon@0.12.16 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 cargo + +DESCRIPTION="Simple, safe way to store and distribute tensors" +HOMEPAGE=" + https://pypi.org/project/safetensors/ + https://huggingface.co/ +" +SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +S="${WORKDIR}"/${P}/bindings/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" + +QA_FLAGS_IGNORED="usr/lib/.*" +RESTRICT="test" #depends on single pkg ( pytorch ) + +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm tests/test_{tf,paddle,flax}_comparison.py || die + rm benches/test_{pt,tf,paddle,flax}.py || die +} + +src_configure() { + cargo_src_configure + distutils-r1_src_configure +} + +python_compile() { + cargo_src_compile + distutils-r1_python_compile +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} -- cgit v1.2.3