Re: git: d4989ed44f5a - main - devel/py-buildbot: Fix runtime
- In reply to: Muhammad Moinur Rahman : "git: d4989ed44f5a - main - devel/py-buildbot: Fix runtime"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Oct 2023 16:58:06 UTC
Hello,
On Tue, Oct 31, 2023 at 6:27 AM Muhammad Moinur Rahman <bofh@freebsd.org>
wrote:
> 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
>
This should be in sync with RUN_DEPENDS which is incorrect now
(${PYTHON_PKGNAMEPREFIX}twisted>=17.9.0:devel/py-twisted@${PY_FLAVOR}).
I checked all dependent ports before updating py-twisted, this should be
caught and handled if the RUN_DEPENDS is correct.
Thanks.
Regards,
sunpoet
+
> fix-plist:
> ${REINPLACE_CMD} -e 's|^${BUILDBOT_REMOVE_ME}$$||' ${TMPPLIST}
>
>
>