app-text/landslide: Replace distutils-r1 EXAMPLES use
authorDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:55:49 +0000 (10:55 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:55:49 +0000 (10:55 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
app-text/landslide/landslide-1.1.3.ebuild

index 8f2cfe02f2b658ee82b9adad58ecb41979e7344c..d611bf5b0a04e708c4e76b995fc33b05af2f4fa2 100644 (file)
@@ -26,6 +26,10 @@ RDEPEND="
        "
 
 python_install_all() {
-       use examples && EXAMPLES=( examples/. )
+       if use examples; then
+               dodoc -r examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+
        distutils-r1_python_install_all
 }