Files
bpfire/lfs/python3-pyparsing
Adolf Belka 6a4a621edb python3-pyparsing:Update to version 3.0.9 and to work with python-3.10.8
- 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>
2022-11-10 15:13:53 +00:00

86 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 3.0.9
SUMMARY = Grammar Parser Library for Python
THISAPP = pyparsing-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = python3-pyparsing
PAK_VER = 6
DEPS =
SERVICES =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = db2745b484e0cd7ff98e4b1dab129f8d96c8c3e9b83910f7ae7513c0e635530da90908dbe4792e4c5161cae4a5de7d8c3e58b2412e2b5038b131cc8388d9cace
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && python3 -m pyproject2setuppy.main install
@rm -rf $(DIR_APP)
@$(POSTBUILD)