From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1291329-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 401A51382C5 for <garchives@archives.gentoo.org>; Mon, 7 Jun 2021 16:44:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 744FAE08A0; Mon, 7 Jun 2021 16:44:26 +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 5F17BE08A0 for <gentoo-commits@lists.gentoo.org>; Mon, 7 Jun 2021 16:44:26 +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 BCCDB340DCF for <gentoo-commits@lists.gentoo.org>; Mon, 7 Jun 2021 16:44:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BBD579D for <gentoo-commits@lists.gentoo.org>; Mon, 7 Jun 2021 16:44:23 +0000 (UTC) From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org> Message-ID: <1623084254.d6eba06a367ef5d8d2ac6787caad768fa2b713a6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/picom/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/picom/picom-8-r1.ebuild x11-misc/picom/picom-8.2-r2.ebuild x11-misc/picom/picom-9999.ebuild X-VCS-Directories: x11-misc/picom/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d6eba06a367ef5d8d2ac6787caad768fa2b713a6 X-VCS-Branch: master Date: Mon, 7 Jun 2021 16:44:23 +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: 99a48d33-44c8-4aa9-b5fa-42bcc30eae3e X-Archives-Hash: f830459a7e19915bec39344cbfcaac60 commit: d6eba06a367ef5d8d2ac6787caad768fa2b713a6 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 7 16:43:56 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jun 7 16:44:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6eba06a x11-misc/picom: only require Python for tests Closes: https://bugs.gentoo.org/794808 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-misc/picom/picom-8-r1.ebuild | 8 ++++++++ x11-misc/picom/picom-8.2-r2.ebuild | 8 ++++++++ x11-misc/picom/picom-9999.ebuild | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/x11-misc/picom/picom-8-r1.ebuild b/x11-misc/picom/picom-8-r1.ebuild index ff42b3981ea..a266247cac0 100644 --- a/x11-misc/picom/picom-8-r1.ebuild +++ b/x11-misc/picom/picom-8-r1.ebuild @@ -42,6 +42,14 @@ BDEPEND="virtual/pkgconfig test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) " +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_configure() { local emesonargs=( $(meson_use config-file config_file) diff --git a/x11-misc/picom/picom-8.2-r2.ebuild b/x11-misc/picom/picom-8.2-r2.ebuild index b0f96899955..022f196ec4f 100644 --- a/x11-misc/picom/picom-8.2-r2.ebuild +++ b/x11-misc/picom/picom-8.2-r2.ebuild @@ -44,6 +44,14 @@ BDEPEND="virtual/pkgconfig DOCS=( README.md picom.sample.conf ) +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_configure() { local emesonargs=( $(meson_use config-file config_file) diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-9999.ebuild index ae0a2c9641a..c4a78a4bda5 100644 --- a/x11-misc/picom/picom-9999.ebuild +++ b/x11-misc/picom/picom-9999.ebuild @@ -37,6 +37,14 @@ BDEPEND="virtual/pkgconfig DOCS=( README.md picom.sample.conf ) +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_configure() { local emesonargs=( $(meson_use config-file config_file)