Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:20:14 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 90a0ce7ebdd9 - main - devel/py-pyvisa: Convert to USE_PYTHON=pep517
Message-ID:  <202306300720.35U7KEgw073580@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 90a0ce7ebdd9ddbda0c20f35911936a65b9db336
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:56 +0000

    devel/py-pyvisa: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-pyvisa/Makefile                   | 7 +++++--
 devel/py-pyvisa/files/patch-pyproject.toml | 9 +++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/devel/py-pyvisa/Makefile b/devel/py-pyvisa/Makefile
index 30abd16fe04f..a15ad76b834a 100644
--- a/devel/py-pyvisa/Makefile
+++ b/devel/py-pyvisa/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyvisa
 PORTVERSION=	1.13.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +13,13 @@ WWW=		https://github.com/pyvisa/pyvisa
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR}
+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}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-pyvisa/files/patch-pyproject.toml b/devel/py-pyvisa/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e31ed7676d4d
--- /dev/null
+++ b/devel/py-pyvisa/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2022-12-22 14:58:28 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300720.35U7KEgw073580>