From nobody Fri Dec 30 02:05:09 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NjpVs41zrz2kmC5; Fri, 30 Dec 2022 02:05:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NjpVs33Klz4G0r; Fri, 30 Dec 2022 02:05:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672365909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bIKbcwvKd7zi2cFuMBUI9eOD3Ms6eOeJf+7kWy98r8U=; b=S6Ajk0smhdM30Md7Rp+oSve3HJLhmW8aA5J0o8PRuVayBreelIsD0kYJ6W43C+Jry6L1VV dKEsXlGQYql3altbD+ZdlGnky88s9T4sw6U3DexEbKlymPcNDPpD3BMk0n/4bwBxrN+RUz S2josQTIMUqE9tI7C4P60Fm31CKkFt1LGlt/TaJCV/vSUC/m6SbEGAzSXZ6T395dgJKLT4 Z2qQPCEz/b7/NkfNUTe9eadiQPg4ZLD5emNfPCyLwaaKp4lAbl1SEpxK5Fykj85P6raNMr fL0Bi1o3yTnHQxBHY6WBUGaBieAUao0RteinvuN9ls5VfS+lsVEwBc+/eOx+jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672365909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bIKbcwvKd7zi2cFuMBUI9eOD3Ms6eOeJf+7kWy98r8U=; b=rd7J/gfWTeICt9eatvsk/5xEavEmuH3LmZ6sKudYhsgtGRJ9dreKPTPS9s8IeEpsjOzhue WTPbFqcJZXdceZYFanU0k07ypu0SMo2t4kdz3zDvryFE9PLP1tKVou2oSAZDa4SZq/sinU 3tUsVlRj9NThhCLHF4PbDTbBrc9Ri92mfrJI1i2ILi24JmG3NWRFS1Em7NmXQQRozB7x0M AFy2kOIET03jGiXj5YEtc86GOZh8wlh8pR9V/cDoklyLlAds03PAjMTeIurfOXFEqsars3 TwtO97ZPUJmpbBdU8Kq6dikhBghDzKCdVrPyZx+S7gYfwuiJKKkxXf2EucL5YA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672365909; a=rsa-sha256; cv=none; b=Iv2nb6Oho1lVpwlK0CoXIZ6rpUjzmy6+UETQzff3BkkKWt926WCJHsnv7iGoIHt6X5/Ono kJLTFv+wsYrGk23WMI1JVGul4nW+Db0dpmIAuQhKyGwZ6l5rgAyWm5u9RgV0UpOEVT8uPT kE1MUkmrqvYQegUD+1pBEfK+8bkMcoI5ljhO+gVEVjuXlAZcSjU3ElDUI+4HNuqXl87ZLo viujLHR0LLas4tEaMYHzEca+TXWEG0enA5LjfLtDFwDyhUIEU2ovo0cDdykSE5Uh6Zyyzi OFhHiPKtN5247bog8m/UWqagIDmp6Wtg6FUsmelloUilC4rZqLjdR5DIisBOnw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NjpVs20R9zrP7; Fri, 30 Dec 2022 02:05:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BU259EP093595; Fri, 30 Dec 2022 02:05:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU259Pi093594; Fri, 30 Dec 2022 02:05:09 GMT (envelope-from git) Date: Fri, 30 Dec 2022 02:05:09 GMT Message-Id: <202212300205.2BU259Pi093594@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: acb6bfa7fc9a - main - misc/py-onnx: Update 1.12.0 -> 1.13.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: acb6bfa7fc9a4ce9e16f87fbdd16f2d0b58025c9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=acb6bfa7fc9a4ce9e16f87fbdd16f2d0b58025c9 commit acb6bfa7fc9a4ce9e16f87fbdd16f2d0b58025c9 Author: Yuri Victorovich AuthorDate: 2022-12-29 23:43:59 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-30 02:05:06 +0000 misc/py-onnx: Update 1.12.0 -> 1.13.0 --- misc/py-onnx/Makefile | 3 +-- misc/py-onnx/distinfo | 6 +++--- misc/py-onnx/files/patch-CMakeLists.txt | 20 ++++++++--------- misc/py-onnx/files/patch-setup.py | 38 ++++++++++++++++----------------- 4 files changed, 33 insertions(+), 34 deletions(-) diff --git a/misc/py-onnx/Makefile b/misc/py-onnx/Makefile index 0265b8ad42c4..cd677a82cbb3 100644 --- a/misc/py-onnx/Makefile +++ b/misc/py-onnx/Makefile @@ -1,6 +1,5 @@ PORTNAME= onnx -DISTVERSION= 1.12.0 -PORTREVISION= 1 +DISTVERSION= 1.13.0 CATEGORIES= misc # machine-learning MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-onnx/distinfo b/misc/py-onnx/distinfo index 9625f353abb5..30db3ac69d2e 100644 --- a/misc/py-onnx/distinfo +++ b/misc/py-onnx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1656109901 -SHA256 (onnx-1.12.0.tar.gz) = 13b3e77d27523b9dbf4f30dfc9c959455859d5e34e921c44f712d69b8369eff9 -SIZE (onnx-1.12.0.tar.gz) = 10112442 +TIMESTAMP = 1672356068 +SHA256 (onnx-1.13.0.tar.gz) = 410b39950367857f97b65093681fe2495a2e23d63777a8aceaf96c56a16d166e +SIZE (onnx-1.13.0.tar.gz) = 10376857 diff --git a/misc/py-onnx/files/patch-CMakeLists.txt b/misc/py-onnx/files/patch-CMakeLists.txt index 6273f7b3bb82..61d9f650f002 100644 --- a/misc/py-onnx/files/patch-CMakeLists.txt +++ b/misc/py-onnx/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2022-02-07 19:42:24 UTC +--- CMakeLists.txt.orig 2022-11-17 13:03:00 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) diff --git a/misc/py-onnx/files/patch-setup.py b/misc/py-onnx/files/patch-setup.py index 36d88911028e..55535f2d925f 100644 --- a/misc/py-onnx/files/patch-setup.py +++ b/misc/py-onnx/files/patch-setup.py @@ -1,20 +1,20 @@ ---- setup.py.orig 2022-06-15 20:13:03 UTC +--- setup.py.orig 2022-11-09 10:56:10 UTC +++ setup.py -@@ -56,11 +56,12 @@ COVERAGE = bool(os.getenv("COVERAGE", "0") == "1") - # Version - ################################################################################ - --try: -- git_version = subprocess.check_output(["git", "rev-parse", "HEAD"], -- cwd=TOP_DIR).decode("ascii").strip() --except (OSError, subprocess.CalledProcessError): -- git_version = None -+#try: -+# git_version = subprocess.check_output(["git", "rev-parse", "HEAD"], -+# cwd=TOP_DIR).decode("ascii").strip() -+#except (OSError, subprocess.CalledProcessError): -+# git_version = None -+git_version = None - - with open(os.path.join(TOP_DIR, "VERSION_NUMBER")) as version_file: - VERSION_NUMBER = version_file.read().strip() +@@ -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 +