1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

math/py-onnx: Update 1.6.0 -> 1.7.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2020-05-16 18:22:50 +00:00
parent 6187f8915b
commit 052437887f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535491
3 changed files with 5 additions and 19 deletions

View File

@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= onnx
DISTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= math
DISTVERSION= 1.7.0
CATEGORIES= math # machine learning
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1569680334
SHA256 (onnx-1.6.0.tar.gz) = 3b88c3fe521151651a0403c4d131cb2e0311bd28b753ef692020a432a81ce345
SIZE (onnx-1.6.0.tar.gz) = 3132813
TIMESTAMP = 1589652742
SHA256 (onnx-1.7.0.tar.gz) = 5e7abaaf71c9403354c406cf20975c1499399247e1f98b5a446a700d977bd948
SIZE (onnx-1.7.0.tar.gz) = 5479406

View File

@ -1,13 +0,0 @@
Obtained from: https://github.com/onnx/onnx/pull/2482/commits/7bcb1302352c9953bfc396c3ec2114b382c65614
--- CMakeLists.txt.orig 2019-09-25 20:37:27 UTC
+++ CMakeLists.txt
@@ -226,7 +226,7 @@ function(RELATIVE_PROTOBUF_GENERATE_CPP NAME SRCS HDRS
${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
if(BUILD_ONNX_PYTHON)
list(APPEND PROTOC_ARGS --python_out
- ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
+ ${CMAKE_CURRENT_BINARY_DIR})
if(ONNX_GEN_PB_TYPE_STUBS)
# Haven't figured out how to generate mypy stubs on Windows yet
if(NOT WIN32)