From 43c2a85d4e20318dd3d35872e348707900870067 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 6 May 2024 00:00:52 +0100 Subject: gentoo auto-resync : 06:05:2024 - 00:00:51 --- sci-libs/onnx/Manifest | 2 +- sci-libs/onnx/onnx-1.15.0-r2.ebuild | 62 ---------------------------------- sci-libs/onnx/onnx-1.15.0-r3.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 63 deletions(-) delete mode 100644 sci-libs/onnx/onnx-1.15.0-r2.ebuild create mode 100644 sci-libs/onnx/onnx-1.15.0-r3.ebuild (limited to 'sci-libs/onnx') diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest index 9caa17518035..ee1552274f7f 100644 --- a/sci-libs/onnx/Manifest +++ b/sci-libs/onnx/Manifest @@ -4,5 +4,5 @@ AUX onnx-1.15.0-hidden.patch 511 BLAKE2B 857a4ff9597a25430e2236c2d9de47c1203e630 DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd EBUILD onnx-1.14.1-r2.ebuild 1287 BLAKE2B 981384a06007a6e1d0bbe602a6ab46cf856a5f6c07223599fbebfd23f2dfef4ded766367580b11e635421b0fb94ca0574fde853ee6dadb4d5f50e978a1eec1b9 SHA512 98cd76cee92bebe93192cce202fd7caf4cbb42d0afcf312acbdcb57992ccc1a7efe1f9cc3d1dc9df9cdc657b5c1ae4bfb2d6e5f86624f4bb6b5853d6a19ec952 -EBUILD onnx-1.15.0-r2.ebuild 1277 BLAKE2B 4c23680e30e41f6f7887ff21bdb7f5536feaf2cc702cab4edae00131168a834f854646c70acee084d15713be26ac2bc19337b4f2124d0a9c404d0da849f380ec SHA512 473ae0657d5a90479b1e20d76e17607dddbc411b9d6fee6af15a2167201ae5fad9f2c40cf4ddd49cfe1a81611475b2d36704278aca68e06834ce146cb2841be7 +EBUILD onnx-1.15.0-r3.ebuild 1281 BLAKE2B 05efb8be8849ab0563b15febc148e04e44e3a350d299e2bee75efc84ccb3538811db1eb4c23102ba72fbfafcdd1148733546fc4dfff49b49f9c2421df3d07aa4 SHA512 6ee2ae88935b7b583490b29c7a58239751aab008e6b928803de259691e66c73b903b39ccda0ade1187eb8fd53bb5ad1facbcc576992cefdf1e54ec9e957f4021 MISC metadata.xml 322 BLAKE2B a78b6feffba2cf354154448a0e0cef5e866ec51ff0158939e7a5be1f3c4cb9bb3b29ae88ae06540627946fc3e0f6e9a63ef4d8951385e840a7a87ada99e1d50a SHA512 9d81e8e43822232c8c8cf690b6bdb9939f04adeb9230f8225a5b0b10083f9555304768901c46cc5d29c41038397bbb3b12e0111c3d0443f4c0003e99b99fc50f diff --git a/sci-libs/onnx/onnx-1.15.0-r2.ebuild b/sci-libs/onnx/onnx-1.15.0-r2.ebuild deleted file mode 100644 index 63e8ab1695e9..000000000000 --- a/sci-libs/onnx/onnx-1.15.0-r2.ebuild +++ /dev/null @@ -1,62 +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_OPTIONAL=1 -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{9..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="python" -RESTRICT="test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - python? ( - ${PYTHON_DEPS} - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] - ) - dev-libs/protobuf:= -" -DEPEND="${RDEPEND}" - -BDEPEND="python? ( - ${DISTUTILS_DEPS} -)" - -PATCHES=( "${FILESDIR}"/${P}-hidden.patch ) - -src_prepare() { - cmake_src_prepare - use python && distutils-r1_src_prepare -} - -src_configure() { - mycmakeargs=( - -DONNX_USE_PROTOBUF_SHARED_LIBS=ON - -DONNX_USE_LITE_PROTO=ON - -DONNX_BUILD_SHARED_LIBS=ON - ) - cmake_src_configure - use python && distutils-r1_src_configure -} - -src_compile() { - cmake_src_compile - use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile -} - -src_install() { - cmake_src_install - use python && distutils-r1_src_install -} diff --git a/sci-libs/onnx/onnx-1.15.0-r3.ebuild b/sci-libs/onnx/onnx-1.15.0-r3.ebuild new file mode 100644 index 000000000000..cd9731d69130 --- /dev/null +++ b/sci-libs/onnx/onnx-1.15.0-r3.ebuild @@ -0,0 +1,67 @@ +# 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_{9..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" +RESTRICT="test" + +RDEPEND=" + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + dev-libs/protobuf:= +" +DEPEND="${RDEPEND}" + +src_prepare() { + eapply "${FILESDIR}"/${P}-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 + ) + 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 + ) + 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 +} -- cgit v1.2.3