pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pyparsing py-pyparsing: updated to 3.0.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a4a3fa58d43
branches:  trunk
changeset: 376672:5a4a3fa58d43
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 11 11:21:05 2022 +0000

description:
py-pyparsing: updated to 3.0.8

Version 3.0.8
-------------
- API CHANGE: modified pyproject.toml to require Python version
  3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6
  fail in evaluating the `version_info` class (implemented using
  `typing.NamedTuple`). If you are using an earlier version of Python
  3.6, you will need to use pyparsing 2.4.7.

- Improved pyparsing import time by deferring regex pattern compiles.

- Updated build to use flit, PR by Michał Górny, added BUILDING.md
  doc and removed old Windows build scripts - nice cleanup work!

- More type-hinting added for all arithmetic and logical operator
  methods in `ParserElement`. PR from Kazantcev Andrey, thank you.

- Fixed `infix_notation`'s definitions of `lpar` and `rpar`, to accept
  parse expressions such that they do not get suppressed in the parsed
  results. PR submitted by Philippe Prados, nice work.

- Fixed bug in railroad diagramming with expressions containing `Combine`
  elements. Reported by Jeremy White, thanks!

- Added `show_groups` argument to `create_diagram` to highlight grouped
  elements with an unlabeled bounding box.

- Added `unicode_denormalizer.py` to the examples as a demonstration
  of how Python's interpreter will accept Unicode characters in
  identifiers, but normalizes them back to ASCII so that identifiers
  `print` and `𝕡𝓻ᵢ𝓃𝘁` and `𝖕𝒓𝗂𝑛ᵗ` are all equivalent.

- Removed imports of deprecated `sre_constants` module for catching
  exceptions when compiling regular expressions. PR submitted by
  Serhiy Storchaka, thank you.

diffstat:

 devel/py-pyparsing/Makefile |   6 +++---
 devel/py-pyparsing/PLIST    |  26 +++++++++-----------------
 devel/py-pyparsing/distinfo |   8 ++++----
 3 files changed, 16 insertions(+), 24 deletions(-)

diffs (85 lines):

diff -r 31ca84d26750 -r 5a4a3fa58d43 devel/py-pyparsing/Makefile
--- a/devel/py-pyparsing/Makefile       Mon Apr 11 11:19:55 2022 +0000
+++ b/devel/py-pyparsing/Makefile       Mon Apr 11 11:21:05 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2022/01/21 11:31:47 adam Exp $
+# $NetBSD: Makefile,v 1.26 2022/04/11 11:21:05 adam Exp $
 
-DISTNAME=      pyparsing-3.0.7
+DISTNAME=      pyparsing-3.0.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyparsing/}
@@ -14,5 +14,5 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 31ca84d26750 -r 5a4a3fa58d43 devel/py-pyparsing/PLIST
--- a/devel/py-pyparsing/PLIST  Mon Apr 11 11:19:55 2022 +0000
+++ b/devel/py-pyparsing/PLIST  Mon Apr 11 11:21:05 2022 +0000
@@ -1,40 +1,32 @@
-@comment $NetBSD: PLIST,v 1.4 2021/11/01 18:58:56 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2022/04/11 11:21:05 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/pyparsing/__init__.py
 ${PYSITELIB}/pyparsing/__init__.pyc
-${PYSITELIB}/pyparsing/__init__.pyo
 ${PYSITELIB}/pyparsing/actions.py
 ${PYSITELIB}/pyparsing/actions.pyc
-${PYSITELIB}/pyparsing/actions.pyo
 ${PYSITELIB}/pyparsing/common.py
 ${PYSITELIB}/pyparsing/common.pyc
-${PYSITELIB}/pyparsing/common.pyo
 ${PYSITELIB}/pyparsing/core.py
 ${PYSITELIB}/pyparsing/core.pyc
-${PYSITELIB}/pyparsing/core.pyo
 ${PYSITELIB}/pyparsing/diagram/__init__.py
 ${PYSITELIB}/pyparsing/diagram/__init__.pyc
-${PYSITELIB}/pyparsing/diagram/__init__.pyo
 ${PYSITELIB}/pyparsing/diagram/template.jinja2
 ${PYSITELIB}/pyparsing/exceptions.py
 ${PYSITELIB}/pyparsing/exceptions.pyc
-${PYSITELIB}/pyparsing/exceptions.pyo
 ${PYSITELIB}/pyparsing/helpers.py
 ${PYSITELIB}/pyparsing/helpers.pyc
-${PYSITELIB}/pyparsing/helpers.pyo
+${PYSITELIB}/pyparsing/py.typed
 ${PYSITELIB}/pyparsing/results.py
 ${PYSITELIB}/pyparsing/results.pyc
-${PYSITELIB}/pyparsing/results.pyo
 ${PYSITELIB}/pyparsing/testing.py
 ${PYSITELIB}/pyparsing/testing.pyc
-${PYSITELIB}/pyparsing/testing.pyo
 ${PYSITELIB}/pyparsing/unicode.py
 ${PYSITELIB}/pyparsing/unicode.pyc
-${PYSITELIB}/pyparsing/unicode.pyo
 ${PYSITELIB}/pyparsing/util.py
 ${PYSITELIB}/pyparsing/util.pyc
-${PYSITELIB}/pyparsing/util.pyo
diff -r 31ca84d26750 -r 5a4a3fa58d43 devel/py-pyparsing/distinfo
--- a/devel/py-pyparsing/distinfo       Mon Apr 11 11:19:55 2022 +0000
+++ b/devel/py-pyparsing/distinfo       Mon Apr 11 11:21:05 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2022/01/21 11:31:47 adam Exp $
+$NetBSD: distinfo,v 1.26 2022/04/11 11:21:05 adam Exp $
 
-BLAKE2s (pyparsing-3.0.7.tar.gz) = 7c6ed7109b79c8b886a0fc854d7b518285e49e68001355a479968c6033ef931f
-SHA512 (pyparsing-3.0.7.tar.gz) = 1e692f4cdaa6b6e8ca2729d0a3e2ba16d978f1957c538b6de3a4220ec7d996bdbe87c41c43abab851fffa3b0498a05841373e435602917b8c095042e273badb5
-Size (pyparsing-3.0.7.tar.gz) = 884709 bytes
+BLAKE2s (pyparsing-3.0.8.tar.gz) = 5f83b4f07c8a66e238e1cd67b8382210bbd4842b73836bcb218ceda25128e75e
+SHA512 (pyparsing-3.0.8.tar.gz) = 7495d95cb35174bd6419c8fddbc885083874c4ea782e483a4253b3b20cd3d8fc93bf5b51dcc55cd00674e251e6757f2cc69467a27be4c45de71486bb5f0f3e45
+Size (pyparsing-3.0.8.tar.gz) = 1971138 bytes


Home | Main Index | Thread Index | Old Index