dev-python/urwid: add missing die.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 15 Jul 2017 21:10:03 +0000 (23:10 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 15 Jul 2017 21:42:03 +0000 (23:42 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-python/urwid/urwid-1.3.1.ebuild

index 71047820e1b736fbabad93ab4929e0e30027cca7..5ef27046c964bff90247f4776264bf4889c73f1f 100644 (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
 }