summaryrefslogtreecommitdiff
path: root/cpan/Module-Build/t/lib/MBTest.pm
Commit message (Collapse)AuthorAgeFilesLines
* remove Module-Build from core perl distributionRicardo Signes2014-05-271-291/+0
|
* Update Module-Build to CPAN version 0.4205Chris 'BinGOs' Williams2014-02-091-1/+9
| | | | | | | | | | | | | | | | [DELTA] 0.4205 - Sun Feb 9 17:51:22 CET 2014 [BUG FIXES] - FIX license code regression for artistic license [Roy Ivy III, Leon Timmermans] - Don't swallow ExtUtils::CBuilder loading errors [Matthew Horsfall, Leon Timmermans] - Handle testing on cross-compile builds [Brian Fraser] - Protect against platforms without getpw{nam,uid} [Brian Fraser]
* Update Module-Build to CPAN version 4.007Chris 'BinGOs' Williams2013-07-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 0.4007 - Fri Jul 19 13:44:39 CEST 2013 [BUG FIXES] - Removed undeclared test dependency on parent.pm [Leon Timmermans] - Declared dependency on Pod::Man 2.17 for utf8 support [Leon Timmermans] - Force generation of man pages in manify_with_utf8.t [Leon Timmermans] 0.4006 - Thu Jul 18 14:19:49 CEST 2013 [ENHANCEMENTS] - Significantly sped up some tests by not forcing HTML docs to be built when the user's config doesn't ask for them anyway. [Ken Williams] - The Module::Metadata package was split out from this distro back in 2010. Removed its regression tests. [Ken Williams] - Removed dependence on IO::File, replacing it with safe invocations of open(). [Sven Dowideit] - Added an 'extra_manify_args' parameter to facilitate man pages containing Unicode. [Joenio Costa] - Added an '--html_links 0' argument for the 'html' action, which can hugely speed things up. The main effect is speeding up the M::B tests themselves. [Ken Williams] [BUG FIXES] - Fix hash argument parsing in subclasses [Graham Ollis] - Revised detildification on VMS [Craig Berry] - Fix run_test_harness for case when $Switches is an empty string [Victor Efimov, Ken Williams]
* Update Module::Build to CPAN version 0.3622David Golden2011-01-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 0.3622 - Mon Jan 24 21:06:50 EST 2011 - No changes from 0.36_21 0.36_21 - Fri Jan 21 11:01:28 EST 2011 - Changed YAML::Tiny references to the new CPAN::Meta::YAML module instead, which is the YAML-variant that is going into the Perl core 0.36_20 - Fri Dec 10 15:36:03 EST 2010 *** DEPRECATIONS *** - Module::Build::Version has been deprecated. Module::Build now depends directly upon version.pm. A pure-perl version has been bundled in inc/ solely for bootstrapping in case configure_requires is not supported. M::B::Version remains as a wrapper around version.pm. - Module::Build::ModuleInfo has been deprecated. Module::Build now depends directly upon Module::Metadata (which is an extraction of M::B::ModuleInfo intended for general reuse). A pure-perl version has been bundled in inc/ solely for bootstrapping in case configure_requires is not supported. M::B::ModuleInfo remains as a wrapper around Module::Metadata. - Module::Build::YAML has been deprecated. Module::Build now depends directly upon YAML::Tiny. M::B::YAML remains as a subclass wrapper. The YAML_support feature has been removed, as YAML is now an ordinary dependency. 0.36_19 - Tue Dec 7 13:43:42 EST 2010 Bug fixes: - Perl::OSType is declared as a 'configure_requires' dependency, but is also bundled in inc (and loaded if needed) [David Golden] 0.36_18 - Mon Dec 6 16:46:49 EST 2010 Changes: - Added dependency on Perl::OSType to refactor and centralize management of OS type mapping [David Golden] - When parsing a version number out of a file, any trailing alphabetical characters will be dropped to avoid fatal errors when comparing version numbers. These would have been dropped (with a warning) anyway during an ordinary numeric comparison. (RT#56071) [David Golden] Bug fixes: - A Perl interpreter mismatch between running Build.PL and running Build is now a fatal error, not a warning (RT#55183) [David Golden] - Bundled Module::Build::Version updated to bring into sync with CPAN version.pm 0.86 [David Golden] - No longer uses fake user 'foo' in t/tilde (RT#61793) [David Golden] - Won't fail tests if an ancient Tie::IxHash is installed [Christopher J. Madsen] - Correctly report missing metafile field names [David Golden] - Suppress uninitialized value errors during Pod creation on ActiveState Perl [David Golden] - Return to starting directory after install action; this is an attempt to fix an install.t heisenbug (RT#63003) [David Golden] - A broken version.pm load won't cause Module::Build::Version to die trying to install itself as a mock version (RT#59499) [Eric Wilhelm and David Golden] - PERL_DL_NONLAZY is now always set when tests are run (RT#56055) [Dmitry Karasik] - 'fakeinstall' will use .modulebuildrc actions for 'install' if no specific 'fakeinstall' options are provided (RT#57279) [David Golden] - Add install*script to search path for installdeps client and search site, then vendor, then core paths - Skip noexec tmpdir check on Windows (RT#55667) [Jan Dubois] - Arguments with key value pairs may now have keys with "-" in them (RT#53050) [David Golden] - Add quotemeta to t/tilde.t test to fix Cygwin fails [Chris Williams and David Golden] - Build script now checks that M::B is at least the same version of M::B as provided in 'configure_requires' in META (RT#54954) [David Golden] 0.36_17 - Wed Oct 27 18:08:36 EDT 2010 Enhancements: - Added 'distinstall' action to run 'Build install' inside the generated distribution directory [Jeff Thalhammer] 0.36_16 - Thu Aug 26 12:44:07 EDT 2010 Bug fixes: - Better error message in case package declaration is not found when searching for version. [Alexandr Ciornii] - Skips 'release_status' tests on perl < 5.8.1 due to buggy treatment of dotted-decimal version numbers [David Golden] 0.36_15 - Wed Aug 25 10:41:28 EDT 2010 Bug fixes: - Added a mock Software::License to prevent t/properties/license.t from failing. 0.36_14 - Sun Aug 22 22:56:50 EDT 2010 Enhancements: - Adds 'release_status' and 'dist_suffix' properties in preparation for adding CPAN Meta Spec 2 support. 'dist_suffix' will be set to 'TRIAL' automatically when necessary. [David Golden] - Makes 'license' more liberal. You can now specify either a license key from the approved list (c.f. Module::Build::API) or just a Software::License subclass name (e.g. 'Perl_5'). This should provide better support for custom or proprietary licenses. [David Golden] 0.36_13 - Wed Jul 28 22:40:25 EDT 2010 Bug-fixes: - Bundled Module::Build::Version updated to bring into sync with CPAN version.pm 0.82 [David Golden] 0.36_12 - Tue Jul 27 00:08:51 EDT 2010 Enhancements: - Module::Build::Compat will now convert dotted-decimal prereqs into decimal rather than dying (and will warn about this). [Apocalypse] Bug fixes: - Caches case-sensitivity checks to boost performance, fixes RT#55162 and RT#56513 [Reini Urban] - Won't try to use ActivePerl doc generation tools without confirming that they are indeed installed. [David Golden] - Sets temporary $ENV{HOME} in testing to an absolute path, which fixes some issues when tested as part of the Perl core [Nicholas Clark] - Module::Build::ModuleInfo now warns instead of dying when a module has an invalid version. ->version now just returns undef (RT#59593) [David Golden] Changes: - When authors do not specify Module::Build in configure_requires and Module::Build is automatically added, a warning will be issued showing the added prerequisite [David Golden] - Moved automatic configure_requires generation into get_metadata() and added an 'auto' argument to toggle it (on for META and off for MYMETA) [David Golden] 0.36_11 - Thu May 27 09:41:23 EDT 2010 Bug fixes: - Handle META/MYMETA reading and writing within Module::Build to ensure utf8 mode on filehandles. Now passes/gets only strings to YAML::Tiny or Module::Build::YAML 0.36_10 - Wed May 19 18:36:06 EDT 2010 Bug fixes: - Fix failing t/manifypods.t on Windows from 0.36_09 changes [Klaus Eichner] 0.36_09 - Tue May 11 09:19:12 EDT 2010 Bug fixes: - Improve HTML documentation generation on ActivePerl (RT#53478) [Scott Renner and Klaus Eichner] 0.36_08 - Mon Apr 26 08:00:15 EDT 2010 Enhancements: - Give a list of valid licenses when given one we don't recognize (RT#55951) [Yanick Champoux] - Added 'Build manifest_skip' action to generate a default MANIFEST.SKIP [David Golden] Changes: - When temporarily generating a MANIFEST.SKIP when none exists, it will be removed on exit instead of hanging around until 'Build clean'. This is less surprising/confusing and the 'Build manifest_skip' action is now available instead to bootstrap the file [David Golden] Bug fixes: - Fixed runtime error on cygwin when searching for an executable command during installdeps testing [David Golden]
* When testing in core, ensure that the local $ENV{HOME} is absolute.Nicholas Clark2010-06-291-1/+5
| | | | | Without this ppm.t and xs.t fail with ccache, because it can't create $ENV{HOME}/.ccache
* Update Module-Build to CPAN version 0.3607Chris 'BinGOs' Williams2010-06-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 0.3607 - Thu Apr 1 11:27:16 EDT 2010 Bug fixes: - The 'dist' action now always ensures a clean dist directory before creating the tarball [David Golden] 0.36_06 - Thu Apr 1 01:23:58 EDT 2010 Other: - Migrated repository to git and updated META.yml to match - Removed bugtracker URL (let search.cpan.org use default) - Disabled SIGNATURE generation 0.3605 - Wed Mar 31 12:05:11 EDT 2010 - No changes from 0.36_04 0.36_04 - Tue Mar 16 21:41:41 EDT 2010 Bug fixes: - Added missing newline to "Changing sharpbang" messages under verbose output (RT#54474) [David Golden] - Added 'beos' to list of Unix-like os types (RT#53876) [Nigel Horne] - Sets $ENV{HOME} to a temporary directory during testing [David Golden] - For VMS: fixed prefix handling plus other test fixes [Craig Berry] - Support anonymous array of directories for c_source [Alberto Sim<C3><B5>es] - Small POD formatting fix [James Keenan]
* Revert "Update Module-Build to CPAN version 0.3607"Chris 'BinGOs' Williams2010-06-291-5/+0
| | | | | | | | | This reverts commit 8f4d46e2e6b66d00df1e347dab564fd9799c8d94. Way too much breakage for me to sanely resolve. Will leave it to Dave Golden to try and integrate it Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Update Module-Build to CPAN version 0.3607Chris 'BinGOs' Williams2010-06-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 0.3607 - Thu Apr 1 11:27:16 EDT 2010 Bug fixes: - The 'dist' action now always ensures a clean dist directory before creating the tarball [David Golden] 0.36_06 - Thu Apr 1 01:23:58 EDT 2010 Other: - Migrated repository to git and updated META.yml to match - Removed bugtracker URL (let search.cpan.org use default) - Disabled SIGNATURE generation 0.3605 - Wed Mar 31 12:05:11 EDT 2010 - No changes from 0.36_04 0.36_04 - Tue Mar 16 21:41:41 EDT 2010 Bug fixes: - Added missing newline to "Changing sharpbang" messages under verbose output (RT#54474) [David Golden] - Added 'beos' to list of Unix-like os types (RT#53876) [Nigel Horne] - Sets $ENV{HOME} to a temporary directory during testing [David Golden] - For VMS: fixed prefix handling plus other test fixes [Craig Berry] - Support anonymous array of directories for c_source [Alberto Sim<C3><B5>es] - Small POD formatting fix [James Keenan]
* Updated Module::Build to 0.35_14David Golden2009-12-171-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0.35_14 - Thu Dec 17 16:02:14 EST 2009 Bug fixes: - If not set, the 'module_name' is detected from 'dist_version_from' or from 'dist_name'. The directory is no longer used. [David Golden] - The 'share_dir' property no longer defaults to 'share' and must be explicitly set instead; this fixes problems for CPAN distributions that already have a 'share' directory for whatever reason [David Golden] - Change t/00-compile.t test for more portability [David Golden] - Skip ppm.t if Pod::Html is not available [David Goldenj] - Changed guts of inc::latest to work properly on older versions of Perl [David Golden] - Ensure bundle_inc.t doesn't accidentally uninstall the installed M::B during testing if the user had 'uninst=1' set during Build.PL [David Golden] 0.35_13 - Sat Dec 5 11:26:36 EST 2009 Bug fixes: - Protect against tempfile errors when checking ExtUtils::Installed [David Golden] 0.35_12 - Fri Dec 4 23:06:49 EST 2009 Bug fixes: - Protect inc/ bundling tests against broken ExtUtils::Installed [David Golden] 0.35_11 - Thu Dec 3 11:07:44 EST 2009 *** API CHANGE *** - The old API for prepare_metadata() has been restored to avoid breaking distributions that were overriding it (e.g. BioPerl), but the method has been marked deprecated and may be made private or may disappear in some future version of Module::Build. [David Golden] - A new get_metadata() method has been added as a simpler wrapper around the old, kludgy prepare_metadata() API. [David Golden] 0.35_10 - Tue Nov 24 22:49:19 EST 2009 Bug fixes: - bundle_inc.t is more careful about permissions and open filehandles to avoid failures/skips on Win32 [David Golden] - Fix compilation error in Module::Build::Platform::VMS (RT#51766) [David Golden] - Don't generate a MANIFEST.SKIP during distclean and add any generated MANIFEST.SKIP to cleanup list [reported by Zefram, fixed by David Golden] - Module::Build::ModuleInfo version parsing would fail if a module sets its $VERSION from another module, but the other module is not installed. We now try to detect such failures, prepend 'lib' to @INC and try again. [David Golden] - MYMETA.yml used to be generated from scratch, overriding any customizations used to create META.yml. Now, if META.yml exists, that will be used as the base for MYMETA and only prereq fields will be updated (to reflect any dynamic configuration); also, 'dynamic_config' will be set to false and 'generated_by' will be updated [David Golden] 0.35_09 - Thu Nov 19 01:30:42 EST 2009 Bug fixes: - The DB package should not be included in 'provides' in META files [David Golden] - Fixed t/xs.t build failures in bleadperl for noexec temp directories [Nicholas Clark] - Adjusted order of @INC in resume() (fixes par.t, ppm.t, xs.t fails): @INC = @new_additions_to_inc, @saved_additions_to_inc, @default_inc [David Golden] - Skip bundle_inc.t tests if bundled Module::Build for test can't be tweaked (Works around test crashes on Win2) [David Golden] Other: - 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder and ExtUtils::ParseXS added to the 'requires' list. This ensures that upgrading Module::Build will upgrade this critical modules. ExtUtils::CBuilder no longer requires a compiler, so it is "safe" to require.
* Updated Module::Build to 0.35_09David Golden2009-11-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 0.35_09 - Thu Nov 19 01:30:42 EST 2009 Bug fixes: - The DB package should not be included in 'provides' in META files [David Golden] - Fixed t/xs.t build failures in bleadperl for noexec temp directories [Nicholas Clark] - Adjusted order of @INC in resume() (fixes par.t, ppm.t, xs.t fails): @INC = @new_additions_to_inc, @saved_additions_to_inc, @default_inc [David Golden] - Skip bundle_inc.t tests if bundled Module::Build for test can't be tweaked (Works around test crashes on Win2) [David Golden] Other: - 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder and ExtUtils::ParseXS added to the 'requires' list. This ensures that upgrading Module::Build will upgrade this critical modules. ExtUtils::CBuilder no longer requires a compiler, so it is "safe" to require.
* Updated Module::Build to 0.35_08David Golden2009-11-181-27/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0.35_08 - Mon Nov 16 22:38:28 EST 2009 Bug fixes: - Multiple tests were failing due to dependency problems. Author dependencies have been largely removed from core 'requires' into optional features. Feature prereq detection and messaging have been expanded and bugs on older Perls have been removed. 0.35_07 - Sat Nov 14 17:14:39 EST 2009 Bug fixes: - Auto-detection of abstract and author fixed for mixed-case POD headers (RT#51117) [David Wheeler] - resume() was not restoring additions to @INC added in Build.PL (RT#50145) [David Golden] - When tarball paths are less than 100 characters, disables 'prefix' mode of Archive::Tar for maximum compatibility (RT#50571) [David Golden] 0.35_06 - Fri Nov 13 14:51:28 EST 2009 Enhancements: - Added experimental inc/ bundling; see Module::Build::Bundling for details. [David Golden and Eric Wilhelm] - Clarified that 'apache' in the license attribute indicates the Apache License 2.0 and added 'apache_1_1' for the older version of the license (RT#50614) [David Golden] Bug fixes: - Merging 'requires' and 'build_requires' in Module::Build::Compat could lead to duplicate PREREQ_PM entries; now the highest version is used for PREREQ_PM. (RT#50948) [David Golden] - Module::Build::Compat will now die with an error if advanced, non-numeric prerequisites are given, as these are not supported by ExtUtils::MakeMaker in PREREQ_PM [David Golden] - Made MYMETA generation non-fatal if fields required for META.yml are missing [David Golden] - Added Pod::Simple to requirements for manpage support; avoids problems if a user has a broken Pod::Man/Pod::Simple. (RT#50081) [David Golden] - Won't die if installed Pod::Readme is broken [David Golden] Other: - Fixed Module::Build::Notes POD [David Golden] - Some commands had become silent by default, so added a few short status messages so users know something actually happened [David Golden] - Cleaned up Changes file formatting [David Golden] - Removed most PERL_CORE customizations from test files due to reorganization of dual-life modules in core (RT#49522) [David Golden] 0.35_05 - Wed Oct 28 17:20:59 EDT 2009 Bug fixes: - Fix test failure in t/actions/installdeps.t when $^X is not the default perl [David Golden] - Work around $VERSION numbers in ActiveState with multiple underscores that prevent Module::Build from installing on Win32 [David Golden] - Fix bug cleaning compatibility Makefile when older ExtUtils::Manifest is installed [David Golden with help from David Cantrell] Other: - Suppressed more warnings from tests [David Golden] - Add provisional support for 'package NAME VERSION' syntax added in Perl 5.11.1 [David Golden] 0.35_04 - Fri Oct 23 11:20:41 EDT 2009 Bug fixes: - Fix test failure if IPC::Cmd isn't installed [David Golden] Other: - Suppressed warning messages from various tests [David Golden] 0.35_03 - Wed Oct 21 21:20:59 EDT 2009 *** API CHANGE *** - The prepare_metadata() method used to take a YAML::Node object as an argument for modification. The method now takes no arguments and just returns a hash reference of metadata. [David Golden] Enhancements - Command line options may be set via the PERL_MB_OPT environment variable (similar to PERL_MM_OPT in ExtUtils::MakeMaker) Bug fixes: - Updated PPM generation to PPM v4 (RT#49600) [Olivier Mengue] - When c_source is specified, the directory scan will include additional, less-common C++ extensions (RT49298) [David Golden] - When module_name is not supplied, no packlist was being written; fixed by guessing module_name from dist_version_from or the directory name (just like ExtUtils::Manifest does without NAME) [David Golden] - Bumped IO::File prereq to fix binmode failures in PPMMaker on Perl prior to 5.8.8 [David Golden] Other: - Replaced use of YAML.pm with YAML::Tiny; Module::Build::YAML is now based on YAML::Tiny as well [David Golden] - Reduced amount of console output under normal operation (use --verbose to see all output) [David Golden] 0.35_02 - Mon Sep 7 22:37:42 EDT 2009 Enhancements: - Added 'needs_compiler' property. Defaults to true if XS or c_source exist. If true, ExtUtils::CBuilder is also added to build_requires. [David Golden] - File::ShareDir automatically added to 'requires' if 'share_dir' is set [David Golden] - Added 'Build installdeps' action to install needed dependencies via a user-configurable command line program. (Defaults to 'cpan'.) [Eric Wilhelm] Bug fixes: - Failure to detect a compiler will now warn during Build.PL and be a fatal error when trying to compile during Build. (RT#48918) [David Golden] - Fixed directory sorting failure in share_dir.t [David Golden] - Property defaults that are data structures were being assigned as references to new objects. Changed so that defaults are cloned instead. (This mostly affects testing, which often creates multiple objects in the same process) [David Golden] - Simplified error message on exit under use_tap_harness [suggested by David Wheeler] - Fixed typemap search to use a dist-level typemap if a typemap is not found in the directory with the *.xs file; (was manifesting as warnings in Perl 5.6 tests) [David Golden] Other: - Replaced guts of new_from_context(). Build.PL is now executed in a separate process before resume() is called. (This is generally only of interest to Module::Build or toolchain developers) (RT#49350) [David Golden, Eric Wilhelm, Ken Williams] - Revised test helper classes to fix potential bugs and add new features to make writing tests simpler and easier. Changes incorporated into t/README.pod and t/sample.t as examples for new testing. [David Golden] 0.35_01 - Mon Aug 31 12:11:10 EDT 2009 Enhancements: - Generates MYMETA.yml during Build.PL (new standard protocol for communicating configuration results between toolchain components) [David Golden] - Added 'share_dir' property to provide File::ShareDir support; set automatically if a directory called 'share' exists [David Golden] Bug fixes: - Fix the t/destinations.t fix. [David Golden, with thanks to Eric Wilhelm] - Fix recursive test files in generated Makefile.PL (RT#49254) [Sawyer X] - Guard against trying :utf8 when :utf8 isn't available - The "test" action now dies when using the 'use_tap_harness' option and tests fail, matching the behavior under Test::Harness. (RT#49080) [initial patch from David Wheeler; revised by David Golden] Other: - Added t/README.pod and t/sample.t to guide developers writing new tests [David Golden, with some code from Eric Wilhelm] - Module::Build::Compat 'passthrough' style has been deprecated. Using 'passthrough' will issue warnings on Makefile.PL generation. See Module::Build::Compat documentation for rationale.
* Move Module::Build from ext/ to cpan/Nicholas Clark2009-09-261-0/+224