diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-04-23 22:52:24 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-04-23 22:52:34 +0200 |
commit | 99e9f122f37df36f4303679a589cef397e63332c (patch) | |
tree | 7a99131a7af75f161057fdba470e92fe3e3f7a9b /dev-perl/Gtk2-Notify | |
parent | net-misc/polly: Remove python@ from maintainers (diff) | |
download | gentoo-99e9f122f37df36f4303679a589cef397e63332c.tar.gz gentoo-99e9f122f37df36f4303679a589cef397e63332c.tar.bz2 gentoo-99e9f122f37df36f4303679a589cef397e63332c.zip |
dev-perl/Gtk2-Notify: EAPI bump, disable broken test
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Gtk2-Notify')
-rw-r--r-- | dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild | 36 | ||||
-rw-r--r-- | dev-perl/Gtk2-Notify/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 000000000000..bf2c56079921 --- /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 1e1ce9c094d3..8865c1f3f1f0 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_ |