git: b3df092168e0 - main - devel/py-pyparsing: Update to 3.0.8

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:01:59 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3df092168e0afea6134e5ca3ae4c2d374770017

commit b3df092168e0afea6134e5ca3ae4c2d374770017
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:44:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:58:19 +0000

    devel/py-pyparsing: Update to 3.0.8
    
    Changes:        https://github.com/pyparsing/pyparsing/releases
---
 devel/py-pyparsing/Makefile       |  5 ++++-
 devel/py-pyparsing/distinfo       |  6 +++---
 devel/py-pyparsing/files/setup.py | 25 +++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/devel/py-pyparsing/Makefile b/devel/py-pyparsing/Makefile
index bf612675abd3..dbb0b3bbe1e6 100644
--- a/devel/py-pyparsing/Makefile
+++ b/devel/py-pyparsing/Makefile
@@ -1,7 +1,7 @@
 # Created by: Hye-Shik Chang
 
 PORTNAME=	pyparsing
-PORTVERSION=	3.0.7
+PORTVERSION=	3.0.8
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,4 +23,7 @@ DIAGRAMS_DESC=	Diagram support
 DIAGRAMS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}railroad-diagrams>=0:graphics/py-railroad-diagrams@${PY_FLAVOR}
 
+post-patch:
+	@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/devel/py-pyparsing/distinfo b/devel/py-pyparsing/distinfo
index 4aad5f2d6944..f883995b82df 100644
--- a/devel/py-pyparsing/distinfo
+++ b/devel/py-pyparsing/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643133771
-SHA256 (pyparsing-3.0.7.tar.gz) = 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea
-SIZE (pyparsing-3.0.7.tar.gz) = 884709
+TIMESTAMP = 1650228782
+SHA256 (pyparsing-3.0.8.tar.gz) = 7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954
+SIZE (pyparsing-3.0.8.tar.gz) = 1971138
diff --git a/devel/py-pyparsing/files/setup.py b/devel/py-pyparsing/files/setup.py
new file mode 100644
index 000000000000..077702756d1c
--- /dev/null
+++ b/devel/py-pyparsing/files/setup.py
@@ -0,0 +1,25 @@
+#!/usr/bin/env python
+# setup.py generated by flit for tools that don't yet use PEP 517
+
+from distutils.core import setup
+
+packages = \
+['pyparsing', 'pyparsing.diagram']
+
+package_data = \
+{'': ['*']}
+
+extras_require = \
+{'diagrams': ['railroad-diagrams', 'jinja2']}
+
+setup(name='pyparsing',
+      version='%%PORTVERSION%%',
+      description='pyparsing module - Classes and methods to define and execute parsing grammars',
+      author=None,
+      author_email='Paul McGuire <ptmcg.gm+pyparsing@gmail.com>',
+      url=None,
+      packages=packages,
+      package_data=package_data,
+      extras_require=extras_require,
+      python_requires='>=3.6.8',
+     )