diff options
author | Michael Gmelin <grembo@FreeBSD.org> | 2024-07-12 16:30:27 +0200 |
---|---|---|
committer | Michael Gmelin <grembo@FreeBSD.org> | 2024-07-12 17:24:51 +0200 |
commit | 41e0bde90dbb4bedf8411fbc278606d92cf90208 (patch) | |
tree | 0496b79a45687a7f8abd92bec1a08cef617190f6 | |
parent | www/py-wagtail: Update to 6.1.3 (diff) |
sysutils/iocage: Fixes for python 3.11
PR: 280219
Reported by: asomers
Tested by: asomers
(cherry picked from commit e15d19c28d11eb9da6ad543b4e3f0ff61783ced5)
-rw-r--r-- | sysutils/iocage/Makefile | 2 | ||||
-rw-r--r-- | sysutils/iocage/files/patch-iocage__lib_ioc__common.py | 11 | ||||
-rw-r--r-- | sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py | 11 |
3 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/iocage/Makefile b/sysutils/iocage/Makefile index c3c32a102859..c7215b853300 100644 --- a/sysutils/iocage/Makefile +++ b/sysutils/iocage/Makefile @@ -1,6 +1,6 @@ PORTNAME= iocage PORTVERSION= 1.2 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= sysutils python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/iocage/files/patch-iocage__lib_ioc__common.py b/sysutils/iocage/files/patch-iocage__lib_ioc__common.py new file mode 100644 index 000000000000..1216797ef225 --- /dev/null +++ b/sysutils/iocage/files/patch-iocage__lib_ioc__common.py @@ -0,0 +1,11 @@ +--- iocage_lib/ioc_common.py.orig 2024-07-10 17:23:47 UTC ++++ iocage_lib/ioc_common.py +@@ -77,7 +77,7 @@ def callback(_log, callback_exception): + else: + if not isinstance(message, str) and isinstance( + message, +- collections.Iterable ++ collections.abc.Iterable + ): + message = '\n'.join(message) + diff --git a/sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py b/sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py new file mode 100644 index 000000000000..1588ef95399f --- /dev/null +++ b/sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py @@ -0,0 +1,11 @@ +--- iocage_lib/ioc_exceptions.py.orig 2024-07-10 17:22:46 UTC ++++ iocage_lib/ioc_exceptions.py +@@ -31,7 +31,7 @@ class ExceptionWithMsg(Exception): + def __init__(self, message): + if not isinstance(message, str) and not isinstance( + message, +- collections.Iterable ++ collections.abc.Iterable + ): + message = [message] + |