git: bb35a385dcd5 - main - devel/py-pyvisa: Add GitHub to MASTER_SITES

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 02:16:31 UTC
The branch main has been updated by sunpoet:

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

commit bb35a385dcd5ffb4fe4fbdf19b22d8b4c41d6ce1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 01:49:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 02:08:23 +0000

    devel/py-pyvisa: Add GitHub to MASTER_SITES
---
 devel/py-pyvisa/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/py-pyvisa/Makefile b/devel/py-pyvisa/Makefile
index d1830dde391d..ff9fb1f6b86e 100644
--- a/devel/py-pyvisa/Makefile
+++ b/devel/py-pyvisa/Makefile
@@ -2,7 +2,8 @@ PORTNAME=	pyvisa
 PORTVERSION=	1.13.0
 PORTREVISION=	1
 CATEGORIES=	devel python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/pyvisa/pyvisa/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	PyVISA-${PORTVERSION}
 
@@ -13,7 +14,7 @@ WWW=		https://github.com/pyvisa/pyvisa
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+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}