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 0094F138334 for ; Mon, 12 Nov 2018 23:00:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60FC5E09F1; Mon, 12 Nov 2018 23:00:44 +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 345FDE09F1 for ; Mon, 12 Nov 2018 23:00:44 +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 669E6335D1E for ; Mon, 12 Nov 2018 23:00:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDEAA469 for ; Mon, 12 Nov 2018 23:00:40 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1542063627.c4f0ac180ab68aacd7b0e20e2802bacce1e72c6e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/stellarium/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-astronomy/stellarium/stellarium-0.18.2.ebuild X-VCS-Directories: sci-astronomy/stellarium/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c4f0ac180ab68aacd7b0e20e2802bacce1e72c6e X-VCS-Branch: master Date: Mon, 12 Nov 2018 23:00:40 +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-Archives-Salt: 761c99c0-dea9-4c8e-bf6a-cfde9b2f0fd6 X-Archives-Hash: 8e8bcd39ffc9c19489937a77d701d733 commit: c4f0ac180ab68aacd7b0e20e2802bacce1e72c6e Author: Alexey Sokolov google com> AuthorDate: Fri Nov 9 00:32:43 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Nov 12 23:00:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f0ac18 sci-astronomy/stellarium: enable test Signed-off-by: Alexey Sokolov google.com> Signed-off-by: Andreas Sturmlechner gentoo.org> sci-astronomy/stellarium/stellarium-0.18.2.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/sci-astronomy/stellarium/stellarium-0.18.2.ebuild b/sci-astronomy/stellarium/stellarium-0.18.2.ebuild index 5e6e6cc48c8..25ffaeb162c 100644 --- a/sci-astronomy/stellarium/stellarium-0.18.2.ebuild +++ b/sci-astronomy/stellarium/stellarium-0.18.2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils desktop flag-o-matic gnome2-utils +inherit cmake-utils desktop flag-o-matic gnome2-utils virtualx DESCRIPTION="3D photo-realistic skies in real time" HOMEPAGE="http://www.stellarium.org/" @@ -22,9 +22,7 @@ PATCHES=( "${FILESDIR}"/${P}.patch ) LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug gps media nls stars" - -RESTRICT="test" # There are no tests +IUSE="debug gps media nls stars test" RDEPEND=" dev-qt/qtcore:5 @@ -43,8 +41,9 @@ RDEPEND=" " DEPEND="${RDEPEND} dev-qt/qtconcurrent:5 - dev-qt/qttest:5 - nls? ( dev-qt/linguist-tools:5 )" + nls? ( dev-qt/linguist-tools:5 ) + test? ( dev-qt/qttest:5 ) +" LANGS=( af am ar as ast az be bg bn bo br bs ca cs @@ -82,10 +81,15 @@ src_configure() { -DENABLE_GPS="$(usex gps)" -DENABLE_NLS="$(usex nls)" -DENABLE_MEDIA="$(usex media)" + -DENABLE_TESTING="$(usex test)" ) cmake-utils_src_configure } +src_test() { + virtx cmake-utils_src_test +} + src_install() { cmake-utils_src_install