media-gfx/img2pdf: add missing die to 0.4.0

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2021-01-28 08:42:25 +02:00
parent 4c50583af1
commit c333500a4c
+6 -2
View File
@@ -37,8 +37,12 @@ RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}]
distutils_enable_tests pytest
src_prepare() {
default
use !gui && sed -i '/gui_scripts/d' setup.py
distutils-r1_python_prepare_all
# Remove gui executable if there's no demand/support for it.
if ! use gui; then
sed -i '/gui_scripts/d' setup.py || die
fi
}
python_test() {