dev-perl/Gtk2-Notify: EAPI bump, disable broken test
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 23 Apr 2017 20:52:24 +0000 (22:52 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 23 Apr 2017 20:52:34 +0000 (22:52 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild [new file with mode: 0644]
dev-perl/Gtk2-Notify/files/Gtk2-Notify-0.05-libnotify.patch

diff --git a/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild b/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild
new file mode 100644 (file)
index 0000000..bf2c560
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=FLORA
+DIST_VERSION=0.05
+inherit perl-module virtualx
+
+DESCRIPTION="A perl interface to the notification library"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-perl/glib-perl
+       dev-perl/Gtk2
+       >=x11-libs/libnotify-0.7
+"
+DEPEND="${RDEPEND}
+       dev-perl/ExtUtils-Depends
+       dev-perl/ExtUtils-PkgConfig
+       test? ( dev-perl/Test-Exception )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.05-libnotify.patch )
+
+PERL_RM_FILES=( t/notification.t )
+# the test dies if no notification daemon is present...
+
+src_test() {
+       # bug 416729
+       virtx perl-module_src_test
+}
index 1e1ce9c094d3165043b0b6507f64929fc7ffdfe7..8865c1f3f1f0f1b770cae23e296f54c03bf717af 100644 (file)
@@ -2,8 +2,8 @@ http://bugs.gentoo.org/398699
 http://rt.cpan.org/Public/Bug/Display.html?id=67297
 http://pkgs.fedoraproject.org/gitweb/?p=perl-Gtk2-Notify.git;a=blob_plain;f=libnotify.patch;hb=HEAD
 
---- t/notification.t
-+++ t/notification.t
+--- a/t/notification.t
++++ b/t/notification.t
 @@ -2,20 +2,18 @@
  
  use strict;
@@ -53,8 +53,8 @@ http://pkgs.fedoraproject.org/gitweb/?p=perl-Gtk2-Notify.git;a=blob_plain;f=libn
  lives_ok(sub {
          $n->show;
  }, 'show');
---- xs/Notify.xs
-+++ xs/Notify.xs
+--- a/xs/Notify.xs
++++ b/xs/Notify.xs
 @@ -86,26 +86,12 @@ notify_get_server_info (class, OUTLIST c
  MODULE = Gtk2::Notify PACKAGE = Gtk2::Notify  PREFIX = notify_notification_