head	1.19;
access;
symbols
	pkgsrc-2026Q1:1.19.0.8
	pkgsrc-2026Q1-base:1.19
	pkgsrc-2025Q4:1.19.0.6
	pkgsrc-2025Q4-base:1.19
	pkgsrc-2025Q3:1.19.0.4
	pkgsrc-2025Q3-base:1.19
	pkgsrc-2025Q2:1.19.0.2
	pkgsrc-2025Q2-base:1.19
	pkgsrc-2025Q1:1.18.0.4
	pkgsrc-2025Q1-base:1.18
	pkgsrc-2024Q4:1.18.0.2
	pkgsrc-2024Q4-base:1.18
	pkgsrc-2024Q3:1.17.0.4
	pkgsrc-2024Q3-base:1.17
	pkgsrc-2024Q2:1.17.0.2
	pkgsrc-2024Q2-base:1.17
	pkgsrc-2024Q1:1.13.0.6
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.13.0.4
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.13.0.2
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.11.0.2
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.10.0.2
	pkgsrc-2023Q1-base:1.10
	pkgsrc-2022Q4:1.9.0.4
	pkgsrc-2022Q4-base:1.9
	pkgsrc-2022Q3:1.9.0.2
	pkgsrc-2022Q3-base:1.9
	pkgsrc-2022Q2:1.8.0.2
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.7.0.2
	pkgsrc-2022Q1-base:1.7
	pkgsrc-2021Q4:1.2.0.10
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.8
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.6
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.4
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.2
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.1.0.8
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.6
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.2
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.4
	pkgsrc-2019Q4-base:1.1;
locks; strict;
comment	@# @;


1.19
date	2025.04.14.11.27.55;	author kim;	state Exp;
branches;
next	1.18;
commitid	VAt16PN28WseL0RF;

1.18
date	2024.11.11.07.29.11;	author wiz;	state Exp;
branches;
next	1.17;
commitid	1fBDq3LwS98NncxF;

1.17
date	2024.05.08.11.57.20;	author adam;	state Exp;
branches;
next	1.16;
commitid	uS1iGUZaVO8YSb9F;

1.16
date	2024.04.21.17.30.39;	author adam;	state Exp;
branches;
next	1.15;
commitid	sPjuNhbhgJ8ah27F;

1.15
date	2024.04.16.04.29.46;	author adam;	state Exp;
branches;
next	1.14;
commitid	yKz1zEujLIKb7k6F;

1.14
date	2024.04.15.05.11.58;	author adam;	state Exp;
branches;
next	1.13;
commitid	UaVpf8tbIUwInc6F;

1.13
date	2023.09.18.12.53.57;	author adam;	state Exp;
branches;
next	1.12;
commitid	hD3rXkEza9FDGfFE;

1.12
date	2023.08.14.05.25.26;	author wiz;	state Exp;
branches;
next	1.11;
commitid	LOSB79OLVxvXjIAE;

1.11
date	2023.04.23.09.53.24;	author adam;	state Exp;
branches;
next	1.10;
commitid	rAspCeD43t8HrdmE;

1.10
date	2023.02.23.19.33.15;	author wiz;	state Exp;
branches;
next	1.9;
commitid	uLz9ediitTT7yGeE;

1.9
date	2022.06.30.11.18.56;	author nia;	state Exp;
branches;
next	1.8;
commitid	AhctUV91Vubws3KD;

1.8
date	2022.05.09.08.21.22;	author adam;	state Exp;
branches;
next	1.7;
commitid	lNNfgCW67YEF9mDD;

1.7
date	2022.02.20.12.48.48;	author fcambus;	state Exp;
branches;
next	1.6;
commitid	DD9j2hv8YPgU8mtD;

1.6
date	2022.02.19.22.13.50;	author fcambus;	state Exp;
branches;
next	1.5;
commitid	98XQq7VBNV6CihtD;

1.5
date	2022.01.29.08.48.41;	author wiz;	state Exp;
branches;
next	1.4;
commitid	lsUWM4b4ZtOlwvqD;

1.4
date	2022.01.05.15.41.27;	author wiz;	state Exp;
branches;
next	1.3;
commitid	FQ77UruBIUsgzsnD;

1.3
date	2022.01.04.20.55.10;	author wiz;	state Exp;
branches;
next	1.2;
commitid	CYyhdK9qtoffkmnD;

1.2
date	2020.12.04.20.45.46;	author nia;	state Exp;
branches;
next	1.1;
commitid	FPz71MqRX3WN0tyC;

1.1
date	2019.11.19.21.30.15;	author maya;	state Exp;
branches;
next	;
commitid	EmrWHAHo0eaWvvLB;


desc
@@


1.19
log
@yq: fix for setuptools>=78
@
text
@# $NetBSD: Makefile,v 1.18 2024/11/11 07:29:11 wiz Exp $

DISTNAME=	yq-3.4.3
PKGREVISION=	1
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_PYPI:=y/yq/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://kislyuk.github.io/yq/
COMMENT=	Command-line YAML and XML processor
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=8.2.0nb1:../../devel/py-setuptools_scm
DEPENDS+=	jq-[0-9]*:../../devel/jq
DEPENDS+=	${PYPKGPREFIX}-argcomplete>=1.8.1:../../devel/py-argcomplete
DEPENDS+=	${PYPKGPREFIX}-tomlkit>=0.11.6:../../textproc/py-tomlkit
DEPENDS+=	${PYPKGPREFIX}-xmltodict>=0.11.0:../../textproc/py-xmltodict
DEPENDS+=	${PYPKGPREFIX}-yaml>=5.3.1:../../textproc/py-yaml
# 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

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	27

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.18
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/05/08 11:57:20 adam Exp $
d4 1
d13 2
a14 2
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
@


1.17
log
@yq: updated to 3.4.3

Changes for v3.4.3 (2024-04-27)

Finish migration to setuptools_scm


Changes for v3.4.2 (2024-04-26)

Constrain setuptools_scm version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/04/21 17:30:39 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
a21 1
#TEST_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.16
log
@yq: updated to 3.4.1

Changes for v3.4.1 (2024-04-17)

- Add module entry points for xq and tomlq


Changes for v3.4.0 (2024-04-17)

- yq -y: Induce quoting of string scalars that start with 08 and 09
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/04/16 04:29:46 adam Exp $
d3 1
a3 1
DISTNAME=	yq-3.4.1
@


1.15
log
@yq: updated to 3.3.1

v3.3.1
Revert "Do not interpret characters that cannot be parsed in octal as int"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/15 05:11:58 adam Exp $
d3 1
a3 1
DISTNAME=	yq-3.3.1
@


1.14
log
@yq: updated to 3.3.0

Changes for v3.3.0 (2024-04-13)

- tomlq: Use tomllib on Python 3.11 when not round-tripping
- xq: Support in-place XML editing
- Do not interpret characters that cannot be parsed in octal as int
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/09/18 12:53:57 adam Exp $
d3 1
a3 1
DISTNAME=	yq-3.3.0
d12 1
d14 1
@


1.13
log
@yq: updated to 3.2.3

Changes for v3.2.3 (2023-09-09)
- test.py: use valid values for jsonargs
- Allow editing toml in place
- Documentation improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/08/14 05:25:26 wiz Exp $
d3 1
a3 1
DISTNAME=	yq-3.2.3
a24 2
USE_PKG_RESOURCES=	yes

d27 1
a27 4
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test.py -v

.include "../../lang/python/egg.mk"
@


1.12
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/04/23 09:53:24 adam Exp $
d3 1
a3 2
DISTNAME=	yq-3.2.2
PKGREVISION=	1
@


1.11
log
@yq: updated to 3.2.2

Changes for v3.2.2 (2023-04-22)
-  Allow XML documents to be streamed with –xml-item-depth

Changes for v3.2.1 (2023-04-04)
-  Relax tomlkit dependency version range to preserve Python 3.6
   compatibility

Changes for v3.2.0 (2023-04-03)
-  Use tomlkit instead of toml
-  Add security policy
-  Documentation and release infrastructure improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/02/23 19:33:15 wiz Exp $
d4 1
@


1.10
log
@yq: update to 3.1.1.

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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/06/30 11:18:56 nia Exp $
d3 1
a3 1
DISTNAME=	yq-3.1.1
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-toml>=0.10.0:../../textproc/py-toml
@


1.9
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/05/09 08:21:22 adam Exp $
d3 1
a3 2
DISTNAME=	yq-2.14.0
PKGREVISION=	1
d12 1
a12 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
d18 4
a21 3
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
d30 1
a30 1
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test.py
@


1.8
log
@yq: updated to 2.14.0

Changes for v2.14.0
- Support binary and set tags.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/02/20 12:48:48 fcambus Exp $
d4 1
@


1.7
log
@yq: update to 2.13.0.

Changes for v2.13.0 (2021-12-02)
================================

-  Armor against entity expansion attacks

-  Improve YAML loading performance by using CSafeLoader where available

-  Require PyYAML 5.3.1 or newer

-  Test and release infrastructure improvements

Changes for v2.12.2 (2021-06-13)
================================

-  Handle -n correctly

Changes for v2.12.1 (2021-06-13)
================================

-  Do not close fds on child process

Changes for v2.12.0 (2021-02-05)
================================

-  Add TOML support and the tomlq CLI utility to access it

-  Drop Python 2.7 support

Changes for v2.11.1 (2020-09-26)
================================

Parse correctly when empty string is passed as jq_filter

Changes for v2.11.0 (2020-09-03)
================================

-  Better handling of jq_filter and files arguments (#102)

-  Create **main**.py (#82)

Changes for v2.10.1 (2020-05-11)
================================

-  Add support for xmltodict force_list definition for xq CLI (#95)

-  Support explicit doc markers (#93)

-  Ensure proper ordering of help messages (#90)

Changes for v2.10.0 (2019-12-23)
================================

-  Add support for in-place editing (yq -yi)

-  Add argcomplete integration

-  Docs: Migrate from RTD to gh-pages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/02/19 22:13:50 fcambus Exp $
d3 3
a5 4
DISTNAME=	yq-2.13.0
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=kislyuk/}
GITHUB_TAG=	v${PKGVERSION_NOREV}
d12 1
d14 7
d22 1
a22 4
DEPENDS+=	${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
DEPENDS+=	${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
DEPENDS+=	${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
DEPENDS+=	${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
d24 1
a24 3
# XXX test dysfunctional
TEST_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+=	${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
d26 1
a26 1
PYTHON_VERSIONED_DEPENDENCIES+=	flake8:test
d28 2
a29 1
USE_PKG_RESOURCES=	yes
a30 1
.include "../../lang/python/application.mk"
a31 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.6
log
@yq: update HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/01/29 08:48:41 wiz Exp $
d3 1
a3 2
DISTNAME=	yq-2.9.2
PKGREVISION=	3
d14 2
@


1.5
log
@*: convert py-flake8 users to versioned_dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:27 wiz Exp $
d10 1
a10 1
HOMEPAGE=	https://yq.readthedocs.io/
@


1.4
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:10 wiz Exp $
a20 1
TEST_DEPENDS+=	${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
d23 2
d29 1
@


1.3
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/12/04 20:45:46 nia Exp $
d4 1
a4 1
PKGREVISION=	2
d24 2
@


1.2
log
@Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2019/11/19 21:30:15 maya Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@Add yq version 2.9.2

Command-line YAML/XML processor - jq wrapper for YAML and XML documents
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2018/11/03 12:47:16 leot Exp $
d4 1
@

