git: a77bf6c3db18 - main - textproc/yq: update 3.4.1 → 3.4.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 27 Apr 2024 05:55:33 UTC
The branch main has been updated by yuri:

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

commit a77bf6c3db18613e44e6b212d91b17bdb0e5fe61
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-27 05:54:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-27 05:55:21 +0000

    textproc/yq: update 3.4.1 → 3.4.2
    
    Reported by:    portscout
---
 textproc/yq/Makefile             |  8 +++++---
 textproc/yq/distinfo             |  6 +++---
 textproc/yq/files/patch-setup.py | 11 +++++++++++
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/textproc/yq/Makefile b/textproc/yq/Makefile
index 2ad2df3e7348..ffe33d01ca00 100644
--- a/textproc/yq/Makefile
+++ b/textproc/yq/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	yq
-DISTVERSION=	3.4.1
+DISTVERSION=	3.4.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 
@@ -10,7 +10,9 @@ WWW=		https://kislyuk.github.io/yq/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	jq:textproc/jq \
 		${PYTHON_PKGNAMEPREFIX}argcomplete>=1.8.1:devel/py-argcomplete@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyaml>=5.3.1:textproc/py-pyaml@${PY_FLAVOR} \
@@ -23,7 +25,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python shebangfix
-USE_PYTHON=	distutils noflavors autoplist
+USE_PYTHON=	pep517 noflavors autoplist
 
 SHEBANG_FILES=	test/test.py
 
diff --git a/textproc/yq/distinfo b/textproc/yq/distinfo
index 9191d376ff87..70eefe862bce 100644
--- a/textproc/yq/distinfo
+++ b/textproc/yq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713472108
-SHA256 (yq-3.4.1.tar.gz) = b558dab6f15c03e24a1c448789500b20d6f307ee9ca4c9361387f3658163000d
-SIZE (yq-3.4.1.tar.gz) = 32876
+TIMESTAMP = 1714193103
+SHA256 (yq-3.4.2.tar.gz) = f916408e834e96f390ef82a36bfcbf24a555ae5a2fcdaef94a2ed5d260d161ef
+SIZE (yq-3.4.2.tar.gz) = 33154
diff --git a/textproc/yq/files/patch-setup.py b/textproc/yq/files/patch-setup.py
new file mode 100644
index 000000000000..15298ecf028e
--- /dev/null
+++ b/textproc/yq/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2024-04-27 04:49:23 UTC
++++ setup.py
+@@ -15,7 +15,7 @@ setup(
+     use_scm_version={
+         "write_to": "yq/version.py",
+     },
+-    setup_requires=["setuptools_scm >= 7, <8"],
++    setup_requires=["setuptools_scm >= 7"],
+     install_requires=[
+         "PyYAML >= 5.3.1",
+         "xmltodict >= 0.11.0",