Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2023 10:58:06 -0600
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Muhammad Moinur Rahman <bofh@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: d4989ed44f5a - main - devel/py-buildbot: Fix runtime
Message-ID:  <CAMHz58SdoJBgDfjC-jJW2VJ5BF6hYb_GDvCXqmtqOWOJUB%2BB=w@mail.gmail.com>
In-Reply-To: <202310311227.39VCRroI079864@gitrepo.freebsd.org>
References:  <202310311227.39VCRroI079864@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000002a2aa606090611b7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

On Tue, Oct 31, 2023 at 6:27=E2=80=AFAM Muhammad Moinur Rahman <bofh@freebs=
d.org>
wrote:

> The branch main has been updated by bofh:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=3Dd4989ed44f5afdc5ab495922238b2=
9aca5d944af
>
> 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=3D      buildbot
>  PORTVERSION=3D   3.9.2
> +PORTREVISION=3D  1
>  CATEGORIES=3D    devel python
>  MASTER_SITES=3D  PYPI
>  PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX}
> @@ -49,6 +50,10 @@ SUB_LIST=3D    PYTHON_CMD=3D${PYTHON_CMD} \
>  BUILDBOT_REMOVE_ME=3D
> ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/buildbot/reporters/templates
>  POST_PLIST+=3D           fix-plist
>
> +post-patch:
> +       @${REINPLACE_CMD} -e 's|twisted_ver =3D ">=3D 18.7.0,
> <=3D22.10.0"|twisted_ver =3D ">=3D 18.7.0"|g' \
> +               ${WRKSRC}/setup.py
>

This should be in sync with RUN_DEPENDS which is incorrect now
(${PYTHON_PKGNAMEPREFIX}twisted>=3D17.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}
>
>
>

--0000000000002a2aa606090611b7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Tue, Oct 31, 2023 at 6:27=E2=80=AFAM Muham=
mad Moinur Rahman &lt;<a href=3D"mailto:bofh@freebsd.org">bofh@freebsd.org<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">T=
he branch main has been updated by bofh:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Dd4989ed44f5afdc=
5ab495922238b29aca5d944af" rel=3D"noreferrer" target=3D"_blank">https://cgi=
t.FreeBSD.org/ports/commit/?id=3Dd4989ed44f5afdc5ab495922238b29aca5d944af</=
a><br>
<br>
commit d4989ed44f5afdc5ab495922238b29aca5d944af<br>
Author:=C2=A0 =C2=A0 =C2=A0Muhammad Moinur Rahman &lt;bofh@FreeBSD.org&gt;<=
br>
AuthorDate: 2023-10-31 12:26:00 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Muhammad Moinur Rahman &lt;bofh@FreeBSD.org&gt;<=
br>
CommitDate: 2023-10-31 12:27:41 +0000<br>
<br>
=C2=A0 =C2=A0 devel/py-buildbot: Fix runtime<br>
<br>
=C2=A0 =C2=A0 Runtime broke with the updaaate of py-twisted. For now try wi=
th patching<br>
=C2=A0 =C2=A0 the lower bounds.<br>
<br>
=C2=A0 =C2=A0 PR:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0274827<br>
=C2=A0 =C2=A0 Reported by:=C2=A0 =C2=A0 <a href=3D"mailto:freebsd@pe82.de" =
target=3D"_blank">freebsd@pe82.de</a><br>
---<br>
=C2=A0devel/py-buildbot/Makefile | 5 +++++<br>
=C2=A01 file changed, 5 insertions(+)<br>
<br>
diff --git a/devel/py-buildbot/Makefile b/devel/py-buildbot/Makefile<br>
index 30abc0fc50cc..3425bca28cc0 100644<br>
--- a/devel/py-buildbot/Makefile<br>
+++ b/devel/py-buildbot/Makefile<br>
@@ -1,5 +1,6 @@<br>
=C2=A0PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 buildbot<br>
=C2=A0PORTVERSION=3D=C2=A0 =C2=A03.9.2<br>
+PORTREVISION=3D=C2=A0 1<br>
=C2=A0CATEGORIES=3D=C2=A0 =C2=A0 devel python<br>
=C2=A0MASTER_SITES=3D=C2=A0 PYPI<br>
=C2=A0PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX}<br>
@@ -49,6 +50,10 @@ SUB_LIST=3D=C2=A0 =C2=A0 PYTHON_CMD=3D${PYTHON_CMD} \<br=
>
=C2=A0BUILDBOT_REMOVE_ME=3D=C2=A0 =C2=A0 ${PYTHONPREFIX_SITELIBDIR:S;${PREF=
IX}/;;}/buildbot/reporters/templates<br>
=C2=A0POST_PLIST+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fix-plist<br>
<br>
+post-patch:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0@${REINPLACE_CMD} -e &#39;s|twisted_ver =3D &qu=
ot;&gt;=3D 18.7.0, &lt;=3D22.10.0&quot;|twisted_ver =3D &quot;&gt;=3D 18.7.=
0&quot;|g&#39; \<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${WRKSRC}/setup.py<=
br></blockquote><div><br></div><div>This should be in sync with RUN_DEPENDS=
 which=C2=A0is incorrect now (${PYTHON_PKGNAMEPREFIX}twisted&gt;=3D17.9.0:d=
evel/py-twisted@${PY_FLAVOR}).</div><div>I checked all dependent ports befo=
re updating py-twisted, this should be caught and handled if the RUN_DEPEND=
S is correct.</div><div>Thanks.</div><div><br></div><div>Regards,</div><div=
>sunpoet</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">
+<br>
=C2=A0fix-plist:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${REINPLACE_CMD} -e &#39;s|^${BUILDBOT_REMOVE_M=
E}$$||&#39; ${TMPPLIST}<br>
<br>
<br>
</blockquote></div></div>

--0000000000002a2aa606090611b7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58SdoJBgDfjC-jJW2VJ5BF6hYb_GDvCXqmtqOWOJUB%2BB=w>