On Apr 6, 2005, at 7:13 AM, Robert Rothenberg wrote:
Is there a way tests to determine that a module cannot be installed on a platform so that CPANPLUS or CPAN::YACSmoke can issue an "NA" (Not Applicable) report?
CPANPLUS relies on module names (e.g. "Solaris::" or "Win32::") but that is not always appropriate in cases where a module runs on many platforms except some that do not have the capability.
There's also a separate issue of whether "NA" reports should be issued if a library is missing. (Usually these come out as failures.)
Regards, Rob (Co-author of CPAN::YACSmoke)
It won't help you *today* but there is a proposed META.yml field called "excludes_os" which fits your request perfectly.
http://module-build.sourceforge.net/META-spec-new.html#excludes_os
See also "optional_features.foo.excludes_os" http://module-build.sourceforge.net/META-spec-new.html#recommends
Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/)
PGP.sig
Description: This is a digitally signed message part