From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1129307-garchives=archives.gentoo.org@lists.gentoo.org> 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 8E6E6138334 for <garchives@archives.gentoo.org>; Tue, 10 Dec 2019 05:11:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0028E0897; Tue, 10 Dec 2019 05:11:35 +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 B6F25E0897 for <gentoo-commits@lists.gentoo.org>; Tue, 10 Dec 2019 05:11:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7721234D8E6 for <gentoo-commits@lists.gentoo.org>; Tue, 10 Dec 2019 05:11:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FABD8D6 for <gentoo-commits@lists.gentoo.org>; Tue, 10 Dec 2019 05:11:32 +0000 (UTC) From: "Tim Harder" <radhermit@gentoo.org> 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" <radhermit@gentoo.org> Message-ID: <1575954577.4df7a8ab38c5fea08a7ba894f492d64bc4ee969f.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcore/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pkgcore/pkgcore-9999.ebuild X-VCS-Directories: sys-apps/pkgcore/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 4df7a8ab38c5fea08a7ba894f492d64bc4ee969f X-VCS-Branch: master Date: Tue, 10 Dec 2019 05:11:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d17dc6c1-4ad3-4a9f-abc5-225b01aec5ef X-Archives-Hash: 2a64502c5860ecf9de9209bd92f60912 commit: 4df7a8ab38c5fea08a7ba894f492d64bc4ee969f Author: Tim Harder <radhermit <AT> gentoo <DOT> org> AuthorDate: Tue Dec 10 05:09:37 2019 +0000 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> CommitDate: Tue Dec 10 05:09:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df7a8ab sys-apps/pkgcore: drop doc use flag and simplify installing man pages Man pages are only installed for releases now, if you need them use the latest release. Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> sys-apps/pkgcore/pkgcore-9999.ebuild | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index 48263e63a06..09021519bb7 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore" LICENSE="BSD MIT" SLOT="0" -IUSE="doc test" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" @@ -30,37 +30,15 @@ else fi DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( $(python_gen_any_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') ) - !doc? ( - $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') - ) test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " -python_check_deps() { - has_version "dev-python/setuptools[${PYTHON_USEDEP}]" || return 1 - if use doc; then - has_version "dev-python/docutils[${PYTHON_USEDEP}]" && - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" - fi -} - -python_compile_all() { - use doc && esetup.py build_docs -} - python_test() { esetup.py test } python_install_all() { local DOCS=( AUTHORS NEWS.rst ) - esetup.py install_docs \ - --docdir="${ED%/}/usr/share/doc/${PF}" \ - --mandir="${ED%/}/usr/share/man" + [[ ${PV} == *9999 ]] || doman man/* distutils-r1_python_install_all }