commit:     f56c8d95ff9c443815e7041e8524e0e3e8c45b59
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 09:57:39 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 09:57:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56c8d95

dev-python/tpg: Replace distutils-r1 EXAMPLES use

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/tpg/tpg-3.2.2-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/tpg/tpg-3.2.2-r1.ebuild 
b/dev-python/tpg/tpg-3.2.2-r1.ebuild
index fb5a08994a0..584730d5ae3 100644
--- a/dev-python/tpg/tpg-3.2.2-r1.ebuild
+++ b/dev-python/tpg/tpg-3.2.2-r1.ebuild
@@ -26,6 +26,10 @@ python_test() {
 }
 
 python_install_all() {
-       use examples && local EXAMPLES=( examples/. )
+       if use examples; then
+               dodoc -r examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+
        distutils-r1_python_install_all
 }

Reply via email to