git: 4eccea96d077 - main - cad/py-vunit-hdl: Update 4.6.0 → 4.6.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 07:49:31 UTC
The branch main has been updated by yuri:

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

commit 4eccea96d077455b47336ec95a2d54bfb8666192
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-23 04:50:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-23 07:49:25 +0000

    cad/py-vunit-hdl: Update 4.6.0 → 4.6.2
    
    Reported by:    portscout
---
 cad/py-vunit-hdl/Makefile                   |  7 ++++---
 cad/py-vunit-hdl/distinfo                   |  6 +++---
 cad/py-vunit-hdl/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/cad/py-vunit-hdl/Makefile b/cad/py-vunit-hdl/Makefile
index 88c12dd51f36..885aaf867abf 100644
--- a/cad/py-vunit-hdl/Makefile
+++ b/cad/py-vunit-hdl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	vunit-hdl
-DISTVERSION=	4.6.0
+DISTVERSION=	4.6.2
 CATEGORIES=	cad python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,11 @@ WWW=		https://vunit.github.io/
 
 LICENSE=	MPL20
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist pytest # 2 tests fail, see https://github.com/VUnit/vunit/issues/886
+USE_PYTHON=	pep517 autoplist pytest # 2 tests fail, see https://github.com/VUnit/vunit/issues/886
 
 NO_ARCH=	yes
 
diff --git a/cad/py-vunit-hdl/distinfo b/cad/py-vunit-hdl/distinfo
index 4a36e544fc44..8ba2274b0717 100644
--- a/cad/py-vunit-hdl/distinfo
+++ b/cad/py-vunit-hdl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1673167323
-SHA256 (vunit_hdl-4.6.0.tar.gz) = b405a97b5da4c26c99d8c726f38594c9173c0ac3f8a0832431c8e4920d2cacdf
-SIZE (vunit_hdl-4.6.0.tar.gz) = 626992
+TIMESTAMP = 1677122440
+SHA256 (vunit_hdl-4.6.2.tar.gz) = 8e1ead85731c0d0f8964887f8c4be9319a32f4a0335d6da4c531d5994e94bbfd
+SIZE (vunit_hdl-4.6.2.tar.gz) = 627490
diff --git a/cad/py-vunit-hdl/files/patch-pyproject.toml b/cad/py-vunit-hdl/files/patch-pyproject.toml
new file mode 100644
index 000000000000..90fb5d41144e
--- /dev/null
+++ b/cad/py-vunit-hdl/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-02-23 03:24:14 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ [build-system]
+ requires = [
+     "setuptools >= 35.0.2",
+-    "setuptools_scm >= 2.0.0, <3"
++    "setuptools_scm"
+ ]
+ build-backend = "setuptools.build_meta"
+