pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-json5



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 14 12:27:09 UTC 2025

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-json5/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-json5/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-json5/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-json5/Makefile
diff -u pkgsrc/textproc/py-json5/Makefile:1.6 pkgsrc/textproc/py-json5/Makefile:1.7
--- pkgsrc/textproc/py-json5/Makefile:1.6       Tue Feb  4 14:19:25 2025
+++ pkgsrc/textproc/py-json5/Makefile   Mon Apr 14 12:27:08 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2025/02/04 14:19:25 adam Exp $
+# $NetBSD: Makefile,v 1.7 2025/04/14 12:27:08 adam Exp $
 
-DISTNAME=      json5-0.10.0
+DISTNAME=      json5-0.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/json5/}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/dpranke/pyj
 COMMENT=       Python implementation of the JSON5 data format
 LICENSE=       apache-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/textproc/py-json5/PLIST
diff -u pkgsrc/textproc/py-json5/PLIST:1.4 pkgsrc/textproc/py-json5/PLIST:1.5
--- pkgsrc/textproc/py-json5/PLIST:1.4  Tue Feb  4 14:19:25 2025
+++ pkgsrc/textproc/py-json5/PLIST      Mon Apr 14 12:27:08 2025
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2025/02/04 14:19:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/04/14 12:27:08 adam Exp $
 bin/pyjson5-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/json5/__init__.py
 ${PYSITELIB}/json5/__init__.pyc

Index: pkgsrc/textproc/py-json5/distinfo
diff -u pkgsrc/textproc/py-json5/distinfo:1.5 pkgsrc/textproc/py-json5/distinfo:1.6
--- pkgsrc/textproc/py-json5/distinfo:1.5       Tue Feb  4 14:19:25 2025
+++ pkgsrc/textproc/py-json5/distinfo   Mon Apr 14 12:27:08 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2025/02/04 14:19:25 adam Exp $
+$NetBSD: distinfo,v 1.6 2025/04/14 12:27:08 adam Exp $
 
-BLAKE2s (json5-0.10.0.tar.gz) = 89ef850c528aa8b37da1f3eda2327dacdb6281124a3fbd679a7e0524402b9537
-SHA512 (json5-0.10.0.tar.gz) = 1c56def363c268aa256066c8e98b3a9bfba66a3756071bf6ff41929cdd98ccf5435f08103fbbc3b505abe81f39a14fa1ec50d4a984eebc52410cbb31f999b1b9
-Size (json5-0.10.0.tar.gz) = 48202 bytes
+BLAKE2s (json5-0.12.0.tar.gz) = 5ddf8224abb5d6e0c9970172f263b8e84b83d41bf7e775f2fa9abc9a4c0b57bc
+SHA512 (json5-0.12.0.tar.gz) = 03b32b4599b86ec6b3d47c0693cf467f7b56de13eedfad627c51ec0af514a899d90f1255df85fcbabb501237c700d837376bf363fc0602b83688569a2fc8410b
+Size (json5-0.12.0.tar.gz) = 51907 bytes



Home | Main Index | Thread Index | Old Index