mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
misc/{,py-}onnx: Update 1.13.0 → 1.13.1
Reported by: portscout
This commit is contained in:
parent
e77bcad486
commit
4e155b25b1
6 changed files with 38 additions and 38 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= onnx
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.13.0
|
||||
DISTVERSION= 1.13.1
|
||||
CATEGORIES= misc # machine-learning
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
#BUILD_DEPENDS= bash:shells/bash
|
||||
LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
||||
|
||||
USES= cmake:testing python:build
|
||||
USES= cmake:testing compiler:c++11-lang python:build
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1672366239
|
||||
SHA256 (onnx-onnx-v1.13.0_GH0.tar.gz) = 66eb61fc0ff4b6189816eb8e4da52e1e6775a1c29f372cbd08b694aa5b4ca978
|
||||
SIZE (onnx-onnx-v1.13.0_GH0.tar.gz) = 10779860
|
||||
TIMESTAMP = 1678353027
|
||||
SHA256 (onnx-onnx-v1.13.1_GH0.tar.gz) = 090d3e10ec662a98a2a72f1bf053f793efc645824f0d4b779e0ce47468a0890e
|
||||
SIZE (onnx-onnx-v1.13.1_GH0.tar.gz) = 10782133
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= onnx
|
||||
DISTVERSION= 1.13.0
|
||||
DISTVERSION= 1.13.1
|
||||
CATEGORIES= misc # machine-learning
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1672356068
|
||||
SHA256 (onnx-1.13.0.tar.gz) = 410b39950367857f97b65093681fe2495a2e23d63777a8aceaf96c56a16d166e
|
||||
SIZE (onnx-1.13.0.tar.gz) = 10376857
|
||||
TIMESTAMP = 1678353559
|
||||
SHA256 (onnx-1.13.1.tar.gz) = 0bdcc25c2c1ce4a8750e4ffbd93ae945442e7fac6e51176f38e366b74a97dfd9
|
||||
SIZE (onnx-1.13.1.tar.gz) = 10405481
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- CMakeLists.txt.orig 2022-11-17 13:03:00 UTC
|
||||
--- CMakeLists.txt.orig 2023-02-22 16:34:35 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)
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
--- setup.py.orig 2022-11-09 10:56:10 UTC
|
||||
--- setup.py.orig 2023-02-22 16:34:50 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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue