From nobody Fri Nov 01 12:14:18 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xg0Cr5lkyz5b74r for ; Fri, 01 Nov 2024 12:14:32 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xg0Cr5Cdjz4CjH for ; Fri, 1 Nov 2024 12:14:32 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730463272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tSHwCJ2qqnUMM97BDr7D7E1xp7a3nlp/sRNEzncgpmY=; b=GZBYXObMjMHfiHNNOnBXNjCIhk2ziHjQicazCCToW+eUA8pyccNcSjB9kQyyyL45XlyDoX dfymppYRfglcinseEsZEUCVaSOJX8OcnN2AkMIS0m/3NEcrjzfnb3GLdEekMS7QT+77J0/ QfeJHqpZP3JtsVH9mNoHtI7/GOORGOc6/+s0Oxo1Oi2fhnNYdHgAEiihjweUr8FvPr6NvH Yj7jnbY85D/g8HJvzIYARwTbV8OHPJyQmVAfCLPNnctIcAeU4OehjGhvsVsVTq3NkyXdm0 ioNhMUgP9EjA4R/IIRFgwc3eUTlAh7nl0oXJdvPJ4IpbgiyUAjL0so8yshY56g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730463272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tSHwCJ2qqnUMM97BDr7D7E1xp7a3nlp/sRNEzncgpmY=; b=BNsHEoAXlsFHTEJse/9tsvHNnWJN0b/9j/bh5wPO7QWKKCsz16nrYDvOxLsVM6/z1EqABm gbybPnckrOJ8cwBc1wvuqKtkUDge+poRmUmHcsA8V79+QWylh8cNQwRk77DMAucu9EWQlA xiP1GJrnQQbOX2Mc86isp5O73ww1oaPXTr3LxiQ3/HnQGbGvrczBztcXwp8NAYTWR2RTVD jvdwA7IDJ8xPXqkJp5nMCNpTN7KSoRxBGHxpQNAzv01+80HGTR+eiddh4Wr5S6yenPCFqs zEZLsBCEPXHO+SbegKxQa51vQDRankT9ZvAHBN2TL0Cb48xcjAyMM6mZKM3q7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730463272; a=rsa-sha256; cv=none; b=nJRttjmUo5Akk2djDPS7kqg8c8GxLTweml2RyGLNKMjU8h1CaIst5nidogU0YoaMetGf1q S/eyfxRENUUQIgLBpLkIw2Tz9otNa6IZT/8litPqrmfUC1z/vI2zd/mSQoDq+L4/npgYag O5FrlVnAIcGcxMaD8MuzSah1tPnQX6XnpZAnntJVkuqo4pc0Y6hbPfJaaxQt+eCSEAdV+0 +dgmfiHbh98p4dXIraK4Fyk1jlubfvu9Y8D2YLmBhkX17xXv+oDc3ZgzTR7V3moU2npq7M XzO8rAHrX1C8WxKfqlbRBZWi8zQmOc7sqB27EyhW3uFbXJb+lM4cK5sgBLeXXQ== Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Xg0Cr4Wzfz1X4Z for ; Fri, 1 Nov 2024 12:14:32 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2fb4ec17f5cso14609131fa.3 for ; Fri, 01 Nov 2024 05:14:32 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWAJ1PjUwcumopo7Ye6S4uux3Dyv20MOJ6GV1OKTGX2xxwKq7ZrtrWD6KIdeWQClbkVOv4GIzg7FgDl7LY1pZj3sVzjssM=@freebsd.org X-Gm-Message-State: AOJu0Yy/AJj7TW9NFEl5XCCi6xe2LYNxEV5aOfJJTqpF8pBSbCVrXb7U IQjegEHJZfwaWXLKRy79/zF7v+brIhxQQt2/975uVwKGabRm0xHBmGnoUuKl13d4V7Jfskhm/gi F9BNDZoL5xinn4RihTNUK7KB97f5VDRhNSxnBIA== X-Google-Smtp-Source: AGHT+IFWSPs0mswXSVLgcSTGFuSbUfzLNGjREJU8fUwd+Iybhs1VGbTC34ZxFnLcqL59YKMDrbjFykbq7CEfkWqsT7A= X-Received: by 2002:a2e:bc0b:0:b0:2fb:403c:268b with SMTP id 38308e7fff4ca-2fd059d28c8mr60173341fa.34.1730463271098; Fri, 01 Nov 2024 05:14:31 -0700 (PDT) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 References: <202411011207.4A1C7OL7018698@gitrepo.freebsd.org> In-Reply-To: <202411011207.4A1C7OL7018698@gitrepo.freebsd.org> From: Po-Chuan Hsieh Date: Fri, 1 Nov 2024 20:14:18 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: cc3975393535 - main - graphics/py-python-poppler-qt5: Fix build: Cannot import 'sipbuild.api' To: Vladimir Druzenko Cc: ports-committers , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="0000000000009247180625d8e07e" --0000000000009247180625d8e07e Content-Type: text/plain; charset="UTF-8" Hello, On Fri, Nov 1, 2024, 20:07 Vladimir Druzenko wrote: > The branch main has been updated by vvd: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=cc3975393535d0563e4dfad9638409e2fa90941d > > commit cc3975393535d0563e4dfad9638409e2fa90941d > Author: Vladimir Druzenko > AuthorDate: 2024-11-01 12:02:19 +0000 > Commit: Vladimir Druzenko > 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 > 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 (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(+) > > diff --git a/graphics/py-python-poppler-qt5/py-python-poppler-qt5/Makefile > b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/Makefile > new file mode 100644 > index 000000000000..c4420c6346e1 > --- /dev/null > +++ b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/Makefile > @@ -0,0 +1,36 @@ > +PORTNAME= python-poppler-qt5 > +DISTVERSIONPREFIX= v > +DISTVERSION= 21.3.0 > +PORTREVISION= 3 > +CATEGORIES= graphics python > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > + > +MAINTAINER= m.ne@gmx.net > +COMMENT= Python bindings for the Poppler-Qt PDF rendering library > +WWW= https://pypi.org/project/python-poppler-qt5/ > + > +LICENSE= LGPL21 LGPL3 > +LICENSE_COMB= dual > + > +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 qtbuilder:build > +USE_PYTHON= autoplist pep517 > +USE_QT= core gui xml qmake:build > + > +PEP517_BUILD_CONFIG_SETTING= -C--build-dir=build \ > + -C--jobs=${MAKE_JOBS_NUMBER} > -C--qmake=${QMAKE} \ > + -C--qmake-setting='CONFIG += c++17' \ > + -C--qmake-setting='QMAKE_CXXFLAGS += > ${CXXFLAGS}' \ > + -C--qmake-setting='QMAKE_LFLAGS += > ${LDFLAGS}' \ > + -C--verbose > + > +post-install: > + @${STRIP_CMD} > ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${PYTHON_EXT_SUFFIX}.so > + > +.include > diff --git a/graphics/py-python-poppler-qt5/py-python-poppler-qt5/distinfo > b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/distinfo > new file mode 100644 > index 000000000000..f437a81c1655 > --- /dev/null > +++ b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP = 1703990050 > +SHA256 (frescobaldi-python-poppler-qt5-v21.3.0_GH0.tar.gz) = > dbf3be9c8123429c8a73ebd4c18993331619198e88fa40dde99f48213fa75012 > +SIZE (frescobaldi-python-poppler-qt5-v21.3.0_GH0.tar.gz) = 25641 > diff --git > a/graphics/py-python-poppler-qt5/py-python-poppler-qt5/pkg-descr > b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/pkg-descr > new file mode 100644 > index 000000000000..de574d9d336a > --- /dev/null > +++ b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/pkg-descr > @@ -0,0 +1,8 @@ > +A Python binding for libpoppler-qt5 that aims for completeness > +and for being actively maintained. > + > +Created and currently maintained by Wilbert Berendsen . > + > +Usage: > + import popplerqt5 > + d = popplerqt5.Poppler.Document.load('file.pdf') > > --0000000000009247180625d8e07e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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=3Dcc3975393535d0563e4dfad9638409e= 2fa90941d

commit cc3975393535d0563e4dfad9638409e2fa90941d
Author:=C2=A0 =C2=A0 =C2=A0Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-11-01 12:02:19 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-11-01 12:07:14 +0000

=C2=A0 =C2=A0 graphics/py-python-poppler-qt5: Fix build: Cannot import '= ;sipbuild.api'

=
It doesn't look like fixing the broken build but addi= ng a whole set of files to a wrong place=C2=A0

<= /div>

=C2=A0 =C2=A0 Traceback (most recent call last):
=C2=A0 =C2=A0 =C2=A0 File "/usr/local/lib/python3.11/site-packages/pyp= roject_hooks/_impl.py", line 402, in _call_hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 raise BackendUnavailable(
=C2=A0 =C2=A0 pyproject_hooks._impl.BackendUnavailable: Cannot import '= sipbuild.api'

=C2=A0 =C2=A0 ERROR Backend 'sipbuild.api' is not available.

=C2=A0 =C2=A0 - Add missing build dependency needed after recent changes to= the python
=C2=A0 =C2=A0 build infrastructure.
=C2=A0 =C2=A0 - Replace BUILD_DEPENDS=3Dqmake-qt5:devel/qt5-qmake with USE_= QT=3Dqmake:build.

=C2=A0 =C2=A0 PR:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0282439
=C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 Martin Neubauer <m.ne@gmx.net> = (maintainer)
=C2=A0 =C2=A0 MFH:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2024Q4
---
=C2=A0.../py-python-poppler-qt5/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| 36 ++++++++++++++++++++++
=C2=A0.../py-python-poppler-qt5/distinfo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 3 ++
=C2=A0.../py-python-poppler-qt5/pkg-descr=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 |=C2=A0 8 +++++
=C2=A03 files changed, 47 insertions(+)

diff --git a/graphics/py-python-poppler-qt5/py-python-poppler-qt5/Makefile = b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/Makefile
new file mode 100644
index 000000000000..c4420c6346e1
--- /dev/null
+++ b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 python-poppler-qt5
+DISTVERSIONPREFIX=3D=C2=A0 =C2=A0 =C2=A0v
+DISTVERSION=3D=C2=A0 =C2=A021.3.0
+PORTREVISION=3D=C2=A0 3
+CATEGORIES=3D=C2=A0 =C2=A0 graphics python
+PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=3D=C2=A0 =C2=A0 m.ne@gmx.net
+COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Python bindings for the Poppler-Qt PD= F rendering library
+WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0https://pypi.org/project/python-poppler-qt5/
+
+LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0LGPL21 LGPL3
+LICENSE_COMB=3D=C2=A0 dual
+
+BUILD_DEPENDS=3D ${PY_SETUPTOOLS}
+LIB_DEPENDS=3D=C2=A0 =C2=A0libpoppler-qt5.so:graphics/poppler-qt5
+
+USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 compiler:c++17-lang gl pkgconfig= pyqt:5 python qt:5
+USE_GITHUB=3D=C2=A0 =C2=A0 yes
+GH_ACCOUNT=3D=C2=A0 =C2=A0 frescobaldi
+USE_GL=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gl
+USE_PYQT=3D=C2=A0 =C2=A0 =C2=A0 pyqt5 qtbuilder:build
+USE_PYTHON=3D=C2=A0 =C2=A0 autoplist pep517
+USE_QT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 core gui = xml qmake:build
+
+PEP517_BUILD_CONFIG_SETTING=3D=C2=A0 =C2=A0-C--build-dir=3Dbuild \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-C--jobs=3D${MAKE_JOBS_NUMBER} -C--qm= ake=3D${QMAKE} \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-C--qmake-setting=3D'CONFIG +=3D = c++17' \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-C--qmake-setting=3D'QMAKE_CXXFLA= GS +=3D ${CXXFLAGS}' \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-C--qmake-setting=3D'QMAKE_LFLAGS= +=3D ${LDFLAGS}' \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-C--verbose
+
+post-install:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIB= DIR}/popplerqt5${PYTHON_EXT_SUFFIX}.so
+
+.include <bsd.port.mk>
diff --git a/graphics/py-python-poppler-qt5/py-python-poppler-qt5/distinfo = b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/distinfo
new file mode 100644
index 000000000000..f437a81c1655
--- /dev/null
+++ b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP =3D 1703990050
+SHA256 (frescobaldi-python-poppler-qt5-v21.3.0_GH0.tar.gz) =3D dbf3be9c812= 3429c8a73ebd4c18993331619198e88fa40dde99f48213fa75012
+SIZE (frescobaldi-python-poppler-qt5-v21.3.0_GH0.tar.gz) =3D 25641
diff --git a/graphics/py-python-poppler-qt5/py-python-poppler-qt5/pkg-descr= b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/pkg-descr
new file mode 100644
index 000000000000..de574d9d336a
--- /dev/null
+++ b/graphics/py-python-poppler-qt5/py-python-poppler-qt5/pkg-descr
@@ -0,0 +1,8 @@
+A Python binding for libpoppler-qt5 that aims for completeness
+and for being actively maintained.
+
+Created and currently maintained by Wilbert Berendsen <wbsoft@xs4all.nl>.
+
+Usage:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0import popplerqt5
+=C2=A0 =C2=A0 =C2=A0 =C2=A0d =3D popplerqt5.Poppler.Document.load('fil= e.pdf')

--0000000000009247180625d8e07e--