textproc/yq: Update 3.2.1 → 3.2.2

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-06-13 14:07:58 -07:00
parent e82648cefb
commit 1ad3b783e5
2 changed files with 17 additions and 10 deletions

View file

@ -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>

View file

@ -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