public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
Date: Thu, 28 Dec 2023 12:38:40 +0000 (UTC)	[thread overview]
Message-ID: <1703767091.53130f4dd4f9b044616deb5bff4d34775f017add.tupone@gentoo> (raw)

commit:     53130f4dd4f9b044616deb5bff4d34775f017add
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 12:37:52 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 12:38:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53130f4d

sci-libs/onnx: add 1.15.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/onnx/Manifest           |  1 +
 sci-libs/onnx/onnx-1.15.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 250b9b0f4797..7ba3f7c87091 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -3,3 +3,4 @@ DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b2
 DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3
 DIST onnx-1.14.0.tar.gz 11568979 BLAKE2B 9aed36489f0bbe0a96f2a7d3f44b70d228a7ec1239f5ba2b16f4b2c9ffa8fb1ddddba06b1b5e6d279d12f8d55eaeece6654da0c60220bf813e99df74e33a33eb SHA512 8a525b365fd203f0a59bcf82fa7f2e29d7e0563885ebe38269c596cd4eb949bcfc65d848b92b7abafa7ddecedcfc019f8779097ffcb5087f06037cace24462fc
 DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
+DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd

diff --git a/sci-libs/onnx/onnx-1.15.0.ebuild b/sci-libs/onnx/onnx-1.15.0.ebuild
new file mode 100644
index 000000000000..1e57c8b8213f
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.15.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2023 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}
+)"
+
+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
+	)
+	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
+}


             reply	other threads:[~2023-12-28 12:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-28 12:38 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-04 16:16 [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/ Alfredo Tupone
2024-07-28 16:19 Patrick Lauer
2024-05-26 17:36 Alfredo Tupone
2024-05-26  7:51 Alfredo Tupone
2024-05-07  6:20 Alfredo Tupone
2024-05-06  8:29 Alfredo Tupone
2024-05-05  9:26 Alfredo Tupone
2024-02-19 21:30 Alfredo Tupone
2024-01-02 13:09 Alfredo Tupone
2024-01-02 12:52 Alfredo Tupone
2023-12-12 20:52 Alfredo Tupone
2023-12-03 13:59 Alfredo Tupone
2023-11-11 16:22 Alfredo Tupone
2023-11-01 20:50 Alfredo Tupone
2023-05-28 23:27 Yixun Lan
2023-05-23 20:28 Alfredo Tupone
2023-04-04 11:41 Alfredo Tupone
2023-02-14  7:45 Alfredo Tupone
2022-11-10 16:51 Alfredo Tupone
2022-09-05 19:17 Alfredo Tupone
2022-05-19 20:09 Alfredo Tupone
2022-05-19 12:21 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1703767091.53130f4dd4f9b044616deb5bff4d34775f017add.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox