From 094273fc0ec38dcb292a767169dcd265da9d5142 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 14 May 2016 08:14:03 +0200 Subject: [PATCH] distutils-r1.eclass: Do not rely on INSDESTTREE, #173630 --- eclass/distutils-r1.eclass | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 7965e9106a49..e8de5ad6c4eb 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -588,9 +588,11 @@ distutils-r1_python_install_all() { if declare -p EXAMPLES &>/dev/null; then [[ ${EAPI} != [45] ]] && die "EXAMPLES are banned in EAPI ${EAPI}" - local INSDESTTREE=/usr/share/doc/${PF}/examples - doins -r "${EXAMPLES[@]}" - docompress -x "${INSDESTTREE}" + ( + docinto examples + dodoc -r "${EXAMPLES[@]}" + ) + docompress -x "/usr/share/doc/${PF}/examples" fi _DISTUTILS_DEFAULT_CALLED=1 -- 2.26.2