summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-23 17:27:00 -0500
committerTim Harder <radhermit@gentoo.org>2016-01-23 17:27:43 -0500
commitc07480a826d95865be9efdb79372d5227aef9dae (patch)
tree6ac59389172441dcf4a41f096a0e32a6dc626bb8 /dev-python/pychroot
parentsci-calculators/qalculate-gtk: Fix -Werror=format-security errors (diff)
downloadgentoo-c07480a826d95865be9efdb79372d5227aef9dae.tar.gz
gentoo-c07480a826d95865be9efdb79372d5227aef9dae.tar.bz2
gentoo-c07480a826d95865be9efdb79372d5227aef9dae.zip
dev-python/pychroot: simplify man pages build/install
Diffstat (limited to 'dev-python/pychroot')
-rw-r--r--dev-python/pychroot/pychroot-9999.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/pychroot/pychroot-9999.ebuild b/dev-python/pychroot/pychroot-9999.ebuild
index 86f99b936f5a..c35e8b948257 100644
--- a/dev-python/pychroot/pychroot-9999.ebuild
+++ b/dev-python/pychroot/pychroot-9999.ebuild
@@ -34,7 +34,7 @@ DEPEND="${RDEPEND}
[[ ${PV} == *9999 ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]"
python_compile_all() {
- [[ ${PV} == *9999 ]] && emake -C doc man
+ [[ ${PV} == *9999 ]] && esetup.py build_man
}
python_test() {
@@ -42,10 +42,7 @@ python_test() {
}
python_install_all() {
+ local DOCS=( NEWS.rst README.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
}