public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-logs/
@ 2015-11-26 10:51 99% Gilles Dartiguelongue
  0 siblings, 0 replies; 1+ results
From: Gilles Dartiguelongue @ 2015-11-26 10:51 UTC (permalink / raw
  To: gentoo-commits

commit:     d8c462d8f4be7524de1681cafd539ea3f691e9f4
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 16:24:05 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> 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
+}


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-26 10:51 99% [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-logs/ Gilles Dartiguelongue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox