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 33F51158090 for ; Mon, 2 May 2022 12:42:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74B34E0A85; Mon, 2 May 2022 12:42:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 54F72E0A6F for ; Mon, 2 May 2022 12:42:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2C87834158E for ; Mon, 2 May 2022 12:42:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60A19105 for ; Mon, 2 May 2022 12:42:16 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1651495331.5f1e664462099a7e1530c0dde5db1bb640ca2254.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyPDF2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyPDF2/PyPDF2-1.27.11.ebuild X-VCS-Directories: dev-python/PyPDF2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5f1e664462099a7e1530c0dde5db1bb640ca2254 X-VCS-Branch: master Date: Mon, 2 May 2022 12:42:16 +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: 5dda5c54-1161-46d2-93c2-62a943696b55 X-Archives-Hash: d5415507f9df9f683b667e50cda29025 commit: 5f1e664462099a7e1530c0dde5db1bb640ca2254 Author: Michał Górny gentoo org> AuthorDate: Mon May 2 12:35:26 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 2 12:42:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f1e6644 dev-python/PyPDF2: Expect sample files only with USE=test Closes: https://bugs.gentoo.org/842147 Signed-off-by: Michał Górny gentoo.org> dev-python/PyPDF2/PyPDF2-1.27.11.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/PyPDF2/PyPDF2-1.27.11.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.11.ebuild index 141d383a80eb..0314e035bd9b 100644 --- a/dev-python/PyPDF2/PyPDF2-1.27.11.ebuild +++ b/dev-python/PyPDF2/PyPDF2-1.27.11.ebuild @@ -36,7 +36,9 @@ distutils_enable_tests pytest src_unpack() { default - mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die + fi } src_install() {