From 3497e99e2aa00cfb43454b636162162967c82daa Mon Sep 17 00:00:00 2001
From: Wim Muskee <wimmuskee@gmail.com>
Date: Fri, 16 Dec 2016 20:49:17 +0100
Subject: dev-python/paramiko: install examples in the right place.

Gentoo-Bug: https://bugs.gentoo.org/595088

Closes: https://github.com/gentoo/gentoo/pull/3135
---
 dev-python/paramiko/paramiko-2.0.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'dev-python/paramiko')

diff --git a/dev-python/paramiko/paramiko-2.0.2.ebuild b/dev-python/paramiko/paramiko-2.0.2.ebuild
index 6a5d2e62f679..c0d0a40c11e1 100644
--- a/dev-python/paramiko/paramiko-2.0.2.ebuild
+++ b/dev-python/paramiko/paramiko-2.0.2.ebuild
@@ -33,7 +33,11 @@ python_test() {
 
 python_install_all() {
 	use doc && local HTML_DOCS=( docs/. )
-	use examples && local EXAMPLES=( demos/. )
 
 	distutils-r1_python_install_all
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins demos/*
+	fi
 }
-- 
cgit v1.2.3-65-gdbad