From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2936513835A for ; Fri, 8 Jan 2021 00:00:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A51AE083B; Fri, 8 Jan 2021 00:00:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02C5EE083B for ; Fri, 8 Jan 2021 00:00:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1E0933BF55 for ; Fri, 8 Jan 2021 00:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2711491 for ; Fri, 8 Jan 2021 00:00:03 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1610063810.2400d07c2adbf5157abc7dde16892c4597d350e8.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-poppler-qt5/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild X-VCS-Directories: dev-python/python-poppler-qt5/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2400d07c2adbf5157abc7dde16892c4597d350e8 X-VCS-Branch: master Date: Fri, 8 Jan 2021 00:00:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dd8bf6ee-087f-49cc-b29c-377d8ec378ec X-Archives-Hash: 7505f6b7b903a88c6d3fe5f670382d0e commit: 2400d07c2adbf5157abc7dde16892c4597d350e8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jan 7 22:56:05 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jan 7 23:56:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2400d07c dev-python/python-poppler-qt5: Use qmake-utils Closes: https://bugs.gentoo.org/764065 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> .../python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild b/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild index 73a70b8349a..e737b69a306 100644 --- a/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild +++ b/dev-python/python-poppler-qt5/python-poppler-qt5-0.75.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9} ) -inherit distutils-r1 +inherit distutils-r1 qmake-utils DESCRIPTION="Python binding for libpoppler-qt5" HOMEPAGE="https://github.com/frescobaldi/python-poppler-qt5" @@ -21,3 +21,12 @@ RDEPEND=" >=dev-python/sip-4.19:=[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" + +python_compile() { + distutils-r1_python_compile build_ext --qmake-bin=$(qt5_get_bindir)/qmake +} + +python_install() { + export PATH=$(qt5_get_bindir):$PATH + distutils-r1_python_install +}