dev-util/pkgcheck: simplify man page install
authorTim Harder <radhermit@gentoo.org>
Sat, 23 Jan 2016 18:59:28 +0000 (13:59 -0500)
committerTim Harder <radhermit@gentoo.org>
Sat, 23 Jan 2016 19:00:08 +0000 (14:00 -0500)
dev-util/pkgcheck/pkgcheck-9999.ebuild

index ab8aac7458bfacb778dcaa12defd6f58334fe097..d4bf9a3890b8eb55289ec898e6c7b03e0e4ef2d5 100644 (file)
@@ -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
 }