commit:     e0cff803c9c5e5fe3bf46e355f8f649f93ba2792
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 22 01:52:48 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 01:52:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0cff803

www-servers/tornado: Fix examples install, bug 595020

Package-Manager: portage-2.3.2

 .../tornado/{tornado-4.4.2.ebuild => tornado-4.4.2-r1.ebuild}      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/www-servers/tornado/tornado-4.4.2.ebuild 
b/www-servers/tornado/tornado-4.4.2-r1.ebuild
similarity index 92%
rename from www-servers/tornado/tornado-4.4.2.ebuild
rename to www-servers/tornado/tornado-4.4.2-r1.ebuild
index ae21f0c..8a76a30 100644
--- a/www-servers/tornado/tornado-4.4.2.ebuild
+++ b/www-servers/tornado/tornado-4.4.2-r1.ebuild
@@ -60,7 +60,10 @@ python_test() {
 
 python_install_all() {
        use doc && local HTML_DOCS=( docs/build/html/. )
-       use examples && local EXAMPLES=( demos/. )
-
+       if use examples; then
+               insinto /usr/share/doc/${PF}/examples
+               doins -r demos/.
+               docompress -x /usr/share/doc/${PF}/examples
+fi
        distutils-r1_python_install_all
 }

Reply via email to