From 05998e18826b908e43b15ac9d9c56768a0f6350d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:56:13 +0100 Subject: [PATCH] dev-python/editobj: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/editobj/editobj-0.5.7-r2.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-python/editobj/editobj-0.5.7-r2.ebuild b/dev-python/editobj/editobj-0.5.7-r2.ebuild index 631be827e83b..aab2f6b390d6 100644 --- a/dev-python/editobj/editobj-0.5.7-r2.ebuild +++ b/dev-python/editobj/editobj-0.5.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -24,6 +24,11 @@ RDEPEND="" S="${WORKDIR}/${MY_P}" python_install_all() { - use examples && local EXAMPLES=( demo/. ) + if use examples; then + docinto examples + dodoc -r demo/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } -- 2.26.2