Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2024 12:19:08 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 9eaaa21298e6 - 2024Q4 - graphics/py-python-poppler-qt5: Fix build: Cannot import 'sipbuild.api'
Message-ID:  <202411011219.4A1CJ8ec038102@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by vvd:

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

commit 9eaaa21298e691086b21b73f2982b9baaa20073c
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-11-01 12:16:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-11-01 12:19:01 +0000

    graphics/py-python-poppler-qt5: Fix build: Cannot import 'sipbuild.api'
    
    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
    
    (cherry picked from commit 44ad61e37714426abdc08edfa11cfa6d739bada9)
---
 graphics/py-python-poppler-qt5/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/graphics/py-python-poppler-qt5/Makefile b/graphics/py-python-poppler-qt5/Makefile
index 739af06edd14..c4420c6346e1 100644
--- a/graphics/py-python-poppler-qt5/Makefile
+++ b/graphics/py-python-poppler-qt5/Makefile
@@ -12,17 +12,16 @@ WWW=		https://pypi.org/project/python-poppler-qt5/
 LICENSE=	LGPL21 LGPL3
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		qmake-qt5:devel/qt5-qmake
+BUILD_DEPENDS=	${PY_SETUPTOOLS}
 LIB_DEPENDS=	libpoppler-qt5.so:graphics/poppler-qt5
 
 USES=		compiler:c++17-lang gl pkgconfig pyqt:5 python qt:5
 USE_GITHUB=	yes
 GH_ACCOUNT=	frescobaldi
 USE_GL=		gl
-USE_PYQT=	pyqt5
+USE_PYQT=	pyqt5 qtbuilder:build
 USE_PYTHON=	autoplist pep517
-USE_QT=		core gui xml
+USE_QT=		core gui xml qmake:build
 
 PEP517_BUILD_CONFIG_SETTING=	-C--build-dir=build \
 				-C--jobs=${MAKE_JOBS_NUMBER} -C--qmake=${QMAKE} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411011219.4A1CJ8ec038102>