diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-25 17:24:05 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-26 11:50:45 +0100 |
commit | d8c462d8f4be7524de1681cafd539ea3f691e9f4 (patch) | |
tree | 929042e4e722c636941412a265a7eafe51e7a808 | |
parent | gnome-base/nautilus: stop selinux from being automagic (diff) | |
download | gentoo-d8c462d8.tar.gz gentoo-d8c462d8.tar.bz2 gentoo-d8c462d8.zip |
gnome-extra/gnome-logs: add support for running unittests
Package-Manager: portage-2.2.25
-rw-r--r-- | gnome-extra/gnome-logs/gnome-logs-3.18.1.ebuild | 18 |
1 files 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 6280bf02d691..d2907a8777f5 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 +} |