commit:     99e9f122f37df36f4303679a589cef397e63332c
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 20:52:24 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 20:52:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e9f122

dev-perl/Gtk2-Notify: EAPI bump, disable broken test

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild     | 36 ++++++++++++++++++++++
 .../files/Gtk2-Notify-0.05-libnotify.patch         |  8 ++---
 2 files changed, 40 insertions(+), 4 deletions(-)

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
index 00000000000..bf2c5607992
--- /dev/null
+++ b/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild
@@ -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
+}

diff --git a/dev-perl/Gtk2-Notify/files/Gtk2-Notify-0.05-libnotify.patch 
b/dev-perl/Gtk2-Notify/files/Gtk2-Notify-0.05-libnotify.patch
index 1e1ce9c094d..8865c1f3f1f 100644
--- a/dev-perl/Gtk2-Notify/files/Gtk2-Notify-0.05-libnotify.patch
+++ b/dev-perl/Gtk2-Notify/files/Gtk2-Notify-0.05-libnotify.patch
@@ -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_
  

Reply via email to