diff options
author | Alexander Kurakin <kuraga333@mail.ru> | 2022-06-03 18:14:17 +0300 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-06-08 09:27:42 +0200 |
commit | c0fb0f79c87216d5af70d632d9d6612db11b3de5 (patch) | |
tree | ca283f603ba2eb6501feed0caaa52b5d505d93b2 /mail-client | |
parent | mail-client/clawsker: Taking over maintenance (diff) | |
download | gentoo-c0fb0f79c87216d5af70d632d9d6612db11b3de5.tar.gz gentoo-c0fb0f79c87216d5af70d632d9d6612db11b3de5.tar.bz2 gentoo-c0fb0f79c87216d5af70d632d9d6612db11b3de5.zip |
mail-client/clawsker-1.3.5: remove failed test
Remove `get_screen_height` test as it requires absent
Test::NeedsDisplay Perl package
Closes: https://bugs.gentoo.org/841707
Signed-off-by: Alexander Kurakin <kuraga333@mail.ru>
Closes: https://github.com/gentoo/gentoo/pull/25741
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/clawsker/clawsker-1.3.5.ebuild | 5 | ||||
-rw-r--r-- | mail-client/clawsker/files/clawsker-remove-get_screen_height-test.patch | 23 |
2 files changed, 28 insertions, 0 deletions
diff --git a/mail-client/clawsker/clawsker-1.3.5.ebuild b/mail-client/clawsker/clawsker-1.3.5.ebuild index 0e015938e1ed..c1de50a794d3 100644 --- a/mail-client/clawsker/clawsker-1.3.5.ebuild +++ b/mail-client/clawsker/clawsker-1.3.5.ebuild @@ -24,6 +24,11 @@ RDEPEND=" " BDEPEND="test? ( dev-perl/Test-Exception )" +PATCHES=( + # TODO: add Test::NeedsDisplay Perl package and remove this patch (bug #841707) + "${FILESDIR}/${PN}-remove-get_screen_height-test.patch" +) + src_install() { emake install DESTDIR="${D}" PREFIX=/usr } diff --git a/mail-client/clawsker/files/clawsker-remove-get_screen_height-test.patch b/mail-client/clawsker/files/clawsker-remove-get_screen_height-test.patch new file mode 100644 index 000000000000..137699cdeb02 --- /dev/null +++ b/mail-client/clawsker/files/clawsker-remove-get_screen_height-test.patch @@ -0,0 +1,23 @@ +deleted file mode 100644 +--- a/t/get_screen_height.t ++++ /dev/null +@@ -1,19 +0,0 @@ +-use 5.010_000; +-use strict; +-use utf8; +-use Test::NeedsDisplay; +-use Test::More tests => 3; +-use Gtk3; +- +-require_ok ('Clawsker'); +- +-use Clawsker; +- +-Gtk3->init; +- +-ok ( defined &Clawsker::get_screen_height, 'has function' ); +- +-my $height = Clawsker::get_screen_height(); +- +-ok ( $height > 0, "has $height pixels" ); +- |