pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pyparsing



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jan 25 08:35:13 UTC 2026

Modified Files:
        pkgsrc/devel/py-pyparsing: Makefile PLIST distinfo

Log Message:
py-pyparsing: updated to 3.3.2

Version 3.3.2 - January, 2026

- Defined pyparsing-specific warning classes so that they can be selectively enabled
  or disabled without affecting warnings raised by other libraries in the same Python
  app:
  - `PyparsingWarning` - base warning for all pyparsing-specific warnings (inherits
    from `UserWarning`)
  - `PyparsingDeprecationWarning` - warning for using deprecated features (inherits
    from `PyparsingWarning` and `DeprecationWarning`)
  - `PyparsingDiagnosticWarning` - warning raised when pyparsing diagnostics are
    enabled and a diagnostic feature is used (inherits from `PyparsingWarning`)

- Added `as_datetime` parse action to `pyparsing.common` - a more generalized
  version of the `convert_to_datetime` parse action (supports any expression that extracts
  date/time fields into "year", "month", "day", etc. results names), and validates
  that the parsed fields represent a valid date and time.

- Added `iso8601_date_validated` and `iso8601_datetime_validated` expressions to
  `pyparsing.common`, which return a Python `datetime.datetime`

- Various performance improvements in `ParseResults` class and core functions, with
  10-20% performance overall.

- Added `regex_inverter` web page (using PyScript) to demonstrate using the `inv_regex.py`
  example.

- Expanded regex forms handled by the `examples/inv_regex.py` example:
  - named capturing groups (`?P<name>`)
  - partial repetition (`{m,}` and `{,n}`)
  - negated character classes (`[^...]`)

- Added `SPy` (Simplified Python) parser to examples.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-pyparsing/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-pyparsing/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/devel/py-pyparsing/distinfo

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-pyparsing/Makefile
diff -u pkgsrc/devel/py-pyparsing/Makefile:1.40 pkgsrc/devel/py-pyparsing/Makefile:1.41
--- pkgsrc/devel/py-pyparsing/Makefile:1.40     Fri Dec 26 10:21:29 2025
+++ pkgsrc/devel/py-pyparsing/Makefile  Sun Jan 25 08:35:12 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2025/12/26 10:21:29 adam Exp $
+# $NetBSD: Makefile,v 1.41 2026/01/25 08:35:12 adam Exp $
 
-DISTNAME=      pyparsing-3.3.1
+DISTNAME=      pyparsing-3.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyparsing/}

Index: pkgsrc/devel/py-pyparsing/PLIST
diff -u pkgsrc/devel/py-pyparsing/PLIST:1.11 pkgsrc/devel/py-pyparsing/PLIST:1.12
--- pkgsrc/devel/py-pyparsing/PLIST:1.11        Fri Dec 26 10:21:29 2025
+++ pkgsrc/devel/py-pyparsing/PLIST     Sun Jan 25 08:35:12 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2025/12/26 10:21:29 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2026/01/25 08:35:12 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -53,3 +53,6 @@ ${PYSITELIB}/pyparsing/unicode.pyo
 ${PYSITELIB}/pyparsing/util.py
 ${PYSITELIB}/pyparsing/util.pyc
 ${PYSITELIB}/pyparsing/util.pyo
+${PYSITELIB}/pyparsing/warnings.py
+${PYSITELIB}/pyparsing/warnings.pyc
+${PYSITELIB}/pyparsing/warnings.pyo

Index: pkgsrc/devel/py-pyparsing/distinfo
diff -u pkgsrc/devel/py-pyparsing/distinfo:1.37 pkgsrc/devel/py-pyparsing/distinfo:1.38
--- pkgsrc/devel/py-pyparsing/distinfo:1.37     Fri Dec 26 10:21:29 2025
+++ pkgsrc/devel/py-pyparsing/distinfo  Sun Jan 25 08:35:12 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.37 2025/12/26 10:21:29 adam Exp $
+$NetBSD: distinfo,v 1.38 2026/01/25 08:35:12 adam Exp $
 
-BLAKE2s (pyparsing-3.3.1.tar.gz) = 4cd8a24d0d6259f646fe81a5f4cb7feb779c727f799d9b60f9cd63018c74d8ee
-SHA512 (pyparsing-3.3.1.tar.gz) = 897335233a642fefd05e729d86caeb6d1bb6b5873d6f4cf67dd922d0ec188efd9c051e2dad60df08f4876b61923078bb03f4cd93e835fe12e5c4e1ff6d591daa
-Size (pyparsing-3.3.1.tar.gz) = 1550512 bytes
+BLAKE2s (pyparsing-3.3.2.tar.gz) = 91061fa88acd73fbe42c054dfee6455a2622d1bb4cd1628f3ba46088ad276bad
+SHA512 (pyparsing-3.3.2.tar.gz) = 2c09c22004b7882e1364e6c5b675998d1fd03d1053148e06bab46a6135277fec0281875ec060f07f2b4cb8d46f092adcb4166a5193f587f45c853187b96b57cc
+Size (pyparsing-3.3.2.tar.gz) = 6851574 bytes



Home | Main Index | Thread Index | Old Index