From: Nicholas Clark Date: Sun, 13 Sep 2009 10:44:43 +0000 (+0100) Subject: Move podlators from lib to ext. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7a12ca83130de638aaff52760e22216d31cfe4db;p=p5sagit%2Fp5-mst-13.2.git Move podlators from lib to ext. --- diff --git a/MANIFEST b/MANIFEST index c7ed870..b4b9ec8 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2035,6 +2035,35 @@ ext/Pod-Escapes/t/15_name2charnum.t test Pod::Escapes ext/Pod-LaTeX/LaTeX.pm Convert POD data to LaTeX ext/Pod-LaTeX/t/pod2latex.t See if Pod::LaTeX works ext/Pod-LaTeX/t/user.t See if Pod::LaTeX works +ext/podlators/lib/Pod/Man.pm Convert POD data to *roff +ext/podlators/lib/Pod/ParseLink.pm Perl an L<> formatting code in POD text +ext/podlators/lib/Pod/Text/Color.pm Convert POD data to color ASCII text +ext/podlators/lib/Pod/Text/Overstrike.pm Convert POD data to formatted overstrike text +ext/podlators/lib/Pod/Text.pm Pod-Parser - convert POD data to formatted ASCII text +ext/podlators/lib/Pod/Text/Termcap.pm Convert POD data to ASCII text with format escapes +ext/podlators/t/basic.cap podlators test +ext/podlators/t/basic.clr podlators test +ext/podlators/t/basic.man podlators test +ext/podlators/t/basic.ovr podlators test +ext/podlators/t/basic.pod podlators test +ext/podlators/t/basic.t podlators test +ext/podlators/t/basic.txt podlators test +ext/podlators/t/color.t podlators test +ext/podlators/t/filehandle.t podlators test +ext/podlators/t/man-options.t podlators test +ext/podlators/t/man.t podlators test +ext/podlators/t/man-utf8.t podlators test +ext/podlators/t/parselink.t podlators test +ext/podlators/t/pod-parser.t podlators test +ext/podlators/t/pod-spelling.t podlators test +ext/podlators/t/pod.t podlators test +ext/podlators/t/termcap.t podlators test +ext/podlators/t/text-encoding.t podlators test +ext/podlators/t/text-options.t podlators test +ext/podlators/t/text.t podlators test +ext/podlators/t/text-utf8.t podlators test +ext/podlators/VERSION podlators custom Makefile.PL +ext/podlators/VERSION podlators distribution version ext/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm utility module for perldoc ext/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm options parsing for perldoc ext/Pod-Perldoc/lib/Pod/Perldoc.pm guts of the 'perldoc' utility @@ -3235,27 +3264,12 @@ lib/Pod/Find.pm used by pod/splitpod lib/Pod/Functions.pm used by pod/splitpod lib/Pod/Html.pm Convert POD data to HTML lib/Pod/InputObjects.pm Pod-Parser - define objects for input streams -lib/Pod/Man.pm Convert POD data to *roff -lib/Pod/ParseLink.pm Perl an L<> formatting code in POD text lib/Pod/Parser.pm Pod-Parser - define base class for parsing POD lib/Pod/ParseUtils.pm Pod-Parser - pod utility functions lib/Pod/PlainText.pm Convert POD data to formatted ASCII text lib/Pod/Select.pm Pod-Parser - select portions of POD docs -lib/Pod/t/basic.cap podlators test -lib/Pod/t/basic.clr podlators test -lib/Pod/t/basic.man podlators test -lib/Pod/t/basic.ovr podlators test -lib/Pod/t/basic.pod podlators test -lib/Pod/t/basic.t podlators test -lib/Pod/t/basic.txt podlators test -lib/Pod/t/color.t podlators test lib/Pod/t/contains_pod.t Pod-Parser test lib/Pod/t/eol.t end of line agnosticism -lib/Pod/Text/Color.pm Convert POD data to color ASCII text -lib/Pod/Text/Overstrike.pm Convert POD data to formatted overstrike text -lib/Pod/Text.pm Pod-Parser - convert POD data to formatted ASCII text -lib/Pod/Text/Termcap.pm Convert POD data to ASCII text with format escapes -lib/Pod/t/filehandle.t podlators test lib/Pod/t/Functions.t See if Pod::Functions works lib/Pod/t/htmlescp.pod pod2html escape test input data lib/Pod/t/htmlescp.t pod2html escape test @@ -3264,20 +3278,8 @@ lib/Pod/t/htmllink.t pod2html link test lib/Pod/t/htmlview.pod pod2html render test input data lib/Pod/t/htmlview.t pod2html render test lib/Pod/t/InputObjects.t See if Pod::InputObjects works -lib/Pod/t/man-options.t podlators test -lib/Pod/t/man.t podlators test -lib/Pod/t/man-utf8.t podlators test -lib/Pod/t/parselink.t podlators test lib/Pod/t/pod2html-lib.pl pod2html testing library -lib/Pod/t/pod-parser.t podlators test -lib/Pod/t/pod-spelling.t podlators test -lib/Pod/t/pod.t podlators test lib/Pod/t/Select.t See if Pod::Select works -lib/Pod/t/termcap.t podlators test -lib/Pod/t/text-encoding.t podlators test -lib/Pod/t/text-options.t podlators test -lib/Pod/t/text.t podlators test -lib/Pod/t/text-utf8.t podlators test lib/Pod/t/Usage.t See if Pod::Usage works lib/Pod/t/utils.t Test for Pod::ParseUtils lib/Pod/Usage.pm Pod-Parser - print usage messages diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 51f6b28..6cf67ad 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1371,13 +1371,12 @@ use File::Glob qw(:case); { 'MAINTAINER' => 'rra', 'DISTRIBUTION' => 'RRA/podlators-2.2.2.tar.gz', - 'FILES' => q[lib/Pod/{Man,ParseLink,Text,Text/{Color,Overstrike,Termcap}}.pm + 'FILES' => q[ext/podlators pod/pod2man.PL pod/pod2text.PL - lib/Pod/t/{basic.*,{color,filehandle,man*,parselink,pod-parser,pod-spelling,pod,termcap,text*}.t} ], - 'MAP' => { 'scripts/' => 'pod/', - 't/' => 'lib/Pod/t/', + 'MAP' => { '' => 'ext/podlators/', + 'scripts/' => 'pod/', }, 'CPAN' => 1, 'UPSTREAM' => 'cpan', diff --git a/ext/podlators/Makefile.PL b/ext/podlators/Makefile.PL new file mode 100644 index 0000000..fb80c34 --- /dev/null +++ b/ext/podlators/Makefile.PL @@ -0,0 +1,7 @@ +# core-only Makefile.PL +use ExtUtils::MakeMaker; +WriteMakefile ( + NAME => 'Pod', + DISTNAME => 'podlators', + VERSION_FROM => 'VERSION', +); diff --git a/ext/podlators/VERSION b/ext/podlators/VERSION new file mode 100644 index 0000000..279daa4 --- /dev/null +++ b/ext/podlators/VERSION @@ -0,0 +1 @@ +$VERSION = '2.2.2'; diff --git a/lib/Pod/Man.pm b/ext/podlators/lib/Pod/Man.pm similarity index 100% rename from lib/Pod/Man.pm rename to ext/podlators/lib/Pod/Man.pm diff --git a/lib/Pod/ParseLink.pm b/ext/podlators/lib/Pod/ParseLink.pm similarity index 100% rename from lib/Pod/ParseLink.pm rename to ext/podlators/lib/Pod/ParseLink.pm diff --git a/lib/Pod/Text.pm b/ext/podlators/lib/Pod/Text.pm similarity index 100% rename from lib/Pod/Text.pm rename to ext/podlators/lib/Pod/Text.pm diff --git a/lib/Pod/Text/Color.pm b/ext/podlators/lib/Pod/Text/Color.pm similarity index 100% rename from lib/Pod/Text/Color.pm rename to ext/podlators/lib/Pod/Text/Color.pm diff --git a/lib/Pod/Text/Overstrike.pm b/ext/podlators/lib/Pod/Text/Overstrike.pm similarity index 100% rename from lib/Pod/Text/Overstrike.pm rename to ext/podlators/lib/Pod/Text/Overstrike.pm diff --git a/lib/Pod/Text/Termcap.pm b/ext/podlators/lib/Pod/Text/Termcap.pm similarity index 100% rename from lib/Pod/Text/Termcap.pm rename to ext/podlators/lib/Pod/Text/Termcap.pm diff --git a/lib/Pod/t/basic.cap b/ext/podlators/t/basic.cap similarity index 100% rename from lib/Pod/t/basic.cap rename to ext/podlators/t/basic.cap diff --git a/lib/Pod/t/basic.clr b/ext/podlators/t/basic.clr similarity index 100% rename from lib/Pod/t/basic.clr rename to ext/podlators/t/basic.clr diff --git a/lib/Pod/t/basic.man b/ext/podlators/t/basic.man similarity index 100% rename from lib/Pod/t/basic.man rename to ext/podlators/t/basic.man diff --git a/lib/Pod/t/basic.ovr b/ext/podlators/t/basic.ovr similarity index 100% rename from lib/Pod/t/basic.ovr rename to ext/podlators/t/basic.ovr diff --git a/lib/Pod/t/basic.pod b/ext/podlators/t/basic.pod similarity index 100% rename from lib/Pod/t/basic.pod rename to ext/podlators/t/basic.pod diff --git a/lib/Pod/t/basic.t b/ext/podlators/t/basic.t similarity index 100% rename from lib/Pod/t/basic.t rename to ext/podlators/t/basic.t diff --git a/lib/Pod/t/basic.txt b/ext/podlators/t/basic.txt similarity index 100% rename from lib/Pod/t/basic.txt rename to ext/podlators/t/basic.txt diff --git a/lib/Pod/t/color.t b/ext/podlators/t/color.t similarity index 100% rename from lib/Pod/t/color.t rename to ext/podlators/t/color.t diff --git a/lib/Pod/t/filehandle.t b/ext/podlators/t/filehandle.t similarity index 100% rename from lib/Pod/t/filehandle.t rename to ext/podlators/t/filehandle.t diff --git a/lib/Pod/t/man-options.t b/ext/podlators/t/man-options.t similarity index 100% rename from lib/Pod/t/man-options.t rename to ext/podlators/t/man-options.t diff --git a/lib/Pod/t/man-utf8.t b/ext/podlators/t/man-utf8.t similarity index 100% rename from lib/Pod/t/man-utf8.t rename to ext/podlators/t/man-utf8.t diff --git a/lib/Pod/t/man.t b/ext/podlators/t/man.t similarity index 100% rename from lib/Pod/t/man.t rename to ext/podlators/t/man.t diff --git a/lib/Pod/t/parselink.t b/ext/podlators/t/parselink.t similarity index 100% rename from lib/Pod/t/parselink.t rename to ext/podlators/t/parselink.t diff --git a/lib/Pod/t/pod-parser.t b/ext/podlators/t/pod-parser.t similarity index 100% rename from lib/Pod/t/pod-parser.t rename to ext/podlators/t/pod-parser.t diff --git a/lib/Pod/t/pod-spelling.t b/ext/podlators/t/pod-spelling.t similarity index 100% rename from lib/Pod/t/pod-spelling.t rename to ext/podlators/t/pod-spelling.t diff --git a/lib/Pod/t/pod.t b/ext/podlators/t/pod.t similarity index 100% rename from lib/Pod/t/pod.t rename to ext/podlators/t/pod.t diff --git a/lib/Pod/t/termcap.t b/ext/podlators/t/termcap.t similarity index 100% rename from lib/Pod/t/termcap.t rename to ext/podlators/t/termcap.t diff --git a/lib/Pod/t/text-encoding.t b/ext/podlators/t/text-encoding.t similarity index 100% rename from lib/Pod/t/text-encoding.t rename to ext/podlators/t/text-encoding.t diff --git a/lib/Pod/t/text-options.t b/ext/podlators/t/text-options.t similarity index 100% rename from lib/Pod/t/text-options.t rename to ext/podlators/t/text-options.t diff --git a/lib/Pod/t/text-utf8.t b/ext/podlators/t/text-utf8.t similarity index 100% rename from lib/Pod/t/text-utf8.t rename to ext/podlators/t/text-utf8.t diff --git a/lib/Pod/t/text.t b/ext/podlators/t/text.t similarity index 100% rename from lib/Pod/t/text.t rename to ext/podlators/t/text.t diff --git a/lib/.gitignore b/lib/.gitignore index 87be0e3..e052e57 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -292,6 +292,8 @@ /POSIX.pod /Pod/Escapes.pm /Pod/LaTeX.pm +/Pod/Man.pm +/Pod/ParseLink.pm /Pod/Perldoc.pm /Pod/Perldoc /Pod/Plainer.pm @@ -306,6 +308,8 @@ /Pod/Simple/t/corpus/2202jpy.txt /Pod/Simple/t/corpus2/polish_utf16be_bom.txt /Pod/Simple/t/corpus2/polish_utf16le_bom.txt +/Pod/Text.pm +/Pod/Text/ /SDBM_File.pm /Safe.pm /SelfLoader.pm diff --git a/t/TEST b/t/TEST index f5330aa..36a520a 100755 --- a/t/TEST +++ b/t/TEST @@ -39,6 +39,7 @@ my %temp_no_core = '../ext/Tie-RefHash' => 1, '../ext/Time-HiRes' => 1, '../ext/Unicode-Normalize' => 1, + '../ext/podlators' => 1, ); if ($::do_nothing) {