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 5763D138334 for ; Sat, 18 May 2019 09:16:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36CE3E084A; Sat, 18 May 2019 09:16:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 19C6CE084A for ; Sat, 18 May 2019 09:16:39 +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 D3CA434460F for ; Sat, 18 May 2019 09:16:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 522B959E for ; Sat, 18 May 2019 09:16:36 +0000 (UTC) From: "William Breathitt Gray" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Breathitt Gray" Message-ID: <1558170870.4bb82cbe32939fb1f851f714d155ac6a55358543.vilhelm.gray@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-fps/chocolate-doom/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild X-VCS-Directories: games-fps/chocolate-doom/ X-VCS-Committer: vilhelm.gray X-VCS-Committer-Name: William Breathitt Gray X-VCS-Revision: 4bb82cbe32939fb1f851f714d155ac6a55358543 X-VCS-Branch: dev Date: Sat, 18 May 2019 09:16:36 +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: e00f6fdc-3726-480a-a3bd-41b5407b01b4 X-Archives-Hash: 994fe0f63b0ab72d28342cd5519d26cd commit: 4bb82cbe32939fb1f851f714d155ac6a55358543 Author: William Breathitt Gray gmail com> AuthorDate: Sat May 18 09:14:30 2019 +0000 Commit: William Breathitt Gray gmail com> CommitDate: Sat May 18 09:14:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4bb82cbe games-fps/chocolate-doom: Utilize python_gen_any_dep Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: William Breathitt Gray gmail.com> games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild index 06015a5..344b24b 100644 --- a/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild +++ b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild @@ -23,11 +23,11 @@ DEPEND=" libsamplerate? ( media-libs/libsamplerate ) png? ( media-libs/libpng:= )" RDEPEND="${DEPEND}" -BDEPEND=" - python? ( - ${PYTHON_DEPS} - dev-python/pillow - )" +BDEPEND="python? ( $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )" + +python_check_deps() { + has_version "dev-python/pillow[${PYTHON_USEDEP}]" +} src_configure() { econf \