summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-23 13:59:28 -0500
committerTim Harder <radhermit@gentoo.org>2016-01-23 14:00:08 -0500
commit883e6c8159d786ba4dc0527b025c3874f2bbd85f (patch)
tree8ca00e31a79878fbc8269b6fa3375740ba0d3df5 /dev-util/pkgcheck
parentsys-kernel/gentoo-sources: Linux 4.1.16. Includes patch for CVE-2016-0728 (diff)
downloadgentoo-883e6c8159d786ba4dc0527b025c3874f2bbd85f.tar.gz
gentoo-883e6c8159d786ba4dc0527b025c3874f2bbd85f.tar.bz2
gentoo-883e6c8159d786ba4dc0527b025c3874f2bbd85f.zip
dev-util/pkgcheck: simplify man page install
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r--dev-util/pkgcheck/pkgcheck-9999.ebuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index ab8aac7458bf..d4bf9a3890b8 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
}