dev-python/urwid: add missing die.

Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
Patrice Clement
2017-07-15 23:10:03 +02:00
parent e753e991e4
commit 8c05eb3533

View File

@@ -23,16 +23,16 @@ DEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.0-sphinx.patch
"${FILESDIR}"/urwid-1.3.1-test-vterm-EINTR.patch
"${FILESDIR}/${PN}-1.1.0-sphinx.patch"
"${FILESDIR}/${PN}-1.3.1-test-vterm-EINTR.patch"
)
python_compile_all() {
if use doc ; then
if use doc; then
if python_is_python3; then
2to3 -nw --no-diffs docs/conf.py || die
fi
cd docs
cd docs || die
sphinx-build . _build/html || die
fi
}