diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:56:19 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:56:19 +0100 |
commit | c317f2a63d8c90379e7568b780d686cac208ed48 (patch) | |
tree | 7df5d19cc5ed19a7edca308091fe6678d154ddce /dev-python/hglib/hglib-2.1.ebuild | |
parent | dev-python/flask-peewee: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-c317f2a63d8c90379e7568b780d686cac208ed48.tar.gz gentoo-c317f2a63d8c90379e7568b780d686cac208ed48.tar.bz2 gentoo-c317f2a63d8c90379e7568b780d686cac208ed48.zip |
dev-python/hglib: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/hglib/hglib-2.1.ebuild')
-rw-r--r-- | dev-python/hglib/hglib-2.1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |