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 F2166138335 for ; Wed, 20 Nov 2019 13:00:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33D32E086F; Wed, 20 Nov 2019 13:00:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1B22FE086F for ; Wed, 20 Nov 2019 13:00:52 +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 ECF7E34D11F for ; Wed, 20 Nov 2019 13:00:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71FCC8B9 for ; Wed, 20 Nov 2019 13:00:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1574254844.7bd5f7e64b50b7b6e5b0f20b6fc176b2e6beed37.mgorny@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: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7bd5f7e64b50b7b6e5b0f20b6fc176b2e6beed37 X-VCS-Branch: master Date: Wed, 20 Nov 2019 13:00:49 +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: d1a3f519-1dc7-4a60-82a2-517d88d30f9e X-Archives-Hash: 8876abc59cf85f1b4aa3f1ffb33cc135 commit: 7bd5f7e64b50b7b6e5b0f20b6fc176b2e6beed37 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 20 12:57:14 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 20 13:00:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd5f7e6 sys-apps/pkgcore: Enable py3.8 Signed-off-by: Michał Górny gentoo.org> sys-apps/pkgcore/pkgcore-9999.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index 670df92a2cf..f4d238d1646 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit distutils-r1 @@ -30,10 +30,15 @@ else fi DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " +python_check_deps() { + use doc || return 0 + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + python_compile_all() { local esetup_args=( $(usex doc "--enable-html-docs" "") ) # only build man pages for live ebuilds if doc USE flag is enabled