From 76915a4a7e153ed866259da6b241d06c779681f9 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 23 Feb 2023 19:33:15 +0000 Subject: [PATCH] yq: update to 3.1.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes for v3.1.1 (2023-02-21) =============================== - Handle TOML datetimes. Fixes #160 - Test and documentation improvements Changes for v3.1.0 (2022-07-24) =============================== - Use configurable output grammar, compatible with YAML 1.1 Changes for v3.0.2 (2022-07-05) =============================== - Expand merge keys (https://yaml.org/type/merge.html). This is a YAML 1.1 specific behavior, but will be accommodated in yq due to its widespread use and low likelihood of accidental invocation. Changes for v3.0.1 (2022-07-04) =============================== - yq now uses the YAML 1.2 grammar when parsing and rendering YAML documents. This means bare literals like “on”, “no”, and “12:34:56” are interpreted as strings. (Fix interrupted release) Changes for v3.0.0 (2022-07-04) =============================== - yq now uses the YAML 1.2 grammar when parsing and rendering YAML documents. This means bare literals like “on”, “no”, and “12:34:56” are interpreted as strings. --- textproc/yq/Makefile | 16 ++++++++-------- textproc/yq/distinfo | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/textproc/yq/Makefile b/textproc/yq/Makefile index cb8dc75f5db0..e098894deb11 100644 --- a/textproc/yq/Makefile +++ b/textproc/yq/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2022/06/30 11:18:56 nia Exp $ +# $NetBSD: Makefile,v 1.10 2023/02/23 19:33:15 wiz Exp $ -DISTNAME= yq-2.14.0 -PKGREVISION= 1 +DISTNAME= yq-3.1.1 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=y/yq/} @@ -10,15 +9,16 @@ HOMEPAGE= https://kislyuk.github.io/yq/ COMMENT= Command-line YAML and XML processor LICENSE= apache-2.0 -BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm +TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm DEPENDS+= jq-[0-9]*:../../devel/jq DEPENDS+= ${PYPKGPREFIX}-argcomplete>=1.8.1:../../devel/py-argcomplete DEPENDS+= ${PYPKGPREFIX}-toml>=0.10.0:../../textproc/py-toml DEPENDS+= ${PYPKGPREFIX}-xmltodict>=0.11.0:../../textproc/py-xmltodict DEPENDS+= ${PYPKGPREFIX}-yaml>=5.3.1:../../textproc/py-yaml -TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage -TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8 -TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel +# noted in setup.py, but not actually needed +#TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage +#TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8 +#TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel USE_LANGUAGES= # none @@ -27,7 +27,7 @@ USE_PKG_RESOURCES= yes PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: - cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test.py + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test.py -v .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/yq/distinfo b/textproc/yq/distinfo index 5c85ef2ec9c1..2c1f0739f693 100644 --- a/textproc/yq/distinfo +++ b/textproc/yq/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2022/05/09 08:21:22 adam Exp $ +$NetBSD: distinfo,v 1.6 2023/02/23 19:33:15 wiz Exp $ -BLAKE2s (yq-2.14.0.tar.gz) = 91c84d2f52461e0c15bdbcba620d54b52761d3480b160275aa59763c87f03856 -SHA512 (yq-2.14.0.tar.gz) = 77d5d9cefc70fae9f2606434e11c3b14facb68113f6f99017f87acc860684a1b7a94ecf01514e8fa85a6d9cc860df926e13d1ac5bec160e7d057074d758d1d34 -Size (yq-2.14.0.tar.gz) = 28030 bytes +BLAKE2s (yq-3.1.1.tar.gz) = 92439ee440c70a62b21e48d28e7ecda883c210c32ed6c32d4c77ab37666d50de +SHA512 (yq-3.1.1.tar.gz) = f6d372fd406179121849330391ab5657e9bac3b6fb4d33673872d4649337fd60344fe01c534d1382cc35416919cd19b62287350d1f0f825f198fb9cc9bc58c1f +Size (yq-3.1.1.tar.gz) = 30095 bytes