1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

misc/py-onnx: Update 1.13.1 → 1.14.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-06-21 21:27:49 -07:00
parent c1db67f931
commit 5ad38fa35a
4 changed files with 33 additions and 34 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= onnx
DISTVERSION= 1.13.1
PORTREVISION= 1
DISTVERSION= 1.14.0
CATEGORIES= misc # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1678353559
SHA256 (onnx-1.13.1.tar.gz) = 0bdcc25c2c1ce4a8750e4ffbd93ae945442e7fac6e51176f38e366b74a97dfd9
SIZE (onnx-1.13.1.tar.gz) = 10405481
TIMESTAMP = 1687406533
SHA256 (onnx-1.14.0.tar.gz) = 43b85087c6b919de66872a043c7f4899fe6f840e11ffca7e662b2ce9e4cc2927
SIZE (onnx-1.14.0.tar.gz) = 11329418

View File

@ -1,11 +1,11 @@
--- CMakeLists.txt.orig 2023-02-22 16:34:35 UTC
--- CMakeLists.txt.orig 2023-04-12 23:29:41 UTC
+++ CMakeLists.txt
@@ -18,7 +18,7 @@ project(onnx C CXX)
option(ONNX_BUILD_BENCHMARKS "Build ONNX micro-benchmarks" OFF)
option(ONNX_USE_PROTOBUF_SHARED_LIBS "Build ONNX using protobuf shared library. Sets PROTOBUF_USE_DLLS CMAKE Flag and Protobuf_USE_STATIC_LIBS. " OFF)
-option(BUILD_ONNX_PYTHON "Build Python binaries" OFF)
+option(BUILD_ONNX_PYTHON "Build Python binaries" ON)
option(ONNX_GEN_PB_TYPE_STUBS "Generate protobuf python type stubs" ON)
option(ONNX_WERROR "Build with Werror" OFF)
option(ONNX_COVERAGE "Build with coverage instrumentation" OFF)
@@ -18,7 +18,7 @@ project(onnx C CXX)
option(ONNX_BUILD_BENCHMARKS "Build ONNX micro-benchmarks" OFF)
option(ONNX_USE_PROTOBUF_SHARED_LIBS "Build ONNX using protobuf shared library. Sets PROTOBUF_USE_DLLS CMAKE Flag and Protobuf_USE_STATIC_LIBS. " OFF)
-option(BUILD_ONNX_PYTHON "Build Python binaries" OFF)
+option(BUILD_ONNX_PYTHON "Build Python binaries" ON)
option(ONNX_GEN_PB_TYPE_STUBS "Generate protobuf python type stubs" ON)
option(ONNX_WERROR "Build with Werror" OFF)
option(ONNX_COVERAGE "Build with coverage instrumentation" OFF)

View File

@ -1,20 +1,20 @@
--- setup.py.orig 2023-02-22 16:34:50 UTC
--- setup.py.orig 2023-04-12 23:29:42 UTC
+++ setup.py
@@ -56,11 +56,12 @@ COVERAGE = bool(os.getenv("COVERAGE", "0") == "1")
################################################################################
try:
- git_version = (
- subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=TOP_DIR)
- .decode("ascii")
- .strip()
- )
+ #git_version = (
+ # subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=TOP_DIR)
+ # .decode("ascii")
+ # .strip()
+ #)
+ git_version = None
except (OSError, subprocess.CalledProcessError):
git_version = None
@@ -59,11 +59,12 @@ COVERAGE = bool(os.getenv("COVERAGE", "0") == "1")
################################################################################
try:
- git_version = (
- subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=TOP_DIR)
- .decode("ascii")
- .strip()
- )
+ #git_version = (
+ # subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=TOP_DIR)
+ # .decode("ascii")
+ # .strip()
+ #)
+ git_version = None
except (OSError, subprocess.CalledProcessError):
git_version = None