diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-05-14 08:14:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-05-14 09:19:57 +0200 |
commit | 094273fc0ec38dcb292a767169dcd265da9d5142 (patch) | |
tree | 57e18342c0b2d0dfec314eb4ccfdc9105d42ff92 /eclass/distutils-r1.eclass | |
parent | dev-ruby/ttfunk: add ruby23 (diff) | |
download | gentoo-094273fc0ec38dcb292a767169dcd265da9d5142.tar.gz gentoo-094273fc0ec38dcb292a767169dcd265da9d5142.tar.bz2 gentoo-094273fc0ec38dcb292a767169dcd265da9d5142.zip |
distutils-r1.eclass: Do not rely on INSDESTTREE, #173630
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 10 |
1 files 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 |