dev-perl/Image-Sane: Fix test failures re bug #635518
authorKent Fredric <kentnl@gentoo.org>
Thu, 26 Oct 2017 23:20:35 +0000 (12:20 +1300)
committerKent Fredric <kentnl@gentoo.org>
Thu, 26 Oct 2017 23:21:14 +0000 (12:21 +1300)
- Add missing Try::Tiny dep
- Disable test that is failing due to bug in the test itself ( fixed
    upstream in 0.140.0 )

Closes: https://bugs.gentoo.org/635518
Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-perl/Image-Sane/Image-Sane-0.120.0.ebuild

index 5269d998083087b21cb913057f5085d7b1f5c167..2f89e92a1595200cac2081c8c87cb8eabab98cc2 100644 (file)
@@ -21,6 +21,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
        dev-perl/ExtUtils-Depends
        dev-perl/ExtUtils-PkgConfig
-       test? ( dev-perl/Test-Requires )"
-
-PERL_RM_FILES=( t/{90_MANIFEST,91_critic,pod}.t )
+       test? (
+               dev-perl/Test-Requires
+               dev-perl/Try-Tiny
+       )
+"
+# https://rt.cpan.org/Ticket/Display.html?id=122380
+PERL_RM_FILES=( t/{90_MANIFEST,91_critic,pod,81_scanimage-perl}.t )