head 1.11; access; symbols pkgsrc-2026Q2:1.10.0.2 pkgsrc-2026Q2-base:1.10 pkgsrc-2026Q1:1.9.0.2 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.8.0.4 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.2 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.7.0.2 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.6.0.2 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.5.0.2 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.3.0.4 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.2.0.2 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @# @; 1.11 date 2026.07.05.10.17.52; author adam; state Exp; branches; next 1.10; commitid FcmSBwMkktRp0sMG; 1.10 date 2026.04.16.13.44.25; author adam; state Exp; branches; next 1.9; commitid GzmihD10dB3JIbCG; 1.9 date 2026.01.08.14.27.53; author adam; state Exp; branches; next 1.8; commitid IFcs2KYAjJDV6BpG; 1.8 date 2025.08.13.07.21.58; author adam; state Exp; branches; next 1.7; commitid P72qV4s3RqzKvx6G; 1.7 date 2025.04.14.12.27.08; author adam; state Exp; branches; next 1.6; commitid b5jDobrBXj9B51RF; 1.6 date 2025.02.04.14.19.25; author adam; state Exp; branches; next 1.5; commitid MuLJaypm2y7CV9IF; 1.5 date 2024.11.18.17.22.24; author adam; state Exp; branches; next 1.4; commitid sEacOtT6pMeNr9yF; 1.4 date 2024.11.11.07.29.04; author wiz; state Exp; branches; next 1.3; commitid 1fBDq3LwS98NncxF; 1.3 date 2024.05.08.09.12.15; author adam; state Exp; branches; next 1.2; commitid MrcyiiXEJ68cYa9F; 1.2 date 2024.02.20.19.33.39; author adam; state Exp; branches; next 1.1; commitid 081w4Kqo9SaVUcZE; 1.1 date 2023.08.26.11.50.44; author adam; state Exp; branches; next ; commitid pN7dA2r0G9wT4iCE; desc @@ 1.11 log @py-json5: updated to 0.15.0 0.15.0 (2026-06-19) Fix 113, where parsing of signed hexadecimal literals such as -0x1f and +0xff was raising a ValueError instead of being allowed. Fix 111, with a slight docstring typo fix/improvement. upgraded package dependences to their "latest" versions (without changing any direct dependencies and not pulling in anything newer than 30 days old). This resolves some potential security issues in a dev environment that Dependabot was warning about; no effect on the production code since the production library has no dependencies. @ text @# $NetBSD: Makefile,v 1.10 2026/04/16 13:44:25 adam Exp $ DISTNAME= json5-0.15.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=j/json5/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/dpranke/pyjson5 COMMENT= Python implementation of the JSON5 data format LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools USE_LANGUAGES= # none PY_RENAME_BINARIES= pyjson5 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @py-json5: updated to 0.14.0 0.14.0 (2026-03-27) This is really just a dependency bump release. No (non-test) code changes. Upgraded to latest packages for dev dependencies Silenced a couple of warnings from the latest pylint where it can't deal with both unreachable code and a bad return value. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2026/01/08 14:27:53 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.14.0 @ 1.9 log @py-json5: updated to 0.13.0 0.13.0 No code changes. Add Python 3.14 to supported version, project config, dependencies Update dependencies to latest stuff < 2025-12-01 This relaxes the versions specified in pyproject.toml to just use 'newer than' rather than exact matches. Sets 'uv.tool.exclude-newer' in pyproject.toml to tell uv not to look at packages published within the past 30 days; this will hopefully help prevent dependencies on compromised projects. Switch to using dependency-groups for 'dev' group. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/08/13 07:21:58 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.13.0 d17 1 a17 3 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} pyjson5 pyjson5-${PYVERSSUFFIX} || ${TRUE} @ 1.8 log @py-json5: updated to 0.12.1 0.12.1 Fix 94 (bad indentation for custom encoders) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/04/14 12:27:08 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.12.1 @ 1.7 log @py-json5: updated to 0.12.0 v0.12.0 (2025-04-03) Roll back pyproject.toml change for licensing so that we can still build the package on 3.8. Upgrade devenv package dependencies to latest versions; they now need Python 3.9 or newer, though json5 itself still supports 3.8. v0.11.0 (2025-04-01) Add a couple examples to the documentation and run doctest over them. Fix a typing issue in dump and dumps with the cls argument; turns out mypy was right and I was wrong and I didn't realize it :). Introduce a new parse method that can be used to iterate through a string, extracting multiple values. Add a new consume_trailing parameter to load/loads/parse that specifies whether to keep parsing after a valid object is reached. By default, this is True and the string must only contain trailing whitespace. If set to False, parsing will stop when a valid object is reached. Add a new start parameter to load/loads/parse to specify the zero-based offset to start parsing the string or file from. GitHub issue 60. Fix a bug where we were attempting to allow '--4' as a valid number. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/02/04 14:19:25 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.12.0 @ 1.6 log @py-json5: updated to 0.10.0 v0.10.0 (2024-11-25) GitHub issue 57. Added a JSON5Encoder class that can be overridden to do custom encoding of values. This class is vaguely similar to the JSONEncoder class in the standard json library, except that it has an encode() method that can be overridden to customize any value, not just ones the standard encoder doesn't know how to handle. It does also support a default() method that can be used to encode things not normally encodable, like the JSONEncoder class. It does not support an iterencode method. One could probably be added in the future, although exactly how that would work and interact with encode is a little unclear. Restructured the code to use the new encoder class; doing so actually allowed me to delete a bunch of tediously duplicative code. Added a new quote_style argument to dump()/dumps() to control how strings are encoded by default. For compatibility with older versions of the json5 library and the standard json library, it uses QuoteStyle.ALWAYS_DOUBLE which encodes all strings with double quotes all the time. You can also configure it to use single quotes all the time (ALWAYS_SINGLE), and to switch between single and double when doing so eliminates a need to escape quotes (PREFER_SINGLE and PREFER_DOUBLE). This also adds a --quote-style argument to python -m json5. This release has a fair number of changes, but is intended to be completely backwards-compatible. Code without changes should run exactly as it did before. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/11/18 17:22:24 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.10.0 d13 1 a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.0:../../devel/py-setuptools @ 1.5 log @py-json5: updated to 0.9.28 0.9.28 Unknown changes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/11/11 07:29:04 wiz Exp $ d3 1 a3 1 DISTNAME= json5-0.9.28 @ 1.4 log @py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/05/08 09:12:15 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.9.25 a16 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.3 log @py-json5: updated to 0.9.25 v0.9.25 (2024-04-12) GitHub issue 81 Explicitly specify the directory to use for the package in pyproject.toml. v0.9.24 (2024-03-16) Update GitHub workflow config to remove unnecessary steps and run on pull requests as well as commits. Added note about removing hypothesize in v0.9.23. No code changes. v0.9.23 (2024-03-16) Lots of cleanup: Removed old code needed for Python2 compatibility. Removed tests using hypothesize. This ran model-based checks and didn't really add anything useful in terms of coverage to the test suite, and it introduced dependencies and slowed down the tests significantly. It was a good experiment but I think we're better off without it. Got everything linting cleanly with pylint 3.1 and ruff check using ruff 0.3.3 (Note that commit message in 00d73a3 says pylint 3.11, which is a typo). Code reformatted with ruff format Added missing tests to bring coverage up to 100%. Lots of minor code changes as the result of linting and coverage testing, but no intentional functional differences. v0.9.22 (2024-03-06) Attempt to fix the GitHub CI configuration now that setup.py is gone. Also, test on 3.12 instead of 3.11. No code changes. v0.9.21 (2024-03-06) Moved the benchmarks/*.json data files' license information to //LICENSE to (hopefully) make the Google linter happy. v0.9.20 (2024-03-03) Added json5.__version__ in addition to json5.VERSION. More packaging modernization (no more setup.{cfg,py} files). Mark Python3.12 as supported in project.classifiers. Updated the //run script to use python3. v0.9.19 (2024-03-03) Replaced the benchmarking data files that came from chromium.org with three files obtained from other datasets on GitHub. Since this repo is vendored into the chromium/src repo it was occasionally confusing people who thought the data was actually used for non-benchmarking purposes and thus updating it for whatever reason. No code changes. v0.9.18 (2024-02-29) Add typing information to the module. This is kind of a big change, but there should be no functional differences. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/02/20 19:33:39 adam Exp $ a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel @ 1.2 log @py-json5: updated to 0.9.17 v0.9.17 (2024-02-19) Move from setup.py to pyproject.toml. No code changes (other than the version increasing). v0.9.16 (2024-02-19) Drop Python2 from setup.py Add minimal packaging instructions to //README.md. v0.9.15 (2024-02-19) Merge in Pull request 66 to include the tests and sample file in a source distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/08/26 11:50:44 adam Exp $ d3 1 a3 1 DISTNAME= json5-0.9.17 @ 1.1 log @py-json5: added version 0.9.14 A Python implementation of the JSON5 data format. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= json5-0.9.14 d5 1 a5 1 CATEGORIES= devel python d13 3 d20 5 a24 1 .include "../../lang/python/egg.mk" @