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 1655F138334 for ; Sun, 24 Mar 2019 19:11:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9B98E0A49; Sun, 24 Mar 2019 19:11:54 +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 C2F0EE0A49 for ; Sun, 24 Mar 2019 19:11:54 +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 5CE52335D2B for ; Sun, 24 Mar 2019 19:11:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C94D754B for ; Sun, 24 Mar 2019 19:11:51 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1553454572.9025a40e513081849a21fb651536a28706901745.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/fontforge/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/fontforge/fontforge-20190317.ebuild X-VCS-Directories: media-gfx/fontforge/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 9025a40e513081849a21fb651536a28706901745 X-VCS-Branch: master Date: Sun, 24 Mar 2019 19:11:51 +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: 14490e28-029a-4090-8fe8-63b05e62bc18 X-Archives-Hash: c20aa593cbf6479b5e359ed85884e2fd commit: 9025a40e513081849a21fb651536a28706901745 Author: Mike Gilbert gentoo org> AuthorDate: Sun Mar 24 19:09:32 2019 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun Mar 24 19:09:32 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9025a40e media-gfx/fontforge: use virtx to work around testing bug Bug: https://bugs.gentoo.org/681650 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87 Signed-off-by: Mike Gilbert gentoo.org> media-gfx/fontforge/fontforge-20190317.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/media-gfx/fontforge/fontforge-20190317.ebuild b/media-gfx/fontforge/fontforge-20190317.ebuild index ab6e6757668..3e2be07fecd 100644 --- a/media-gfx/fontforge/fontforge-20190317.ebuild +++ b/media-gfx/fontforge/fontforge-20190317.ebuild @@ -4,8 +4,9 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +VIRTUALX_REQUIRED="manual" -inherit python-single-r1 xdg +inherit python-single-r1 virtualx xdg DESCRIPTION="postscript font editor and converter" HOMEPAGE="http://fontforge.github.io/" @@ -56,6 +57,7 @@ DEPEND="${RDEPEND} BDEPEND=" sys-devel/gettext virtual/pkgconfig + test? ( gtk? ( ${VIRTUALX_DEPEND} ) ) " # Needs keywording on many arches. @@ -106,6 +108,14 @@ src_compile() { emake } +src_test() { + if use gtk; then + virtx emake check + else + emake check + fi +} + src_install() { default find "${ED}" -name '*.la' -type f -delete || die