git: 62fed2cafb07 - main - devel/py-pyvisa: Update to 1.13.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:09:48 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=62fed2cafb07363312d2598a0f2801de65c4d536

commit 62fed2cafb07363312d2598a0f2801de65c4d536
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:32:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:00:01 +0000

    devel/py-pyvisa: Update to 1.13.0
    
    - Follow upstream logic: py-pyvisa-py depends on py-pyvisa
    
    Changes:        https://github.com/pyvisa/pyvisa/releases
                    https://github.com/pyvisa/pyvisa/blob/main/CHANGES
---
 devel/py-pyvisa/Makefile | 15 ++++-----------
 devel/py-pyvisa/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/devel/py-pyvisa/Makefile b/devel/py-pyvisa/Makefile
index f6e925eccc82..fb17cb834111 100644
--- a/devel/py-pyvisa/Makefile
+++ b/devel/py-pyvisa/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyvisa
-PORTVERSION=	1.12.0
+PORTVERSION=	1.13.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,18 +13,11 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyvisa-py>=0:devel/py-pyvisa-py@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		python:3.7+
+USES=		python:3.8+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-pyvisa/distinfo b/devel/py-pyvisa/distinfo
index 155d74502204..79df961dedaa 100644
--- a/devel/py-pyvisa/distinfo
+++ b/devel/py-pyvisa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652446726
-SHA256 (PyVISA-1.12.0.tar.gz) = 73a38e6bf7431449bd3e1c7bf51a995f62fcae68df580c01c30628629c6b5cbf
-SIZE (PyVISA-1.12.0.tar.gz) = 226274
+TIMESTAMP = 1674589892
+SHA256 (PyVISA-1.13.0.tar.gz) = 89fa008b58465c928655459508513c51e942ca7bf3e2a727da869366e0c8f9c6
+SIZE (PyVISA-1.13.0.tar.gz) = 227028