summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/tornado')
-rw-r--r--www-servers/tornado/tornado-4.4.2-r1.ebuild (renamed from www-servers/tornado/tornado-4.4.2.ebuild)7
1 files 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
index ae21f0cbb401..8a76a30ee702 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
}