Sat Nov 26 19:50:46 2022 UTC ()
py-funcparserlib: updated to 1.0.1

1.0.1

Added support for Python 3.11

1.0.0

The stable 1.0.0 release freezes the API of funcparserlib 0.3.6 which was released on 2013-05-02, with a few bug fixes and small features.

Added

Added support for Python 3.10
Added support for Python 3.9
Added support for Python 3.8
Added -p (the same as skip(p)) with more strict type hints for -p and p1 + p2
Added tok(type[, value]) for more compact grammars, better error messages
Added TokenSpec(type, pattern[, flags]) to simplify the use of make_tokenizer()
Added type hints for the public API
Added the new library homepage with the new Getting Started guide and the new API reference

Changed

Parse exceptions now show expected tokens and grammar rules at the stopped position
Dropped support for Python 3.4, 3.5, 3.6 (end of life)
Dropped support for Python 2.5, 2.6, 3.3 (end of life), modernized code for Python 3 to run without obsolete 2to3
Removed documentation and unit tests from the distribution
Switched from setuptools to Poetry
Switched to poetry-core for lighter PEP 517 builds
Run unit tests on GitHub Actions for all supported Pythons

Fixed

Fixed TypeError in oneplus when applying it parser + parser
Fixed AttributeError when comparing Token objects to None
Fixed doctests in the tutorial
Fixed several cases of wrong expected tokens in error messages


(adam)
diff -r1.9 -r1.10 pkgsrc/devel/py-funcparserlib/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/py-funcparserlib/PLIST
diff -r1.6 -r1.7 pkgsrc/devel/py-funcparserlib/distinfo
diff -r1.1 -r0 pkgsrc/devel/py-funcparserlib/patches/patch-setup.py

cvs diff -r1.9 -r1.10 pkgsrc/devel/py-funcparserlib/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-funcparserlib/Makefile 2022/01/04 20:53:06 1.9
+++ pkgsrc/devel/py-funcparserlib/Makefile 2022/11/26 19:50:46 1.10
@@ -1,23 +1,16 @@ @@ -1,23 +1,16 @@
1# $NetBSD: Makefile,v 1.9 2022/01/04 20:53:06 wiz Exp $ 1# $NetBSD: Makefile,v 1.10 2022/11/26 19:50:46 adam Exp $
2 2
3DISTNAME= funcparserlib-0.3.6 3DISTNAME= funcparserlib-1.0.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 5CATEGORIES= devel python
6CATEGORIES= devel 
7MASTER_SITES= ${MASTER_SITE_PYPI:=f/funcparserlib/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=f/funcparserlib/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/vlasovskikh/funcparserlib 9HOMEPAGE= https://github.com/vlasovskikh/funcparserlib
11COMMENT= Recursive descent parsing library based on functional combinators 10COMMENT= Recursive descent parsing library based on functional combinators
12LICENSE= mit 11LICENSE= mit
13 12
14USE_LANGUAGES= # none 13USE_LANGUAGES= # none
15 14
16.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
17 
18.if ${PYPKGPREFIX} != "py27" 
19pre-build: 
20 cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs funcparserlib 
21.endif 
22 
23.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/devel/py-funcparserlib/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-funcparserlib/PLIST 2013/10/12 13:38:38 1.3
+++ pkgsrc/devel/py-funcparserlib/PLIST 2022/11/26 19:50:46 1.4
@@ -1,35 +1,21 @@ @@ -1,35 +1,21 @@
1@comment $NetBSD: PLIST,v 1.3 2013/10/12 13:38:38 obache Exp $ 1@comment $NetBSD: PLIST,v 1.4 2022/11/26 19:50:46 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 5${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/funcparserlib/__init__.py 6${PYSITELIB}/funcparserlib/__init__.py
7${PYSITELIB}/funcparserlib/__init__.pyc 7${PYSITELIB}/funcparserlib/__init__.pyc
8${PYSITELIB}/funcparserlib/__init__.pyo 8${PYSITELIB}/funcparserlib/__init__.pyo
9${PYSITELIB}/funcparserlib/lexer.py 9${PYSITELIB}/funcparserlib/lexer.py
10${PYSITELIB}/funcparserlib/lexer.pyc 10${PYSITELIB}/funcparserlib/lexer.pyc
 11${PYSITELIB}/funcparserlib/lexer.pyi
11${PYSITELIB}/funcparserlib/lexer.pyo 12${PYSITELIB}/funcparserlib/lexer.pyo
12${PYSITELIB}/funcparserlib/parser.py 13${PYSITELIB}/funcparserlib/parser.py
13${PYSITELIB}/funcparserlib/parser.pyc 14${PYSITELIB}/funcparserlib/parser.pyc
 15${PYSITELIB}/funcparserlib/parser.pyi
14${PYSITELIB}/funcparserlib/parser.pyo 16${PYSITELIB}/funcparserlib/parser.pyo
15${PYSITELIB}/funcparserlib/tests/__init__.py 17${PYSITELIB}/funcparserlib/py.typed
16${PYSITELIB}/funcparserlib/tests/__init__.pyc 
17${PYSITELIB}/funcparserlib/tests/__init__.pyo 
18${PYSITELIB}/funcparserlib/tests/dot.py 
19${PYSITELIB}/funcparserlib/tests/dot.pyc 
20${PYSITELIB}/funcparserlib/tests/dot.pyo 
21${PYSITELIB}/funcparserlib/tests/json.py 
22${PYSITELIB}/funcparserlib/tests/json.pyc 
23${PYSITELIB}/funcparserlib/tests/json.pyo 
24${PYSITELIB}/funcparserlib/tests/test_dot.py 
25${PYSITELIB}/funcparserlib/tests/test_dot.pyc 
26${PYSITELIB}/funcparserlib/tests/test_dot.pyo 
27${PYSITELIB}/funcparserlib/tests/test_json.py 
28${PYSITELIB}/funcparserlib/tests/test_json.pyc 
29${PYSITELIB}/funcparserlib/tests/test_json.pyo 
30${PYSITELIB}/funcparserlib/tests/test_parsing.py 
31${PYSITELIB}/funcparserlib/tests/test_parsing.pyc 
32${PYSITELIB}/funcparserlib/tests/test_parsing.pyo 
33${PYSITELIB}/funcparserlib/util.py 18${PYSITELIB}/funcparserlib/util.py
34${PYSITELIB}/funcparserlib/util.pyc 19${PYSITELIB}/funcparserlib/util.pyc
 20${PYSITELIB}/funcparserlib/util.pyi
35${PYSITELIB}/funcparserlib/util.pyo 21${PYSITELIB}/funcparserlib/util.pyo

cvs diff -r1.6 -r1.7 pkgsrc/devel/py-funcparserlib/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-funcparserlib/distinfo 2021/12/16 11:16:14 1.6
+++ pkgsrc/devel/py-funcparserlib/distinfo 2022/11/26 19:50:46 1.7
@@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
1$NetBSD: distinfo,v 1.6 2021/12/16 11:16:14 wiz Exp $ 1$NetBSD: distinfo,v 1.7 2022/11/26 19:50:46 adam Exp $
2 2
3BLAKE2s (funcparserlib-0.3.6.tar.gz) = 72faccec12b02e2e33333df5670de99768b5eecf94d46c13fb7d97aa11105d4b 3BLAKE2s (funcparserlib-1.0.1.tar.gz) = abf7ceb7431926509a7a5c6688e19aee9f823f26988a27914f9570f6575caff0
4SHA512 (funcparserlib-0.3.6.tar.gz) = efa52f788aa902b099660cb8bc60a025085a8c383e52bd0824a0c3ae28a6c13804a0659de0c80b4dcd839ee70491805d4eecda6cea221e35c3750ec569098c24 4SHA512 (funcparserlib-1.0.1.tar.gz) = 721673b7d79c19cd3cbad8387297644790581057d077139fe6efbaa14bc5ad28dc9074b34728bdd9ea1c00c56c402ce329d9f53728e59030408fd87059339f79
5Size (funcparserlib-0.3.6.tar.gz) = 30401 bytes 5Size (funcparserlib-1.0.1.tar.gz) = 17238 bytes
6SHA1 (patch-setup.py) = 60cddcb0ff8e20036f26865f4134bfdb0058f436 

File Deleted: pkgsrc/devel/py-funcparserlib/patches/Attic/patch-setup.py