svn commit: r563553 - in head/misc/py-onnx: . files

Yuri Victorovich yuri at FreeBSD.org
Mon Feb 1 07:02:38 UTC 2021


Author: yuri
Date: Mon Feb  1 07:02:37 2021
New Revision: 563553
URL: https://svnweb.freebsd.org/changeset/ports/563553

Log:
  misc/py-onnx: Update 1.8.0 -> 1.8.1
  
  Reported by:	portscout

Added:
  head/misc/py-onnx/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/misc/py-onnx/Makefile
  head/misc/py-onnx/distinfo
  head/misc/py-onnx/files/patch-setup.py

Modified: head/misc/py-onnx/Makefile
==============================================================================
--- head/misc/py-onnx/Makefile	Mon Feb  1 05:55:04 2021	(r563552)
+++ head/misc/py-onnx/Makefile	Mon Feb  1 07:02:37 2021	(r563553)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	onnx
-DISTVERSION=	1.8.0
-PORTREVISION=	1
+DISTVERSION=	1.8.1
 CATEGORIES=	misc # machine-learning
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,15 +12,19 @@ COMMENT=	Open Neural Network eXchange
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	cmake:devel/cmake \
+BUILD_DEPENDS=	bash:shells/bash \
+		cmake:devel/cmake \
+		protoc-gen-mypy:devel/py-mypy-protobuf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.2.1:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		compiler:c11 python:3.6+
+USES=		compiler:c11 python:3.6+ shebangfix
 USE_PYTHON=	distutils concurrent autoplist
+
+SHEBANG_FILES=	tools/protoc-gen-mypy.sh.in
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 

Modified: head/misc/py-onnx/distinfo
==============================================================================
--- head/misc/py-onnx/distinfo	Mon Feb  1 05:55:04 2021	(r563552)
+++ head/misc/py-onnx/distinfo	Mon Feb  1 07:02:37 2021	(r563553)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604851394
-SHA256 (onnx-1.8.0.tar.gz) = 5f787fd3ce1290e12da335237b3b921152157e51aa09080b65631b3ce3fcc50c
-SIZE (onnx-1.8.0.tar.gz) = 5231652
+TIMESTAMP = 1612156758
+SHA256 (onnx-1.8.1.tar.gz) = 9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb
+SIZE (onnx-1.8.1.tar.gz) = 5232742

Added: head/misc/py-onnx/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-onnx/files/patch-CMakeLists.txt	Mon Feb  1 07:02:37 2021	(r563553)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2021-02-01 05:41: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 " 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)

Modified: head/misc/py-onnx/files/patch-setup.py
==============================================================================
--- head/misc/py-onnx/files/patch-setup.py	Mon Feb  1 05:55:04 2021	(r563552)
+++ head/misc/py-onnx/files/patch-setup.py	Mon Feb  1 07:02:37 2021	(r563553)
@@ -1,6 +1,6 @@
---- setup.py.orig	2019-09-25 20:37:27 UTC
+--- setup.py.orig	2021-01-29 23:31:55 UTC
 +++ setup.py
-@@ -53,11 +53,12 @@ COVERAGE = bool(os.getenv('COVERAGE'))
+@@ -56,11 +56,12 @@ COVERAGE = bool(os.getenv('COVERAGE'))
  # Version
  ################################################################################
  


More information about the svn-ports-all mailing list