mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
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>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user