Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 383512 Details for
Bug 520756
perl-module.eclass: Add perl_rm_files utility
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
perl-module.eclass patch
patch (text/plain), 1.29 KB, created by
Kent Fredric (IRC: kent\n) (RETIRED)
on 2014-08-24 11:44:47 UTC
(
hide
)
Description:
perl-module.eclass patch
Filename:
MIME Type:
Creator:
Kent Fredric (IRC: kent\n) (RETIRED)
Created:
2014-08-24 11:44:47 UTC
Size:
1.29 KB
patch
obsolete
>--- perl-module.eclass 2014-03-31 08:31:19.000000000 +1300 >+++ perl-module.eclass 2014-08-24 23:30:21.376334852 +1200 >@@ -362,6 +362,36 @@ > fi > } > >+# @FUNCTION: perl_rm_files >+# @USAGE: perl_rm_files "file_1" "file_2" >+# @DESCRIPTION: >+# Remove certain files from a Perl release and remove them from the MANIFEST >+# while we're there. >+# >+# Most useful in src_prepare for nuking bad tests, and is highly recommended >+# for any tests like 'pod.t', 'pod-coverage.t' or 'kwalitee.t', as what they >+# test is completely irrelevant to end users, and frequently fail simply >+# because the authors of Test::Pod... changed their recommendations, and thus >+# failures are only useful feedback to Authors, not users. >+# >+# Removing from MANIFEST also avoids needless log messages warning >+# users about files "missing from their kit". >+perl_rm_files() { >+ debug-print-function $FUNCNAME "$@" >+ local skipfile=${S}/.gentoo_makefile_skip >+ local manifile=${S}/MANIFEST >+ local manitemp=${S}/.gentoo_manifest_temp >+ for filename in "$@"; do >+ einfo "Removing un-needed ${filename}"; >+ # Remove the file >+ rm ${S}/$filename >+ echo ${filename} >> ${skipfile} >+ done >+ grep -v -F -f $skipfile $manifile > $manitemp >+ mv $manitemp $manifile >+ rm $skipfile; >+} >+ > perl_remove_temppath() { > debug-print-function $FUNCNAME "$@" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 520756
:
383512
|
383948