pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-jsonpatch



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct 13 11:30:53 UTC 2026

Modified Files:
        pkgsrc/textproc/py-jsonpatch: Makefile PLIST distinfo

Log Message:
py-jsonpatch: updated to 1.35

1.35

Refactor JsonPatch class and improve documentation
Add pytest configuration for non-standard test file naming
Document JSON Pointer escaping for special characters
Improve list diffing to avoid unnecessary item replacements
Use correct SPDX-Identifer
Improve coverage reporting by combining test runs
ci: run tests on every PR and pushes to master
Add support for Python 3.13 and 3.14
Improve list diffing with sequence alignment to avoid cascading changes
Handle self-containing values in make_patch and add 180 regression tests
Only reject '-' in replace when it refers to an array
Reject moving any location into its own children, fixes 214
Compare values in 'test' by JSON equality
Hash patch operations by their 'op' and 'path'
Require jsonpointer>=3.2
Raise documented exceptions for malformed patches and "from": "/-"
Support whole document operations on scalar documents
Housekeeping: stale links, packaging cleanup, CI action versions
Find moves in make_patch without rewriting all later operations
Close test coverage gaps
Remove unreachable code from make_patch and the jsonpointer < 3.2 shim
Test the index helpers of PatchOperation and MoveOperation
Upload coverage to Coveralls again
Close the original input before in-place replacement
Install the command line programs as console_scripts


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-jsonpatch/Makefile \
    pkgsrc/textproc/py-jsonpatch/PLIST pkgsrc/textproc/py-jsonpatch/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jsonpatch/Makefile
diff -u pkgsrc/textproc/py-jsonpatch/Makefile:1.1 pkgsrc/textproc/py-jsonpatch/Makefile:1.2
--- pkgsrc/textproc/py-jsonpatch/Makefile:1.1   Tue Sep 22 17:33:35 2026
+++ pkgsrc/textproc/py-jsonpatch/Makefile       Tue Oct 13 11:30:53 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2026/09/22 17:33:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2026/10/13 11:30:53 adam Exp $
 
-DISTNAME=      jsonpatch-1.33
+DISTNAME=      jsonpatch-1.35
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonpatch/}
@@ -10,20 +10,15 @@ HOMEPAGE=   https://github.com/stefankoegl
 COMMENT=       Library to apply JSON Patches according to RFC 6902
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=70.1:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-jsonpointer>=1.9:../../textproc/py-jsonpointer
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-jsonpointer>=3.2:../../textproc/py-jsonpointer
 
 USE_LANGUAGES= # none
 
-post-install:
-.for bin in jsondiff jsonpatch
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES=    jsondiff jsonpatch
 
 do-test:
-       cd ${WRKSRC} && \
-       ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-jsonpatch/PLIST
diff -u pkgsrc/textproc/py-jsonpatch/PLIST:1.1 pkgsrc/textproc/py-jsonpatch/PLIST:1.2
--- pkgsrc/textproc/py-jsonpatch/PLIST:1.1      Tue Sep 22 17:33:35 2026
+++ pkgsrc/textproc/py-jsonpatch/PLIST  Tue Oct 13 11:30:53 2026
@@ -1,12 +1,16 @@
-@comment $NetBSD: PLIST,v 1.1 2026/09/22 17:33:35 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/10/13 11:30:53 adam Exp $
 bin/jsondiff-${PYVERSSUFFIX}
 bin/jsonpatch-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/jsonpatch.py
 ${PYSITELIB}/jsonpatch.pyc
 ${PYSITELIB}/jsonpatch.pyo
+${PYSITELIB}/jsonpatch_cli.py
+${PYSITELIB}/jsonpatch_cli.pyc
+${PYSITELIB}/jsonpatch_cli.pyo
Index: pkgsrc/textproc/py-jsonpatch/distinfo
diff -u pkgsrc/textproc/py-jsonpatch/distinfo:1.1 pkgsrc/textproc/py-jsonpatch/distinfo:1.2
--- pkgsrc/textproc/py-jsonpatch/distinfo:1.1   Tue Sep 22 17:33:35 2026
+++ pkgsrc/textproc/py-jsonpatch/distinfo       Tue Oct 13 11:30:53 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2026/09/22 17:33:35 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2026/10/13 11:30:53 adam Exp $
 
-BLAKE2s (jsonpatch-1.33.tar.gz) = 7b1bfc8b91b06984ff42f86b38647c7138eab748513557f7edeb6b75ace80f26
-SHA512 (jsonpatch-1.33.tar.gz) = a0f56e82cc5a0d9d76680489ba8eec122378d6322c83d8e97c7276df9b32bc7735bec69d6ed9ed2e139f016b127e47eeb4a948b1394fd31079f19b390bbbc50b
-Size (jsonpatch-1.33.tar.gz) = 21699 bytes
+BLAKE2s (jsonpatch-1.35.tar.gz) = dbbef49a5a11e034bdf53c3cec7a52fc16fbccd6fb5cec0e5db3dc756aaae219
+SHA512 (jsonpatch-1.35.tar.gz) = 2d0469026dbc626d6a0d7178b6f16aa53c5f2f8d333bc84e899b2dd2c01868c170e78fff07ec979c4370dcb5306cc7581479331242c36cb2ea2e93502e04b72b
+Size (jsonpatch-1.35.tar.gz) = 39440 bytes



Home | Main Index | Thread Index | Old Index