From: David Seifert Date: Fri, 20 Mar 2020 09:56:19 +0000 (+0100) Subject: dev-python/hglib: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c317f2a63d8c90379e7568b780d686cac208ed48;p=gentoo.git dev-python/hglib: 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/hglib/hglib-2.1.ebuild b/dev-python/hglib/hglib-2.1.ebuild index bdcfa5b8738e..9a0b6110cc0d 100644 --- a/dev-python/hglib/hglib-2.1.ebuild +++ b/dev-python/hglib/hglib-2.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/p/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="examples test" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND=">=dev-vcs/mercurial-2.4.2" @@ -33,6 +33,9 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( examples/stats.py ) + docinto examples + dodoc -r examples/stats.py + docompress -x /usr/share/doc/${PF}/examples + distutils-r1_python_install_all }