summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-12-09 22:02:33 -0700
committerTim Harder <radhermit@gentoo.org>2019-12-09 22:04:47 -0700
commit0d9e1525d91570c8b1ae91c5860e24a774fedc60 (patch)
tree8921fafce44e25746cba09ad62dc4c9a81d439ec /dev-python/pychroot
parentapp-emulation/cadvisor: export -n GOCACHE (diff)
downloadgentoo-0d9e1525d91570c8b1ae91c5860e24a774fedc60.tar.gz
gentoo-0d9e1525d91570c8b1ae91c5860e24a774fedc60.tar.bz2
gentoo-0d9e1525d91570c8b1ae91c5860e24a774fedc60.zip
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 <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/pychroot')
-rw-r--r--dev-python/pychroot/pychroot-0.10.1.ebuild12
-rw-r--r--dev-python/pychroot/pychroot-9999.ebuild12
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
}