git: 3e68f0785c1b - main - devel/py-hypothesmith: Change RUN_DEPENDS from py-lark-parser to py-lark

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 23:34:47 UTC
The branch main has been updated by sunpoet:

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

commit 3e68f0785c1bf822c76f68beb486f141899c9571
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:32:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:32:47 +0000

    devel/py-hypothesmith: Change RUN_DEPENDS from py-lark-parser to py-lark
    
    - Bump PORTREVISION for dependency change
---
 devel/py-hypothesmith/Makefile             |  3 ++-
 devel/py-hypothesmith/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-hypothesmith/Makefile b/devel/py-hypothesmith/Makefile
index 519a5ff6566b..2890ce0caa10 100644
--- a/devel/py-hypothesmith/Makefile
+++ b/devel/py-hypothesmith/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hypothesmith
 PORTVERSION=	0.2.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +11,7 @@ COMMENT=	Hypothesis strategies for generating Python programs
 LICENSE=	MPL20
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}lark-parser>=0:devel/py-lark-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lark>=0:devel/py-lark@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}libcst>=0:devel/py-libcst@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=0:devel/py-black@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}parso>=0:textproc/py-parso@${PY_FLAVOR}
diff --git a/devel/py-hypothesmith/files/patch-setup.py b/devel/py-hypothesmith/files/patch-setup.py
new file mode 100644
index 000000000000..19b719957672
--- /dev/null
+++ b/devel/py-hypothesmith/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2021-11-27 08:58:08 UTC
++++ setup.py
+@@ -32,7 +32,7 @@ setuptools.setup(
+     license="MPL 2.0",
+     description="Hypothesis strategies for generating Python programs, something like CSmith",
+     zip_safe=False,
+-    install_requires=["hypothesis>=5.41.0", "lark-parser>=0.7.2", "libcst>=0.3.8"],
++    install_requires=["hypothesis>=5.41.0", "lark>=0.7.2", "libcst>=0.3.8"],
+     python_requires=">=3.6",
+     classifiers=[
+         "Development Status :: 4 - Beta",