Re: git: cc3975393535 - main - graphics/py-python-poppler-qt5: Fix build: Cannot import 'sipbuild.api'

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Fri, 01 Nov 2024 12:47:54 UTC
On Fri, Nov 1, 2024 at 8:38 PM Vladimir Druzenko <vvd@freebsd.org> wrote:

> 01.11.2024 15:14, Po-Chuan Hsieh пишет:
>
> Hello,
>
> On Fri, Nov 1, 2024, 20:07 Vladimir Druzenko <vvd@freebsd.org> wrote:
>
>> The branch main has been updated by vvd:
>>
>> URL:
>> https://cgit.FreeBSD.org/ports/commit/?id=cc3975393535d0563e4dfad9638409e2fa90941d
>>
>> commit cc3975393535d0563e4dfad9638409e2fa90941d
>> Author:     Vladimir Druzenko <vvd@FreeBSD.org> <vvd@FreeBSD.org>
>> AuthorDate: 2024-11-01 12:02:19 +0000
>> Commit:     Vladimir Druzenko <vvd@FreeBSD.org> <vvd@FreeBSD.org>
>> CommitDate: 2024-11-01 12:07:14 +0000
>>
>>     graphics/py-python-poppler-qt5: Fix build: Cannot import
>> 'sipbuild.api'
>>
>
> It doesn't look like fixing the broken build but adding a whole set of
> files to a wrong place
>
> Hi!
>
> I saw this error a minute after committing.
> Reverted and committed correct fix in
> 44ad61e37714426abdc08edfa11cfa6d739bada9.
>
> Sorry.
>
No worries. Thanks for fixing it so fast. :)


>
>>     Traceback (most recent call last):
>>       File
>> "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line
>> 402, in _call_hook
>>         raise BackendUnavailable(
>>     pyproject_hooks._impl.BackendUnavailable: Cannot import 'sipbuild.api'
>>
>>     ERROR Backend 'sipbuild.api' is not available.
>>
>>     - Add missing build dependency needed after recent changes to the
>> python
>>     build infrastructure.
>>     - Replace BUILD_DEPENDS=qmake-qt5:devel/qt5-qmake with
>> USE_QT=qmake:build.
>>
>>     PR:             282439
>>     Approved by:    Martin Neubauer <m.ne@gmx.net> (maintainer)
>>     MFH:            2024Q4
>> ---
>>  .../py-python-poppler-qt5/Makefile                 | 36
>> ++++++++++++++++++++++
>>  .../py-python-poppler-qt5/distinfo                 |  3 ++
>>  .../py-python-poppler-qt5/pkg-descr                |  8 +++++
>>  3 files changed, 47 insertions(+)
>
>
> --
> Best regards,
> Vladimir Druzenko
>
>