From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4CAA81388C1 for ; Thu, 26 Nov 2015 10:52:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48FA721C118; Thu, 26 Nov 2015 10:52:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EC5F21C117 for ; Thu, 26 Nov 2015 10:52:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9489E340766 for ; Thu, 26 Nov 2015 10:51:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 941D0F50 for ; Thu, 26 Nov 2015 10:51:56 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1448535045.d8c462d8f4be7524de1681cafd539ea3f691e9f4.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-logs/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild X-VCS-Directories: gnome-extra/gnome-logs/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: d8c462d8f4be7524de1681cafd539ea3f691e9f4 X-VCS-Branch: master Date: Thu, 26 Nov 2015 10:51:56 +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: ab329b7f-647c-4217-849d-548a2836d648 X-Archives-Hash: f576ad2de4ef0c38fe954f36d183bf92 commit: d8c462d8f4be7524de1681cafd539ea3f691e9f4 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Wed Nov 25 16:24:05 2015 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Thu Nov 26 10:50:45 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c462d8 gnome-extra/gnome-logs: add support for running unittests Package-Manager: portage-2.2.25 gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild b/gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild index 6280bf0..d2907a8 100644 --- a/gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild +++ b/gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild @@ -4,8 +4,9 @@ EAPI="5" GCONF_DEBUG="no" +PYTHON_COMPAT=( python2_7 ) -inherit gnome2 +inherit gnome2 python-any-r1 virtualx DESCRIPTION="Log messages and event viewer" HOMEPAGE="https://wiki.gnome.org/Apps/Logs" @@ -13,7 +14,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Logs" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="test" RDEPEND=" >=dev-libs/glib-2.43.90:2 @@ -27,4 +28,17 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.50 dev-util/itstool virtual/pkgconfig + test? ( dev-util/dogtail ) " + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + gnome2_src_configure $(use_enable test tests) +} + +src_test() { + Xemake check +}