[35/48] python3-pyparsing:Update to version 3.0.9 and to work with python-3.10.8

Message ID 20221109185734.3920-35-adolf.belka@ipfire.org
State Accepted
Commit 6a4a621edba6eed387d53a8784e09075e7d46c02
Headers
Series [01/48] python3: Update to version 3.10.8 |

Commit Message

Adolf Belka 9 Nov 2022, 6:57 p.m. UTC
  - Updated from version 3.0.7 to 3.0.9
- Update of rootfile
- Changelog
    Version 3.0.9 -
	- Added Unicode set `BasicMultilingualPlane` (may also be referenced
	  as `BMP`) representing the Basic Multilingual Plane (Unicode
	  characters up to code point 65535). Can be used to parse
	  most language characters, but omits emojis, wingdings, etc.
	  Raised in discussion with Dave Tapley (issue #392).
	- To address mypy confusion of `pyparsing.Optional` and `typing.Optional`
	  resulting in `error: "_SpecialForm" not callable` message
	  reported in issue #365, fixed the import in exceptions.py. Nice
	  sleuthing by Iwan Aucamp and Dominic Davis-Foster, thank you!
	  (Removed definitions of `OptionalType`, `DictType`, and `IterableType`
	  and replaced them with `typing.Optional`, `typing.Dict`, and
	  `typing.Iterable` throughout.)
	- Fixed typo in jinja2 template for railroad diagrams, thanks for the
	  catch Nioub (issue #388).
	- Removed use of deprecated `pkg_resources` package in
	  railroad diagramming code (issue #391).
	- Updated bigquery_view_parser.py example to parse examples at
	  https://cloud.google.com/bigquery/docs/reference/legacy-sql

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/python3-pyparsing | 44 ++++++++++-----------
 lfs/python3-pyparsing                       |  8 ++--
 2 files changed, 26 insertions(+), 26 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/python3-pyparsing b/config/rootfiles/packages/python3-pyparsing
index 08099a30a..3bd3be65d 100644
--- a/config/rootfiles/packages/python3-pyparsing
+++ b/config/rootfiles/packages/python3-pyparsing
@@ -1,22 +1,22 @@ 
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/PKG-INFO
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/SOURCES.txt
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/dependency_links.txt
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/not-zip-safe
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/requires.txt
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/EGG-INFO/top_level.txt
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/__init__.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/actions.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/common.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/core.py
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/diagram
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/diagram/__init__.py
-#usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/diagram/template.jinja2
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/exceptions.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/helpers.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/results.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/testing.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/unicode.py
-usr/lib/python3.10/site-packages/pyparsing-3.0.7-py3.10.egg/pyparsing/util.py
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO/PKG-INFO
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO/SOURCES.txt
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO/dependency_links.txt
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO/not-zip-safe
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO/requires.txt
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/EGG-INFO/top_level.txt
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/__init__.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/actions.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/common.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/core.py
+#usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/diagram
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/diagram/__init__.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/exceptions.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/helpers.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/py.typed
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/results.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/testing.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/unicode.py
+usr/lib/python3.10/site-packages/pyparsing-3.0.9-py3.10.egg/pyparsing/util.py
diff --git a/lfs/python3-pyparsing b/lfs/python3-pyparsing
index 14920ecce..cdadb6042 100644
--- a/lfs/python3-pyparsing
+++ b/lfs/python3-pyparsing
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 3.0.7
+VER        = 3.0.9
 SUMMARY    = Grammar Parser Library for Python
 
 THISAPP    = pyparsing-$(VER)
@@ -33,7 +33,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-pyparsing
-PAK_VER    = 5
+PAK_VER    = 6
 
 DEPS       =
 
@@ -47,7 +47,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 1f098dd2ae6ffef6f98a44137769198ebad6af1642c1bc784284bedbcd28c617993fb51901d179962ca05f3f8699d24c04b0df5e5e5168a572c0deb506ad4e54
+$(DL_FILE)_BLAKE2 = db2745b484e0cd7ff98e4b1dab129f8d96c8c3e9b83910f7ae7513c0e635530da90908dbe4792e4c5161cae4a5de7d8c3e58b2412e2b5038b131cc8388d9cace
 
 install : $(TARGET)
 
@@ -80,6 +80,6 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && python3 setup.py install
+	cd $(DIR_APP) && python3 -m pyproject2setuppy.main install
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)