From c54f344e00f2569d290c1fbbb89ed3400111cb85 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:56:28 +0100 Subject: [PATCH] dev-python/jpype: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/jpype/jpype-0.6.2.ebuild | 6 +++++- dev-python/jpype/jpype-0.6.3.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-python/jpype/jpype-0.6.2.ebuild b/dev-python/jpype/jpype-0.6.2.ebuild index fda8e06d3cac..11d20268eeb9 100644 --- a/dev-python/jpype/jpype-0.6.2.ebuild +++ b/dev-python/jpype/jpype-0.6.2.ebuild @@ -26,6 +26,10 @@ PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) python_install() { use doc && local DOCS=( doc/* ) - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install } diff --git a/dev-python/jpype/jpype-0.6.3.ebuild b/dev-python/jpype/jpype-0.6.3.ebuild index 82ec219eac24..f2ea32b2540f 100644 --- a/dev-python/jpype/jpype-0.6.3.ebuild +++ b/dev-python/jpype/jpype-0.6.3.ebuild @@ -26,6 +26,10 @@ DEPEND=" python_install() { use doc && local DOCS=( doc/* ) - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install } -- 2.26.2