git: 46284ca999f8 - main - devel/decompyle3: Allow build with py-spark-parser 1.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 05:27:21 UTC
The branch main has been updated by sunpoet:

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

commit 46284ca999f8e2d2755b0053d68bd68fd4e56b2d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:47:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 04:47:28 +0000

    devel/decompyle3: Allow build with py-spark-parser 1.9.0
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/rocky/python-decompile3/commit/54f263988d315f430c140b90536b4d9418d4bd3f
---
 devel/decompyle3/Makefile                   |  2 +-
 devel/decompyle3/files/patch-__pkginfo__.py | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/devel/decompyle3/Makefile b/devel/decompyle3/Makefile
index b8ffea6894e8..71bfc102480c 100644
--- a/devel/decompyle3/Makefile
+++ b/devel/decompyle3/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}spark-parser>=1.8.9<1.9.0:devel/py-spark-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}spark-parser>=1.8.9<1.9.1:devel/py-spark-parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xdis>=6.1.0<6.2.0:devel/py-xdis@${PY_FLAVOR}
 
 USES=		python
diff --git a/devel/decompyle3/files/patch-__pkginfo__.py b/devel/decompyle3/files/patch-__pkginfo__.py
new file mode 100644
index 000000000000..795ec53fbded
--- /dev/null
+++ b/devel/decompyle3/files/patch-__pkginfo__.py
@@ -0,0 +1,13 @@
+Obtained from:  https://github.com/rocky/python-decompile3/commit/54f263988d315f430c140b90536b4d9418d4bd3f
+
+--- __pkginfo__.py.orig	2024-07-21 17:01:58 UTC
++++ __pkginfo__.py
+@@ -51,7 +51,7 @@ ftp_url = None
+     ]
+ }
+ ftp_url = None
+-install_requires = ["click", "spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.1.1,<6.2.0"]
++install_requires = ["click", "spark-parser >= 1.8.9, < 1.9.1", "xdis >= 6.1.1,<6.2.0"]
+ 
+ license = "GPL3"
+ mailing_list = "python-debugger@googlegroups.com"