summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-10-14 12:47:28 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-10-14 12:47:28 +0800
commit46284ca999f8e2d2755b0053d68bd68fd4e56b2d (patch)
tree057684c9d53e1e10093616d128ed52e7af64253b
parentdevel/astyle: Update to 3.6.3 (diff)
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
-rw-r--r--devel/decompyle3/Makefile2
-rw-r--r--devel/decompyle3/files/patch-__pkginfo__.py13
2 files changed, 14 insertions, 1 deletions
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"