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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F91A158094 for ; Tue, 26 Jul 2022 13:32:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95258E0992; Tue, 26 Jul 2022 13:32:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71D88E0992 for ; Tue, 26 Jul 2022 13:32:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43D3F340821 for ; Tue, 26 Jul 2022 13:32:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70D7C448 for ; Tue, 26 Jul 2022 13:32:49 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1658842354.3ff912067dd187a2b078b423930e614b010987a3.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stapler/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/stapler/stapler-1.0.0_p20220330.ebuild X-VCS-Directories: dev-python/stapler/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 3ff912067dd187a2b078b423930e614b010987a3 X-VCS-Branch: master Date: Tue, 26 Jul 2022 13:32:49 +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: 9d5d940b-f698-480b-918a-1e1174f29859 X-Archives-Hash: 2dd095aedffecc4c968c101a20971a34 commit: 3ff912067dd187a2b078b423930e614b010987a3 Author: Ben Kohler gentoo org> AuthorDate: Tue Jul 26 13:17:13 2022 +0000 Commit: Ben Kohler gentoo org> CommitDate: Tue Jul 26 13:32:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff91206 dev-python/stapler: fix PyPDF2 import for tests Closes: https://bugs.gentoo.org/861128 Signed-off-by: Ben Kohler gentoo.org> dev-python/stapler/stapler-1.0.0_p20220330.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-python/stapler/stapler-1.0.0_p20220330.ebuild b/dev-python/stapler/stapler-1.0.0_p20220330.ebuild index bcfda6105f88..4f7a695bcf35 100644 --- a/dev-python/stapler/stapler-1.0.0_p20220330.ebuild +++ b/dev-python/stapler/stapler-1.0.0_p20220330.ebuild @@ -23,3 +23,8 @@ DEPEND="test? ( dev-python/PyPDF2[${PYTHON_USEDEP}] )" RDEPEND="dev-python/PyPDF2[${PYTHON_USEDEP}]" distutils_enable_tests unittest + +src_prepare() { + default + sed -i -e 's/^from PyPDF2.pdf/from PyPDF2/' staplelib/tests.py || die +}