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 997A11382C5 for ; Sat, 12 Jun 2021 05:47:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7FD0E0817; Sat, 12 Jun 2021 05:47:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 82AE2E0817 for ; Sat, 12 Jun 2021 05:47:27 +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 62DC83407E0 for ; Sat, 12 Jun 2021 05:47:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F24D6796 for ; Sat, 12 Jun 2021 05:47:24 +0000 (UTC) From: "Sam James" 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" Message-ID: <1623476826.f7603f093ba039f10009ec1142a7a31fee523a36.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-9999.ebuild X-VCS-Directories: x11-misc/picom/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f7603f093ba039f10009ec1142a7a31fee523a36 X-VCS-Branch: master Date: Sat, 12 Jun 2021 05:47:24 +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: 829326ab-da2e-4e4d-821d-e811c611a761 X-Archives-Hash: 13f856abf3ac2308c61d012ff0839a9b commit: f7603f093ba039f10009ec1142a7a31fee523a36 Author: Sam James gentoo org> AuthorDate: Sat Jun 12 05:47:06 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jun 12 05:47:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7603f09 x11-misc/picom: sync live ebuild, fix tests Closes: https://bugs.gentoo.org/795489 Signed-off-by: Sam James gentoo.org> x11-misc/picom/picom-9999.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-9999.ebuild index c4a78a4bda5..a088bc75f1b 100644 --- a/x11-misc/picom/picom-9999.ebuild +++ b/x11-misc/picom/picom-9999.ebuild @@ -3,7 +3,8 @@ EAPI=7 -inherit git-r3 meson xdg +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit git-r3 python-any-r1 meson virtualx xdg DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" HOMEPAGE="https://github.com/yshui/picom" @@ -11,8 +12,8 @@ EGIT_REPO_URI="https://github.com/yshui/picom.git" LICENSE="MPL-2.0 MIT" SLOT="0" -KEYWORDS="" -IUSE="+config-file dbus +doc +drm opengl pcre" +IUSE="+config-file dbus +doc +drm opengl pcre test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/libev dev-libs/uthash @@ -33,7 +34,9 @@ RDEPEND="dev-libs/libev DEPEND="${RDEPEND} x11-base/xorg-proto" BDEPEND="virtual/pkgconfig - doc? ( app-text/asciidoc )" + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" DOCS=( README.md picom.sample.conf ) @@ -56,3 +59,7 @@ src_configure() { meson_src_configure } + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +}