git: 3b6eb198225a - main - devel/py-pyvisa: Update to 1.16.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:29:51 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b6eb198225a2e85324ac1bf2847c45936811c07

commit 3b6eb198225a2e85324ac1bf2847c45936811c07
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:59:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:47 +0000

    devel/py-pyvisa: Update to 1.16.2
    
    Changes:        https://github.com/pyvisa/pyvisa/releases
---
 devel/py-pyvisa/Makefile                   |  5 ++---
 devel/py-pyvisa/distinfo                   |  6 +++---
 devel/py-pyvisa/files/patch-pyproject.toml | 12 ++++++------
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/devel/py-pyvisa/Makefile b/devel/py-pyvisa/Makefile
index d208b841e33d..05c17d7f4956 100644
--- a/devel/py-pyvisa/Makefile
+++ b/devel/py-pyvisa/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	pyvisa
-PORTVERSION=	1.14.1
+PORTVERSION=	1.16.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/pyvisa/pyvisa/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	PyVISA-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python VISA bindings for GPIB, RS232, TCPIP and USB instruments
@@ -16,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-pyvisa/distinfo b/devel/py-pyvisa/distinfo
index cda0dc5aec56..61ca481fdd34 100644
--- a/devel/py-pyvisa/distinfo
+++ b/devel/py-pyvisa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700759826
-SHA256 (PyVISA-1.14.1.tar.gz) = 71030041ed4c5dad77687454cf44b8be4d1642e9d1aaa22019248d41d8ed7a79
-SIZE (PyVISA-1.14.1.tar.gz) = 234683
+TIMESTAMP = 1790435808
+SHA256 (pyvisa-1.16.2.tar.gz) = 75beb93eeafe20a50be5726fa4e3a645948c93d86819f9c1f8c542efa4085a38
+SIZE (pyvisa-1.16.2.tar.gz) = 238729
diff --git a/devel/py-pyvisa/files/patch-pyproject.toml b/devel/py-pyvisa/files/patch-pyproject.toml
index e31ed7676d4d..914881a05d65 100644
--- a/devel/py-pyvisa/files/patch-pyproject.toml
+++ b/devel/py-pyvisa/files/patch-pyproject.toml
@@ -1,9 +1,9 @@
---- pyproject.toml.orig	2022-12-22 14:58:28 UTC
+--- pyproject.toml.orig	2026-02-27 12:13:32 UTC
 +++ pyproject.toml
 @@ -1,5 +1,5 @@
  [project]
--name = "PyVISA"
-+name = "pyvisa"
- description = "Python VISA bindings for GPIB, RS232, TCPIP and USB instruments"
- readme = "README.rst"
- requires-python = ">=3.8"
+-  name = "PyVISA"
++  name = "pyvisa"
+   description = "Python VISA bindings for GPIB, RS232, TCPIP and USB instruments"
+   readme = "README.rst"
+   requires-python = ">=3.10"