py-pyparsing: updated to 3.1.2

Version 3.1.2 - March, 2024
---------------------------
- Added `ieee_float` expression to `pyparsing.common`, which parses float values,
  plus "NaN", "Inf", "Infinity". PR submitted by Bob Peterson

- Updated pep8 synonym wrappers for better type checking compatibility. PR submitted
  by Ricardo Coccioli

- Fixed empty error message bug, PR submitted by InSync
  pyparsing's exception messages to a former, more helpful form. If you have code that
  parses the exception messages returned by pyparsing, this may require some code
  changes.

- Added unit tests to test for exception message contents, with enhancement to
  `pyparsing.testing.assertRaisesParseException` to accept an expected exception message.

- Updated example `select_parser.py` to use PEP8 names and added Groups for better retrieval
  of parsed values from multiple SELECT clauses.

- Added example `email_address_parser.py`, as suggested by John Byrd

- Added example `directx_x_file_parser.py` to parse DirectX template definitions, and
  generate a Pyparsing parser from a template to parse .x files.

- Some code refactoring to reduce code nesting, PRs submitted by InSync.

- All internal string expressions using '%' string interpolation and `str.format()`
  converted to f-strings.
This commit is contained in:
adam 2024-03-06 13:33:03 +00:00
parent ed9b1578b1
commit 3977c5a5ce
2 changed files with 6 additions and 7 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.31 2023/10/25 22:24:14 wiz Exp $
# $NetBSD: Makefile,v 1.32 2024/03/06 13:33:03 adam Exp $
DISTNAME= pyparsing-3.1.1
DISTNAME= pyparsing-3.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyparsing/}

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.29 2023/07/31 07:19:59 adam Exp $
$NetBSD: distinfo,v 1.30 2024/03/06 13:33:03 adam Exp $
BLAKE2s (pyparsing-3.1.1.tar.gz) = 5fcba08a7601d5aee91db67daab891fa8f3709611aa87a57f738a1d0d4aa3612
SHA512 (pyparsing-3.1.1.tar.gz) = 59ae01e13277e25cabd1a1ea41a27aac9235c09746f54c0eaac53d0aae488309fe2044b3b31e1105cb8207ad3326828ec32bdd5e904cceee8b0d032740679628
Size (pyparsing-3.1.1.tar.gz) = 884814 bytes
BLAKE2s (pyparsing-3.1.2.tar.gz) = 7b4aa21047c72959757da120cfca4a883b68a0036ce55fab63b25e95d3c00d4c
SHA512 (pyparsing-3.1.2.tar.gz) = 1134949f3576edbec4438eefe952eb5cc6e734fb060905d714b6a77f71e90d364b01345df5e7b8fb5ffa798c530be9c65f6d152b3f591cba787660c4dd8894d2
Size (pyparsing-3.1.2.tar.gz) = 889571 bytes