From nobody Fri Nov 1 12:07:24 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 4Xg03c6LNYz5b74b; Fri, 01 Nov 2024 12:07:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xg03c5Xybz4Bqg; Fri, 1 Nov 2024 12:07:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730462844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=10XbWyFmf+Ue9J/PNWkOARj5hF7lJdd7WF5Pz6XVVwY=; b=PQnRu8cfvpz0TfnCuWZqzWDWA5jQaRUGUfNKztKQYFq+X5qOxdQJae6cvlJC8qnX3zlVfz 5zNH/zoCdrkDVM3JDIdPTB+DgYwE1TquFeewkEzWXnglHFGtJ/hUiTRH/V/THg0kJlQOAE yAVJ3JNSHjvO+pdfJ2lp1zQcrUZcd4lt+VlFFTgtKH2ZWIEp86d4t/b2DxwzjDZyNUU9tK kiqbt57IVy1/HDJT6X/HRLXAaULgRuVCck0/z3XTt7ToKttX9yF0zUUFe9Tt4hQkRTEHx7 KdIDvAOBcCyfHz5U8bmie6RGN3EcqB+vFxkJ3yWEPP2SeIQr7kLBElYbxl05wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730462844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=10XbWyFmf+Ue9J/PNWkOARj5hF7lJdd7WF5Pz6XVVwY=; b=brbaYbGVF5RfbkRSxMIVxT39CoQ4hfRliQBneBNkw8lccMq9+f5kY9dOxnaAYCYZRc2D7x gI0wSsOiSl8zPXs5Y+JN1MdhoWqgLwVInPXkO5fKXyOHIZbP2Fa0a/DbGNjozo4CNMhnrA 5M/7kW6AoKZjns41PpOIA5810cOWohp7Xe/Eh+SDlDGxUXoM96UGZw5nAtVLuJsZ9XoN14 hT9kkUWqF8WE03jkpBrIMP2HX5gP+k4Du0ys8LjDIpAS+/Z6cCfFtDTvCX3tYy7m6H9axO QFiZlomA7ZApyXmo1yyJxJ/qiNHJvwiW0nFJQED26zavYWaX5gJX1Ume3kxSjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730462844; a=rsa-sha256; cv=none; b=LwXep26O4nsw6DwzDmHhXS4S5AVWAvAnpA/qmUsvNeed1GLQ/503BJAA99buszYDJjs0Qn jyTX00kBmYmPm+W1AfbpjkaXmg8mZVSc2Dl20P0FMNvdSF4l1eSHzBOyZBx8ZxYL+MiozJ GOVA/kc1o30oyau26VUUFO8Z+JMViTRvNFRAjcCYP84BarhjdMQxI46GBjeqyiBd7ZSgQb IuQeHNlktqwJqxTMVuRp9yJja7MqPtstPebdoybl7cr+fwCFDb0f12xeJ3L6TkJK8Azr5z +Bfo7T2j8jxYSyRD8wTE5TrHdGvleHHcVs+CH2YhP4Wat3metnkb0JTuCoi2fQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xg03c58L3zKf4; Fri, 1 Nov 2024 12:07:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A1C7OhX018701; Fri, 1 Nov 2024 12:07:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A1C7OL7018698; Fri, 1 Nov 2024 12:07:24 GMT (envelope-from git) Date: Fri, 1 Nov 2024 12:07:24 GMT Message-Id: <202411011207.4A1C7OL7018698@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: cc3975393535 - main - graphics/py-python-poppler-qt5: Fix build: Cannot import 'sipbuild.api' 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc3975393535d0563e4dfad9638409e2fa90941d Auto-Submitted: auto-generated 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' 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')