From nobody Sun Jul 31 17:15:25 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 4LwnvL1dVlz4XmZT; Sun, 31 Jul 2022 17:15:26 +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 4LwnvL16xyz44B5; Sun, 31 Jul 2022 17:15:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659287726; 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=OiMmo28ExXzaOlabdPzoF5ia+RY1ho/nLeOAq8ncfxw=; b=FpwMQmcpYvBByVNgkThk6pkHr+mIdPASc/PqaKowKRwE2sahJP7za9fhUfsSjOaM9sOogo PgTi0cZdQXeqs/2/7mkSrGx3TRcaxXtRc94Hpy/2b2BjBGDEDQwrRGjdejAUM+v01XCw3W OpypzEqi7NwPk1fpZ8NUEOJIzSBm+rn56n5ZELMrxGUT/wJxxjS3EyLMxuMkmApoInv4F+ Ir84SVQnGdst7S2TdZ+CTpYp6FFsjxd1pgUTNV6mrmmB3gRdbHcuYePQNaiZCwrvn2xCHa idwb7bPaeSYQRw0JSEhfk+WFtXFZ5e115IlQykowYZ1neAGWlYmgXDlZGRv6rg== 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 4LwnvL08hzz11rb; Sun, 31 Jul 2022 17:15:26 +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 26VHFP4A017008; Sun, 31 Jul 2022 17:15:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26VHFP6q017007; Sun, 31 Jul 2022 17:15:25 GMT (envelope-from git) Date: Sun, 31 Jul 2022 17:15:25 GMT Message-Id: <202207311715.26VHFP6q017007@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Reifenberger Subject: git: 7d50e80cc37a - main - comms/nanovna-saver: Update 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: mr X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d50e80cc37a404e111f94bc880780ddd5ef22c7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659287726; 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=OiMmo28ExXzaOlabdPzoF5ia+RY1ho/nLeOAq8ncfxw=; b=lfGLYXWiGbqghLPNto8kl/+8UDYILeEfib+4oQwd6RHDqyMtelkv0tIzAGAFNlWWUy/6/J B6TFhgi8fEkz6gdYL78iiKPBEzS3mGylKrPiP43mxHo3Zo0LXS5YZECNtB91OH4Yo8lJsG voPOykcmmKXgp6Y5fzk69osnqVzbcJ3Q9XqAodYucNOZ5ho2QAxTzypzj6HT8NhSmfOd29 0Oe39JRzshtSDGe3DGB2AXbEajEtf/n2nyvgmrNoqijbPBJ4SkK2OBhcnKygQgVgXsQ/gz W6fEs4Cbk3hw5SlXJF2+6QTWxSkmdcSWvXZuMFe5nEt0ldL1D5tXCdga+QakQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659287726; a=rsa-sha256; cv=none; b=Mmx/ZWF1k1OnC6/zxd+CMNGG5td77G1tnIYpZE9GdJLzXMN+XKlHvFZA+MYB2KfBodYFxp T6BjJV4vKUMoVTIDg0p6SCwMfO6ANVEqKqKt+iA86BlbMu7a+CGMxv4m/a0/VuPmC3DFTT UKbKuf4fDFFMwSI28Yrxc/9sS4IWCH4rAnTEDaxMmsfXq6uyL7wBcwtgCp7rFPdzpjnRYO /dfYDxOOlI3qDcZyCH+lRru2Jjq7kSKKIpovpL6rGuO0xwjFQLabPkK+0X+z6V6/1bmLpX Dguq8kLjxE9uwPzkZYOIVqh5k/u2sw/fMgQ6GvONjYaiQER7hMVyPj4PkLHClA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mr: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d50e80cc37a404e111f94bc880780ddd5ef22c7 commit 7d50e80cc37a404e111f94bc880780ddd5ef22c7 Author: Michael Reifenberger AuthorDate: 2022-07-31 17:14:15 +0000 Commit: Michael Reifenberger CommitDate: 2022-07-31 17:15:10 +0000 comms/nanovna-saver: Update Update to 0.4.0 PR: 265534 --- comms/nanovna-saver/Makefile | 5 ++--- comms/nanovna-saver/distinfo | 6 +++--- .../files/patch-NanoVNASaver_Hardware_Hardware.py | 16 ++++++++++++++-- comms/nanovna-saver/pkg-descr | 2 +- 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/comms/nanovna-saver/Makefile b/comms/nanovna-saver/Makefile index f4873bfe58d8..cbafd38641c8 100644 --- a/comms/nanovna-saver/Makefile +++ b/comms/nanovna-saver/Makefile @@ -1,7 +1,6 @@ PORTNAME= nanovna-saver DISTVERSIONPREFIX= v -DISTVERSION= 0.3.10 -PORTREVISION= 2 +DISTVERSION= 0.4.0 CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org @@ -21,7 +20,7 @@ USE_PYTHON= distutils autoplist noflavors USE_PYQT= pyqt5_run USE_GITHUB= yes -GH_ACCOUNT= mihtjel +GH_ACCOUNT= NanoVNA-Saver NO_ARCH= yes diff --git a/comms/nanovna-saver/distinfo b/comms/nanovna-saver/distinfo index 4d12dbe4d6ec..47e388769df9 100644 --- a/comms/nanovna-saver/distinfo +++ b/comms/nanovna-saver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1641829596 -SHA256 (mihtjel-nanovna-saver-v0.3.10_GH0.tar.gz) = 202c907125015e2fb26926ef1ce365321d749207a74e3029e729e89e50acda88 -SIZE (mihtjel-nanovna-saver-v0.3.10_GH0.tar.gz) = 477821 +TIMESTAMP = 1657834718 +SHA256 (NanoVNA-Saver-nanovna-saver-v0.4.0_GH0.tar.gz) = df1a68f0a6cb2f686b34860761cb3a36061b2f184c8e5bc72b590c04a140e62f +SIZE (NanoVNA-Saver-nanovna-saver-v0.4.0_GH0.tar.gz) = 488898 diff --git a/comms/nanovna-saver/files/patch-NanoVNASaver_Hardware_Hardware.py b/comms/nanovna-saver/files/patch-NanoVNASaver_Hardware_Hardware.py index 970c3e21cebe..2ffb91e85f22 100644 --- a/comms/nanovna-saver/files/patch-NanoVNASaver_Hardware_Hardware.py +++ b/comms/nanovna-saver/files/patch-NanoVNASaver_Hardware_Hardware.py @@ -1,4 +1,4 @@ ---- NanoVNASaver/Hardware/Hardware.py.orig 2022-01-04 07:44:03 UTC +--- NanoVNASaver/Hardware/Hardware.py.orig 2022-04-01 14:51:11 UTC +++ NanoVNASaver/Hardware/Hardware.py @@ -34,6 +34,7 @@ from NanoVNASaver.Hardware.NanoVNA_H4 import NanoVNA_H from NanoVNASaver.Hardware.NanoVNA_V2 import NanoVNA_V2 @@ -20,7 +20,19 @@ for t in USBDEVICETYPES: if d.vid != t.vid or d.pid != t.pid: continue -@@ -94,7 +100,6 @@ def get_interfaces() -> List[Interface]: +@@ -87,14 +93,17 @@ def get_interfaces() -> List[Interface]: + t.name, d.vid, d.pid, d.device) + iface = Interface('serial', t.name) + iface.port = d.device +- iface.open() ++ try: ++ iface.open() ++ except serial.SerialException: ++ logger.warning("Could not open serial port %s", d.device) ++ continue + iface.comment = get_comment(iface) + iface.close() + interfaces.append(iface) logger.debug("Interfaces: %s", interfaces) return interfaces diff --git a/comms/nanovna-saver/pkg-descr b/comms/nanovna-saver/pkg-descr index bca547b9d86f..ec8fafa9676f 100644 --- a/comms/nanovna-saver/pkg-descr +++ b/comms/nanovna-saver/pkg-descr @@ -4,4 +4,4 @@ A multiplatform tool to save Touchstone files from the NanoVNA, sweep frequency spans in segments to gain more than 101 data points, and generally display and analyze the resulting data. -WWW: https://github.com/mihtjel/nanovna-saver +WWW: https://github.com/NanoVNA-Saver/nanovna-saver