summaryrefslogtreecommitdiff
path: root/sci-libs/onnx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-05 12:28:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-05 12:28:41 +0100
commit5d93bae2c1576ab817f482024a6d47592829407b (patch)
tree1fd9619473e6cdba4c004554cb1743ec16654102 /sci-libs/onnx
parent518b45bffd19d0b75715f338985f96c459f9d129 (diff)
gentoo auto-resync : 05:09:2024 - 12:28:40
Diffstat (limited to 'sci-libs/onnx')
-rw-r--r--sci-libs/onnx/Manifest4
-rw-r--r--sci-libs/onnx/onnx-1.16.1-r1.ebuild (renamed from sci-libs/onnx/onnx-1.16.0-r1.ebuild)4
-rw-r--r--sci-libs/onnx/onnx-1.16.1.ebuild71
3 files changed, 3 insertions, 76 deletions
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index ffa69d160e36..fdb4d1f38f5c 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,6 +1,4 @@
AUX onnx-1.15.0-hidden.patch 511 BLAKE2B 857a4ff9597a25430e2236c2d9de47c1203e630a4adfe8e4cdb72ddfb928f0327e2a625ad91e936e4d3f71bc4aa135bbd15abcf348958238075d356d47d3291b SHA512 a4dbcbae79af1ef1edc8ec8aa27eb0303c1a52baf7db74e70f2d1e6a35db7d5ed2205f7f10f34fdcd3ac536b029edf749b9eb8f7926ac2b620ac7a4b59884182
-DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a SHA512 ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
DIST onnx-1.16.1.tar.gz 12428832 BLAKE2B 15a7db2fa263914957c671bd8e94eb8b80afeba0b396e8b54f8fb2deda2965885055efae7a6f6e402eb085b5795025020f650132023ba3d4df1f395d99ec353c SHA512 0ae1b36563ddeaa9947bf452eb20b83174e4c2bc4696b61768f096c401666323343fac0f699f756da99d3c29df15a0bd78fe3fa51da15f133617d7310c5b28d4
-EBUILD onnx-1.16.0-r1.ebuild 1472 BLAKE2B 9ad73dba0ab42f4befaea9e49b497fae33b642ee350e3612bd830e4ab9e30452a82905f8fd9cb6bfde28663b2c173b1b8cea93e38cde264d99d259bd7fb82868 SHA512 3e7f0caae489f2cd95db713f5d30de754069679dbb8fdd7d1ce3ae7d1a031cb041b507acaeb1dd1322fc45405ef0588a1aad13f140b5ba1b472035b71824296f
-EBUILD onnx-1.16.1.ebuild 1472 BLAKE2B 9ad73dba0ab42f4befaea9e49b497fae33b642ee350e3612bd830e4ab9e30452a82905f8fd9cb6bfde28663b2c173b1b8cea93e38cde264d99d259bd7fb82868 SHA512 3e7f0caae489f2cd95db713f5d30de754069679dbb8fdd7d1ce3ae7d1a031cb041b507acaeb1dd1322fc45405ef0588a1aad13f140b5ba1b472035b71824296f
+EBUILD onnx-1.16.1-r1.ebuild 1474 BLAKE2B 4eae3a54c71f15ea97c8d4207857bfb87aa40948e82c458081d4eafa394e4658d226d9265b803e21cf239759d6bc25593c06dad86a51b376ab8c9a50b55dac54 SHA512 39a525375826883195750efa901e8c35512c10484d4868ad2c088db6d805e7ad63c46c4f70db229e610411dd58cfc4bc4bd4259ae292551646230601ad35c8d9
MISC metadata.xml 404 BLAKE2B 363f1790f0dd2eace0368d7eb1875c166ba6dd0b2514232050f2f1813ccba854b4f8e58e22a329792126188f06d21bf87436c1dcc10d68b018f7abc8eb8ec3e9 SHA512 6a80de77d763a261cafee9cd69337de5282fa39772a1d2a82c3d954d29221596036346339926a124f9df9b261050d17b58d004cdd01ff2f57347379e9df2e45f
diff --git a/sci-libs/onnx/onnx-1.16.0-r1.ebuild b/sci-libs/onnx/onnx-1.16.1-r1.ebuild
index 16f073d9b4d3..0e8227eb2487 100644
--- a/sci-libs/onnx/onnx-1.16.0-r1.ebuild
+++ b/sci-libs/onnx/onnx-1.16.1-r1.ebuild
@@ -22,9 +22,9 @@ RDEPEND="
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
+ dev-cpp/abseil-cpp:=
"
-DEPEND="${RDEPEND}
- dev-cpp/abseil-cpp"
+DEPEND="${RDEPEND}"
src_prepare() {
eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
diff --git a/sci-libs/onnx/onnx-1.16.1.ebuild b/sci-libs/onnx/onnx-1.16.1.ebuild
deleted file mode 100644
index 16f073d9b4d3..000000000000
--- a/sci-libs/onnx/onnx-1.16.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2022-2024 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 ~riscv"
-IUSE="disableStaticReg"
-RESTRICT="test"
-
-RDEPEND="
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}
- dev-cpp/abseil-cpp"
-
-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
-}