diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-02 14:35:26 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-02 14:42:11 +0200 |
commit | 5f1e664462099a7e1530c0dde5db1bb640ca2254 (patch) | |
tree | f80dcd0d223564442bd9742bde158b9bdcebe177 /dev-python/PyPDF2 | |
parent | dev-embedded/ponyprog: call udev_reload in 3.1.3 (diff) | |
download | gentoo-5f1e664462099a7e1530c0dde5db1bb640ca2254.tar.gz gentoo-5f1e664462099a7e1530c0dde5db1bb640ca2254.tar.bz2 gentoo-5f1e664462099a7e1530c0dde5db1bb640ca2254.zip |
dev-python/PyPDF2: Expect sample files only with USE=test
Closes: https://bugs.gentoo.org/842147
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyPDF2')
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.11.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
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() { |