From 0d9e1525d91570c8b1ae91c5860e24a774fedc60 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Mon, 9 Dec 2019 22:02:33 -0700 Subject: dev-python/pychroot: simplify installing man pages Drop man page build for live ebuilds, if you need man pages use releases. Closes: https://bugs.gentoo.org/702398 Signed-off-by: Tim Harder --- dev-python/pychroot/pychroot-0.10.1.ebuild | 12 +----------- dev-python/pychroot/pychroot-9999.ebuild | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/dev-python/pychroot/pychroot-0.10.1.ebuild b/dev-python/pychroot/pychroot-0.10.1.ebuild index eaad97eb08ab..218709a73ba5 100644 --- a/dev-python/pychroot/pychroot-0.10.1.ebuild +++ b/dev-python/pychroot/pychroot-0.10.1.ebuild @@ -32,16 +32,6 @@ BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " -[[ ${PV} == *9999 ]] && BDEPEND+=" $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')" - -python_check_deps() { - [[ ${PV} == *9999 ]] || return 0 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -python_compile_all() { - esetup.py build_man -} python_test() { esetup.py test @@ -49,6 +39,6 @@ python_test() { python_install_all() { local DOCS=( NEWS.rst README.rst ) - esetup.py install_man --mandir="${ED}/usr/share/man" + [[ ${PV} == *9999 ]] || doman man/* distutils-r1_python_install_all } diff --git a/dev-python/pychroot/pychroot-9999.ebuild b/dev-python/pychroot/pychroot-9999.ebuild index eaad97eb08ab..218709a73ba5 100644 --- a/dev-python/pychroot/pychroot-9999.ebuild +++ b/dev-python/pychroot/pychroot-9999.ebuild @@ -32,16 +32,6 @@ BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " -[[ ${PV} == *9999 ]] && BDEPEND+=" $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')" - -python_check_deps() { - [[ ${PV} == *9999 ]] || return 0 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -python_compile_all() { - esetup.py build_man -} python_test() { esetup.py test @@ -49,6 +39,6 @@ python_test() { python_install_all() { local DOCS=( NEWS.rst README.rst ) - esetup.py install_man --mandir="${ED}/usr/share/man" + [[ ${PV} == *9999 ]] || doman man/* distutils-r1_python_install_all } -- cgit v1.2.3-65-gdbad