git: d4989ed44f5a - main - devel/py-buildbot: Fix runtime

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 31 Oct 2023 12:27:53 UTC
The branch main has been updated by bofh:

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

commit d4989ed44f5afdc5ab495922238b29aca5d944af
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-31 12:26:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-31 12:27:41 +0000

    devel/py-buildbot: Fix runtime
    
    Runtime broke with the updaaate of py-twisted. For now try with patching
    the lower bounds.
    
    PR:             274827
    Reported by:    freebsd@pe82.de
---
 devel/py-buildbot/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/py-buildbot/Makefile b/devel/py-buildbot/Makefile
index 30abc0fc50cc..3425bca28cc0 100644
--- a/devel/py-buildbot/Makefile
+++ b/devel/py-buildbot/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	buildbot
 PORTVERSION=	3.9.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -49,6 +50,10 @@ SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} \
 BUILDBOT_REMOVE_ME=	${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/buildbot/reporters/templates
 POST_PLIST+=		fix-plist
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|twisted_ver = ">= 18.7.0, <=22.10.0"|twisted_ver = ">= 18.7.0"|g' \
+		${WRKSRC}/setup.py
+
 fix-plist:
 	${REINPLACE_CMD} -e 's|^${BUILDBOT_REMOVE_ME}$$||' ${TMPPLIST}