git: 1ad3b783e5ad - main - textproc/yq: Update 3.2.1 → 3.2.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 13 Jun 2023 23:21:57 UTC
The branch main has been updated by yuri:

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

commit 1ad3b783e5ad4496ae3c402c7127c8db9ce70009
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-13 21:07:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-13 23:21:54 +0000

    textproc/yq: Update 3.2.1 → 3.2.2
    
    Reported by:    portscout
---
 textproc/yq/Makefile | 21 ++++++++++++++-------
 textproc/yq/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/textproc/yq/Makefile b/textproc/yq/Makefile
index 91b309ea949a..e4dba007eddf 100644
--- a/textproc/yq/Makefile
+++ b/textproc/yq/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	yq
-DISTVERSION=	3.2.1
+DISTVERSION=	3.2.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Command-line YAML and XML processor, jq wrapper for YAML/XML documents
-WWW=		https://github.com/kislyuk/yq
+WWW=		https://kislyuk.github.io/yq/
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -17,17 +17,24 @@ RUN_DEPENDS=	jq:textproc/jq \
 		${PYTHON_PKGNAMEPREFIX}pyaml>=5.3.1:textproc/py-pyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.6:textproc/py-tomlkit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xmltodict>=0.11.0:devel/py-xmltodict@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \
+		ruff:devel/ruff \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+ shebangfix
 USE_PYTHON=	distutils noflavors autoplist
 
+SHEBANG_FILES=	test/test.py
+
+TEST_ENV=	${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 CONFLICTS_INSTALL=	go-yq
 
 NO_ARCH=	yes
 
-do-test: # tests fail: https://github.com/kislyuk/yq/issues/62
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+do-test: # tests fail: https://github.com/kislyuk/yq/issues/168
+	@cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ./test.py
 
 .include <bsd.port.mk>
diff --git a/textproc/yq/distinfo b/textproc/yq/distinfo
index fa5961454f10..1129796c466c 100644
--- a/textproc/yq/distinfo
+++ b/textproc/yq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681111986
-SHA256 (yq-3.2.1.tar.gz) = e04dfc8670fcba5bba75e2a24940a544aa8c2789cd4c5171241a1275c8ab2f57
-SIZE (yq-3.2.1.tar.gz) = 30333
+TIMESTAMP = 1686689544
+SHA256 (yq-3.2.2.tar.gz) = 8dbb7a0c937ddbfc3dd175e6478f40960c140d3e8b1f1a0315de76384d66650a
+SIZE (yq-3.2.2.tar.gz) = 30872