commit: 5f1e664462099a7e1530c0dde5db1bb640ca2254 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon May 2 12:35:26 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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() {
