mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
media-gfx/img2pdf: add missing die to 0.4.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user