From 6fb12b7054efc6b436584db6cef9c2f85c0d7e27 Mon Sep 17 00:00:00 2001 From: afresh1 Date: Mon, 17 Nov 2014 20:52:31 +0000 Subject: Import perl-5.20.1 --- .../cpan/Module-Build/lib/Module/Build/API.pod | 40 +++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-) (limited to 'gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build/API.pod') diff --git a/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build/API.pod b/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build/API.pod index 4980218dac7..af859e7fe40 100644 --- a/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build/API.pod +++ b/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build/API.pod @@ -72,6 +72,13 @@ An array reference of files to be cleaned up when the C action is performed. See also the L method. +=item allow_pureperl + +[version 0.4005] + +A bool indicating the module is still functional without its xs parts. +When an XS module is build with --pureperl_only, it will otherwise fail. + =item auto_configure_requires [version 0.34] @@ -175,6 +182,15 @@ See L for details. See the documentation for L for the details of how requirements can be specified. +=item test_requires + +[version 0.4004] + +Modules listed in this section must be installed before testing the distribution. + +See the documentation for L +for the details of how requirements can be specified. + =item create_packlist [version 0.28] @@ -379,6 +395,14 @@ To link your XS code against glib you might write something like: extra_linker_flags => scalar `glib-config --libs`, ); +=item extra_manify_args + +[version 0.4006] + +Any extra arguments to pass to C<< Pod::Man->new() >> when building +man pages. One common choice might be C<< utf8 => 1 >> to get Unicode +support. + =item get_options [version 0.26] @@ -1066,7 +1090,7 @@ This method is the preferred interface for retrieving the arguments passed via command line options to F or F, minus the Module-Build specific options. -When called in in a scalar context with no arguments, this method returns a +When called in a scalar context with no arguments, this method returns a reference to the hash storing all of the arguments; in an array context, it returns the hash itself. When passed a single argument, it returns the value stored in the args hash for that option key. When called with two arguments, @@ -1753,7 +1777,7 @@ Examples: Returns a reference to a hash describing all prerequisites. The keys of the hash will be the various prerequisite types ('requires', 'build_requires', -'configure_requires', 'recommends', or 'conflicts') and the values will be +'test_requires', 'configure_requires', 'recommends', or 'conflicts') and the values will be references to hashes of module names and version numbers. Only prerequisites types that are defined will be included. The C action is just a thin wrapper around the C method and dumps the hash as a string @@ -1916,6 +1940,8 @@ accessor methods for the following properties: =item allow_mb_mismatch() +=item allow_pureperl() + =item auto_configure_requires() =item autosplit() @@ -1966,6 +1992,8 @@ accessor methods for the following properties: =item dynamic_config() +=item extra_manify_args() + =item get_options() =item html_css() @@ -2016,6 +2044,8 @@ accessor methods for the following properties: =item program_name() +=item pureperl_only() + =item quiet() =item recommends() @@ -2034,6 +2064,8 @@ accessor methods for the following properties: =item test_file_exts() +=item test_requires() + =item use_rcfile() =item use_tap_harness() @@ -2049,7 +2081,7 @@ accessor methods for the following properties: If you would like to add other useful metadata, C supports this with the C and C arguments to L. The authoritative list of supported metadata can be found at -L but for convenience - here are a few of the more useful ones: +L but for convenience - here are a few of the more useful ones: =over 4 @@ -2087,6 +2119,6 @@ perl(1), L(3), L(3), L(3), L(3) F Specification: -L +L =cut -- cgit v1.2.3-59-g8ed1b