commit: 094273fc0ec38dcb292a767169dcd265da9d5142 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat May 14 06:14:03 2016 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat May 14 07:19:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094273fc
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 7965e91..e8de5ad 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