From: David Seifert Date: Fri, 20 Mar 2020 09:56:28 +0000 (+0100) Subject: dev-python/jpype: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c54f344e00f2569d290c1fbbb89ed3400111cb85;p=gentoo.git dev-python/jpype: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- 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 }