pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-funcparserlib



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Nov 26 19:50:46 UTC 2022

Modified Files:
        pkgsrc/devel/py-funcparserlib: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-funcparserlib/patches: patch-setup.py

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


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-funcparserlib/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-funcparserlib/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-funcparserlib/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-funcparserlib/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/devel/py-funcparserlib/Makefile
diff -u pkgsrc/devel/py-funcparserlib/Makefile:1.9 pkgsrc/devel/py-funcparserlib/Makefile:1.10
--- pkgsrc/devel/py-funcparserlib/Makefile:1.9  Tue Jan  4 20:53:06 2022
+++ pkgsrc/devel/py-funcparserlib/Makefile      Sat Nov 26 19:50:46 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:53:06 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/11/26 19:50:46 adam Exp $
 
-DISTNAME=      funcparserlib-0.3.6
+DISTNAME=      funcparserlib-1.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/funcparserlib/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -14,10 +13,4 @@ LICENSE=     mit
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
-
-.if ${PYPKGPREFIX} != "py27"
-pre-build:
-       cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs funcparserlib
-.endif
-
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-funcparserlib/PLIST
diff -u pkgsrc/devel/py-funcparserlib/PLIST:1.3 pkgsrc/devel/py-funcparserlib/PLIST:1.4
--- pkgsrc/devel/py-funcparserlib/PLIST:1.3     Sat Oct 12 13:38:38 2013
+++ pkgsrc/devel/py-funcparserlib/PLIST Sat Nov 26 19:50:46 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2013/10/12 13:38:38 obache Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/11/26 19:50:46 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,28 +8,14 @@ ${PYSITELIB}/funcparserlib/__init__.pyc
 ${PYSITELIB}/funcparserlib/__init__.pyo
 ${PYSITELIB}/funcparserlib/lexer.py
 ${PYSITELIB}/funcparserlib/lexer.pyc
+${PYSITELIB}/funcparserlib/lexer.pyi
 ${PYSITELIB}/funcparserlib/lexer.pyo
 ${PYSITELIB}/funcparserlib/parser.py
 ${PYSITELIB}/funcparserlib/parser.pyc
+${PYSITELIB}/funcparserlib/parser.pyi
 ${PYSITELIB}/funcparserlib/parser.pyo
-${PYSITELIB}/funcparserlib/tests/__init__.py
-${PYSITELIB}/funcparserlib/tests/__init__.pyc
-${PYSITELIB}/funcparserlib/tests/__init__.pyo
-${PYSITELIB}/funcparserlib/tests/dot.py
-${PYSITELIB}/funcparserlib/tests/dot.pyc
-${PYSITELIB}/funcparserlib/tests/dot.pyo
-${PYSITELIB}/funcparserlib/tests/json.py
-${PYSITELIB}/funcparserlib/tests/json.pyc
-${PYSITELIB}/funcparserlib/tests/json.pyo
-${PYSITELIB}/funcparserlib/tests/test_dot.py
-${PYSITELIB}/funcparserlib/tests/test_dot.pyc
-${PYSITELIB}/funcparserlib/tests/test_dot.pyo
-${PYSITELIB}/funcparserlib/tests/test_json.py
-${PYSITELIB}/funcparserlib/tests/test_json.pyc
-${PYSITELIB}/funcparserlib/tests/test_json.pyo
-${PYSITELIB}/funcparserlib/tests/test_parsing.py
-${PYSITELIB}/funcparserlib/tests/test_parsing.pyc
-${PYSITELIB}/funcparserlib/tests/test_parsing.pyo
+${PYSITELIB}/funcparserlib/py.typed
 ${PYSITELIB}/funcparserlib/util.py
 ${PYSITELIB}/funcparserlib/util.pyc
+${PYSITELIB}/funcparserlib/util.pyi
 ${PYSITELIB}/funcparserlib/util.pyo

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



Home | Main Index | Thread Index | Old Index