Created
October 14, 2014 23:20
-
-
Save kentfredric/4615d201de9b0421aae6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- OOTools-2.300.0-r1.ebuild 2014-08-27 06:08:13.000000000 +1200 | |
+++ OOTools-2.300.0-r1.ebuild 2014-10-15 12:13:39.910698961 +1300 | |
@@ -13,14 +13,10 @@ | |
SLOT="0" | |
KEYWORDS="~amd64 ~x86" | |
-IUSE="test" | |
+IUSE="" | |
DEPEND=" | |
virtual/perl-Module-Build | |
- test? ( | |
- dev-perl/Test-Pod | |
- dev-perl/Test-Pod-Coverage | |
- ) | |
" | |
SRC_TEST=do | |
@@ -29,3 +25,11 @@ | |
PATCHES=( | |
"${WORKDIR}"/${MY_PN:-${PN}}-patch | |
) | |
+src_prepare() { | |
+ einfo "Removing unwanted author tests" | |
+ rm -f "${S}/t/test_pod.t" | |
+ rm -f "${S}/t/test_pod_coverage.t" | |
+ # This silences warnings by EUMM about missing files. | |
+ grep -v '^t/test_pod' "${S}/MANIFEST" > "${S}/MANIFEST.tmp" | |
+ mv -f -- "${S}/MANIFEST.tmp" "${S}/MANIFEST" | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Kent, I've applied your patch. See https://bugs.gentoo.org/show_bug.cgi?id=473436