From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7136C138334 for ; Tue, 10 Dec 2019 05:05:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB9D9E093B; Tue, 10 Dec 2019 05:05:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 912EAE093B for ; Tue, 10 Dec 2019 05:05:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4317A34D8CB for ; Tue, 10 Dec 2019 05:05:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49E398A7 for ; Tue, 10 Dec 2019 05:05:40 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1575954287.0d9e1525d91570c8b1ae91c5860e24a774fedc60.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pychroot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pychroot/pychroot-0.10.1.ebuild dev-python/pychroot/pychroot-9999.ebuild X-VCS-Directories: dev-python/pychroot/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 0d9e1525d91570c8b1ae91c5860e24a774fedc60 X-VCS-Branch: master Date: Tue, 10 Dec 2019 05:05:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9b991891-9450-4364-9929-967672ab5937 X-Archives-Hash: 736fdfc9481cd64151d1c7d184b68217 commit: 0d9e1525d91570c8b1ae91c5860e24a774fedc60 Author: Tim Harder gentoo org> AuthorDate: Tue Dec 10 05:02:33 2019 +0000 Commit: Tim Harder gentoo org> CommitDate: Tue Dec 10 05:04:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9e1525 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 gentoo.org> 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 eaad97eb08a..218709a73ba 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 eaad97eb08a..218709a73ba 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 }