commit: 883e6c8159d786ba4dc0527b025c3874f2bbd85f
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 18:59:28 2016 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 19:00:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883e6c81
dev-util/pkgcheck: simplify man page install
dev-util/pkgcheck/pkgcheck-9999.ebuild | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild
b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index ab8aac7..d4bf9a3 100644
--- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
@@ -33,7 +33,7 @@ pkg_setup() {
}
python_compile_all() {
- [[ ${PV} == *9999 ]] && emake -C doc man
+ [[ ${PV} == *9999 ]] && esetup.py build_man
}
python_test() {
@@ -42,16 +42,10 @@ python_test() {
python_install_all() {
local DOCS=( AUTHORS NEWS.rst )
+ distutils-r1_python_install install_man
distutils-r1_python_install_all
-
- if [[ ${PV} == *9999 ]]; then
- emake -C doc PREFIX=/usr DESTDIR="${D}" install_man
- else
- doman man/*
- fi
}
pkg_postinst() {
- einfo "updating pkgcore plugin cache"
python_foreach_impl pplugincache pkgcheck.plugins
}