summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-30 18:40:39 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-30 19:01:11 +0100
commit06254a069d42f5a516ad5cde3e542453910e34f2 (patch)
tree7e48ce64c06e02dd57847b08ad50a0a749c53881
parent85831461cd8850ede28b33bf03b6fe7a7904e0dc (diff)
downloadperl-06254a069d42f5a516ad5cde3e542453910e34f2.tar.gz
Move Filter::Simple from lib to ext
-rw-r--r--MANIFEST22
-rwxr-xr-xPorting/Maintainers.pl9
-rw-r--r--ext/.gitignore1
-rw-r--r--ext/Filter-Simple/Changes (renamed from lib/Filter/Simple/Changes)0
-rw-r--r--ext/Filter-Simple/lib/Filter/Simple.pm (renamed from lib/Filter/Simple.pm)0
-rw-r--r--ext/Filter-Simple/t/data.t (renamed from lib/Filter/Simple/t/data.t)9
-rw-r--r--ext/Filter-Simple/t/export.t8
-rw-r--r--ext/Filter-Simple/t/filter.t (renamed from lib/Filter/Simple/t/filter.t)9
-rw-r--r--ext/Filter-Simple/t/filter_only.t (renamed from lib/Filter/Simple/t/filter_only.t)9
-rw-r--r--ext/Filter-Simple/t/import.t9
-rw-r--r--ext/Filter-Simple/t/lib/Filter/Simple/ExportTest.pm (renamed from t/lib/Filter/Simple/ExportTest.pm)0
-rw-r--r--ext/Filter-Simple/t/lib/Filter/Simple/FilterOnlyTest.pm (renamed from t/lib/Filter/Simple/FilterOnlyTest.pm)0
-rw-r--r--ext/Filter-Simple/t/lib/Filter/Simple/FilterTest.pm (renamed from t/lib/Filter/Simple/FilterTest.pm)0
-rw-r--r--ext/Filter-Simple/t/lib/Filter/Simple/ImportTest.pm (renamed from t/lib/Filter/Simple/ImportTest.pm)0
-rw-r--r--lib/.gitignore1
-rw-r--r--lib/Filter/Simple/t/export.t16
-rw-r--r--lib/Filter/Simple/t/import.t17
17 files changed, 34 insertions, 76 deletions
diff --git a/MANIFEST b/MANIFEST
index 77aea813ce..e4d2ef8fb3 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -733,6 +733,17 @@ ext/File-Glob/t/case.t See if File::Glob works
ext/File-Glob/t/global.t See if File::Glob works
ext/File-Glob/TODO File::Glob extension todo list
ext/File-Glob/t/taint.t See if File::Glob works
+ext/Filter-Simple/Changes Filter::Simple
+ext/Filter-Simple/lib/Filter/Simple.pm Simple frontend to Filter::Util::Call
+ext/Filter-Simple/t/data.t See if Filter::Simple works
+ext/Filter-Simple/t/export.t See if Filter::Simple works
+ext/Filter-Simple/t/filter_only.t See if Filter::Simple works
+ext/Filter-Simple/t/filter.t See if Filter::Simple works
+ext/Filter-Simple/t/import.t See if Filter::Simple works
+ext/Filter-Simple/t/lib/Filter/Simple/ExportTest.pm Helper file for Filter::Simple tests
+ext/Filter-Simple/t/lib/Filter/Simple/FilterOnlyTest.pm Helper file for Filter::Simple tests
+ext/Filter-Simple/t/lib/Filter/Simple/FilterTest.pm Helper file for Filter::Simple tests
+ext/Filter-Simple/t/lib/Filter/Simple/ImportTest.pm Helper file for Filter::Simple tests
ext/Filter-Util-Call/Call.pm Filter::Util::Call extension module
ext/Filter-Util-Call/Call.xs Filter::Util::Call extension external subroutines
ext/Filter-Util-Call/filter-util.pl See if Filter::Util::Call works
@@ -2424,13 +2435,6 @@ lib/File/Temp/t/seekable.t See if File::Temp works
lib/File/Temp/t/tempfile.t See if File::Temp works
lib/filetest.pm For "use filetest"
lib/filetest.t See if filetest works
-lib/Filter/Simple/Changes Filter::Simple
-lib/Filter/Simple.pm Simple frontend to Filter::Util::Call
-lib/Filter/Simple/t/data.t See if Filter::Simple works
-lib/Filter/Simple/t/export.t See if Filter::Simple works
-lib/Filter/Simple/t/filter_only.t See if Filter::Simple works
-lib/Filter/Simple/t/filter.t See if Filter::Simple works
-lib/Filter/Simple/t/import.t See if Filter::Simple works
lib/FindBin.pm Find name of currently executing program
lib/FindBin.t See if FindBin works
lib/finddepth.pl A depth-first find emulator--used by find2perl
@@ -4048,10 +4052,6 @@ t/lib/feature/implicit Tests for implicit loading of feature.pm
t/lib/feature/nonesuch Tests for enabling/disabling nonexistent feature
t/lib/feature/say Tests for enabling/disabling say feature
t/lib/feature/switch Tests for enabling/disabling switch feature
-t/lib/Filter/Simple/ExportTest.pm Helper file for Filter::Simple tests
-t/lib/Filter/Simple/FilterOnlyTest.pm Helper file for Filter::Simple tests
-t/lib/Filter/Simple/FilterTest.pm Helper file for Filter::Simple tests
-t/lib/Filter/Simple/ImportTest.pm Helper file for Filter::Simple tests
t/lib/h2ph.h Test header file for h2ph
t/lib/h2ph.pht Generated output from h2ph.h by h2ph, for comparison
t/lib/locale/latin1 Part of locale.t in Latin 1
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index e9fa90bf4f..15c994ff96 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -787,17 +787,10 @@ package Maintainers;
{
'MAINTAINER' => 'smueller',
'DISTRIBUTION' => 'SMUELLER/Filter-Simple-0.84.tar.gz',
- 'FILES' => q[lib/Filter/Simple.pm
- lib/Filter/Simple
- t/lib/Filter/Simple/
- ],
+ 'FILES' => q[ext/Filter-Simple],
'EXCLUDED' => [ qw(Makefile.PL MANIFEST README META.yml),
qr{^demo/}
],
- 'MAP' => { 't/lib/' => 't/lib/',
- 't/' => 'lib/Filter/Simple/t/',
- 'Changes' => 'lib/Filter/Simple/Changes',
- },
'CPAN' => 1,
'UPSTREAM' => "blead",
},
diff --git a/ext/.gitignore b/ext/.gitignore
index 7206d0ab7c..ed4c8aa049 100644
--- a/ext/.gitignore
+++ b/ext/.gitignore
@@ -40,6 +40,7 @@ ppport.h
/Shell/Makefile.PL
/Term-ANSIColor/Makefile.PL
/base/Makefile.PL
+/Filter-Simple/Makefile.PL
# ignore all vim swap files but the one bundled in Module::Pluggable for testing
*.swp
diff --git a/lib/Filter/Simple/Changes b/ext/Filter-Simple/Changes
index 8d2e3cdaec..8d2e3cdaec 100644
--- a/lib/Filter/Simple/Changes
+++ b/ext/Filter-Simple/Changes
diff --git a/lib/Filter/Simple.pm b/ext/Filter-Simple/lib/Filter/Simple.pm
index 135a75dc6f..135a75dc6f 100644
--- a/lib/Filter/Simple.pm
+++ b/ext/Filter-Simple/lib/Filter/Simple.pm
diff --git a/lib/Filter/Simple/t/data.t b/ext/Filter-Simple/t/data.t
index aaf2dca06a..0e67569709 100644
--- a/lib/Filter/Simple/t/data.t
+++ b/ext/Filter-Simple/t/data.t
@@ -1,13 +1,6 @@
BEGIN {
- if( $ENV{PERL_CORE} ) {
- chdir 't';
- @INC = ('../lib', 'lib');
- }
- else {
- unshift @INC, 't/lib/';
- }
+ unshift @INC, 't/lib/';
}
-chdir 't';
use Filter::Simple::FilterOnlyTest qr/ok/ => "not ok", "bad" => "ok";
print "1..6\n";
diff --git a/ext/Filter-Simple/t/export.t b/ext/Filter-Simple/t/export.t
new file mode 100644
index 0000000000..0f4d9b1b69
--- /dev/null
+++ b/ext/Filter-Simple/t/export.t
@@ -0,0 +1,8 @@
+BEGIN {
+ unshift @INC, 't/lib/';
+}
+BEGIN { print "1..1\n" }
+
+use Filter::Simple::ExportTest 'ok';
+
+notok 1;
diff --git a/lib/Filter/Simple/t/filter.t b/ext/Filter-Simple/t/filter.t
index 75c54e7bef..bf35977d64 100644
--- a/lib/Filter/Simple/t/filter.t
+++ b/ext/Filter-Simple/t/filter.t
@@ -1,13 +1,6 @@
BEGIN {
- if( $ENV{PERL_CORE} ) {
- chdir 't';
- @INC = ('../lib', 'lib');
- }
- else {
- unshift @INC, 't/lib/';
- }
+ unshift @INC, 't/lib/';
}
-chdir 't';
use Filter::Simple::FilterTest qr/not ok/ => "ok", fail => "ok";
diff --git a/lib/Filter/Simple/t/filter_only.t b/ext/Filter-Simple/t/filter_only.t
index 3ec855dd05..f30fced6a1 100644
--- a/lib/Filter/Simple/t/filter_only.t
+++ b/ext/Filter-Simple/t/filter_only.t
@@ -1,13 +1,6 @@
BEGIN {
- if( $ENV{PERL_CORE} ) {
- chdir 't';
- @INC = ('../lib', 'lib');
- }
- else {
- unshift @INC, 't/lib/';
- }
+ unshift @INC, 't/lib/';
}
-chdir 't';
use Filter::Simple::FilterOnlyTest qr/not ok/ => "ok",
"bad" => "ok", fail => "die";
diff --git a/ext/Filter-Simple/t/import.t b/ext/Filter-Simple/t/import.t
new file mode 100644
index 0000000000..e5c607051e
--- /dev/null
+++ b/ext/Filter-Simple/t/import.t
@@ -0,0 +1,9 @@
+BEGIN {
+ unshift @INC, 't/lib';
+}
+
+BEGIN { print "1..4\n" }
+
+use Filter::Simple::ImportTest (1..3);
+
+say "not ok 4\n";
diff --git a/t/lib/Filter/Simple/ExportTest.pm b/ext/Filter-Simple/t/lib/Filter/Simple/ExportTest.pm
index 10d764e6b9..10d764e6b9 100644
--- a/t/lib/Filter/Simple/ExportTest.pm
+++ b/ext/Filter-Simple/t/lib/Filter/Simple/ExportTest.pm
diff --git a/t/lib/Filter/Simple/FilterOnlyTest.pm b/ext/Filter-Simple/t/lib/Filter/Simple/FilterOnlyTest.pm
index c10e8ea29f..c10e8ea29f 100644
--- a/t/lib/Filter/Simple/FilterOnlyTest.pm
+++ b/ext/Filter-Simple/t/lib/Filter/Simple/FilterOnlyTest.pm
diff --git a/t/lib/Filter/Simple/FilterTest.pm b/ext/Filter-Simple/t/lib/Filter/Simple/FilterTest.pm
index fab3e2730a..fab3e2730a 100644
--- a/t/lib/Filter/Simple/FilterTest.pm
+++ b/ext/Filter-Simple/t/lib/Filter/Simple/FilterTest.pm
diff --git a/t/lib/Filter/Simple/ImportTest.pm b/ext/Filter-Simple/t/lib/Filter/Simple/ImportTest.pm
index 4276a9fd09..4276a9fd09 100644
--- a/t/lib/Filter/Simple/ImportTest.pm
+++ b/ext/Filter-Simple/t/lib/Filter/Simple/ImportTest.pm
diff --git a/lib/.gitignore b/lib/.gitignore
index 57cc638a4d..47343639e4 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -22,6 +22,7 @@
/Fcntl.pm
/File/Glob.pm
/File/GlobMapper.pm
+/Filter/Simple.pm
/Filter/Util
/GDBM_File.pm
/Hash
diff --git a/lib/Filter/Simple/t/export.t b/lib/Filter/Simple/t/export.t
deleted file mode 100644
index 5718442475..0000000000
--- a/lib/Filter/Simple/t/export.t
+++ /dev/null
@@ -1,16 +0,0 @@
-BEGIN {
- if( $ENV{PERL_CORE} ) {
- chdir 't';
- @INC = ('../lib', 'lib');
- }
- else {
- unshift @INC, 't/lib/';
- }
-}
-chdir 't';
-
-BEGIN { print "1..1\n" }
-
-use Filter::Simple::ExportTest 'ok';
-
-notok 1;
diff --git a/lib/Filter/Simple/t/import.t b/lib/Filter/Simple/t/import.t
deleted file mode 100644
index 755af74dd6..0000000000
--- a/lib/Filter/Simple/t/import.t
+++ /dev/null
@@ -1,17 +0,0 @@
-BEGIN {
- if( $ENV{PERL_CORE} ) {
- chdir 't';
- @INC = ('../lib', 'lib');
- }
- else {
- unshift @INC, 't/lib';
- }
-}
-chdir 't';
-
-BEGIN { print "1..4\n" }
-
-use lib 'lib';
-use Filter::Simple::ImportTest (1..3);
-
-say "not ok 4\n";