git: e89ee4ba4784 - main - misc/py-onnx-tf: Update 1.6.0 -> 1.10.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 17:45:52 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e89ee4ba47843b1bf9b3c0216fca3b9040618ed6
commit e89ee4ba47843b1bf9b3c0216fca3b9040618ed6
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-25 17:43:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-25 17:43:44 +0000
misc/py-onnx-tf: Update 1.6.0 -> 1.10.0
Also add patch that prevents tests from being installed into test/.
PR: 262759
Reported by: se@ (test directory)
---
misc/py-onnx-tf/Makefile | 2 +-
misc/py-onnx-tf/distinfo | 6 +++---
misc/py-onnx-tf/files/patch-setup.py | 13 +++++++++++++
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/misc/py-onnx-tf/Makefile b/misc/py-onnx-tf/Makefile
index 531ac896e83f..51da4bdf5897 100644
--- a/misc/py-onnx-tf/Makefile
+++ b/misc/py-onnx-tf/Makefile
@@ -1,5 +1,5 @@
PORTNAME= onnx-tf
-DISTVERSION= 1.6.0
+DISTVERSION= 1.10.0
CATEGORIES= misc python # machine-learning
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/misc/py-onnx-tf/distinfo b/misc/py-onnx-tf/distinfo
index 086659fcd471..e3ff076e36ca 100644
--- a/misc/py-onnx-tf/distinfo
+++ b/misc/py-onnx-tf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1607028857
-SHA256 (onnx-tf-1.6.0.tar.gz) = 040f56d5de801346d1b054e4c120caf236c56008320de1c7ba48d65c13f911e4
-SIZE (onnx-tf-1.6.0.tar.gz) = 113534
+TIMESTAMP = 1648229628
+SHA256 (onnx-tf-1.10.0.tar.gz) = eee80c72a921dc5345cddd030001b65855264d659594b1d180b2958405e10269
+SIZE (onnx-tf-1.10.0.tar.gz) = 143616
diff --git a/misc/py-onnx-tf/files/patch-setup.py b/misc/py-onnx-tf/files/patch-setup.py
new file mode 100644
index 000000000000..e526839a97de
--- /dev/null
+++ b/misc/py-onnx-tf/files/patch-setup.py
@@ -0,0 +1,13 @@
+- same patch as suggested here: https://github.com/onnx/onnx-tensorflow/issues/1016
+
+--- setup.py.orig 2022-03-25 17:32:07 UTC
++++ setup.py
+@@ -30,7 +30,7 @@ setuptools.setup(
+ author='Arpith Jacob, Tian Jin, Gheorghe-Teodor Bercea, Wenhao Hu',
+ author_email='tian.jin1@ibm.com',
+ license='Apache License 2.0',
+- packages=setuptools.find_packages(),
++ packages=setuptools.find_packages(exclude=['test*']),
+ zip_safe=False,
+ classifiers=[
+ "Programming Language :: Python :: 2",