Permalink
Browse files

Hopefully this patch fixes all the paths to point to mylib instead of

lib.  Developers and just plain folk who have CVS trees will need to
remove their lib directories and "cvs update -dP ." to reflect the new
mylib directory.  There will be more files moved around shortly.
  • Loading branch information...
1 parent 7ba2420 commit f2eda0ec3ed33d2bd06bffeff6152710b15a6d41 @rcaputo committed Jan 29, 2004
View
@@ -62,25 +62,25 @@ POE/Wheel/Run.pm
POE/Wheel/SocketFactory.pm
README
TODO
-lib/Build.PL
-lib/Devel/Null.pm
-lib/Devel/Trace.pm
-lib/ExtUtils/AutoInstall.pm
-lib/Makefile-5004.pm
-lib/Makefile-5005.pm
-lib/MyOtherFreezer.pm
-lib/Test/Harness.pm
-lib/Test/Harness/Assert.pm
-lib/Test/Harness/Iterator.pm
-lib/Test/Harness/Straps.pm
-lib/TestSetup.pm
-lib/coverage.perl
-lib/cpan-test.perl
-lib/cvs-log.perl
-lib/deptest.perl
-lib/events_per_second.pl
-lib/reportupload.pl
-lib/testreport.pl
+mylib/Build.PL
+mylib/Devel/Null.pm
+mylib/Devel/Trace.pm
+mylib/ExtUtils/AutoInstall.pm
+mylib/Makefile-5004.pm
+mylib/Makefile-5005.pm
+mylib/MyOtherFreezer.pm
+mylib/Test/Harness.pm
+mylib/Test/Harness/Assert.pm
+mylib/Test/Harness/Iterator.pm
+mylib/Test/Harness/Straps.pm
+mylib/TestSetup.pm
+mylib/coverage.perl
+mylib/cpan-test.perl
+mylib/cvs-log.perl
+mylib/deptest.perl
+mylib/events_per_second.pl
+mylib/reportupload.pl
+mylib/testreport.pl
samples/create.perl
samples/fakelogin.perl
samples/filterchange.perl
View
@@ -17,10 +17,10 @@ if ($@) {
"\n",
);
- require "./lib/Makefile-5004.pm";
+ require "./mylib/Makefile-5004.pm";
}
else {
- require "./lib/Makefile-5005.pm";
+ require "./mylib/Makefile-5005.pm";
}
0;
View
5 NEEDS
@@ -51,7 +51,8 @@ t/08_errors.t is data
# This bundled module contains C< use Acme::KillerApp > in its
# documentation which is confusing the NEEDS parser.
-lib/ExtUtils/AutoInstall.pm is data
+mylib::* is data
+mylib/* is data
# Soft dependencies are the exception. Set them explicitly.
@@ -63,6 +64,6 @@ POE::Filter::Reference wants Compress::Zlib
* wants POE::NonExistent
POE::Wheel::Run wants IO::Pty
-lib/deptest.perl wants File::Spec
+mylib/deptest.perl wants File::Spec
# End.
View
@@ -7,21 +7,21 @@ use ExtUtils::MakeMaker;
sub MY::test {
package MY;
- "\ntest ::\n\t\$(FULLPERL) ./lib/deptest.perl\n" . shift->SUPER::test(@_);
+ "\ntest ::\n\t\$(FULLPERL) ./mylib/deptest.perl\n" . shift->SUPER::test(@_);
}
sub MY::postamble {
return <<EOF;
reportupload: poe_report.xml
- perl lib/reportupload.pl
+ perl mylib/reportupload.pl
uploadreport: poe_report.xml
- perl lib/reportupload.pl
+ perl mylib/reportupload.pl
testreport: poe_report.xml
poe_report.xml: Makefile
- perl lib/testreport.pl
+ perl mylib/testreport.pl
EOF
}
@@ -36,7 +36,7 @@ WriteMakefile
dist =>
{ COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
- PREOP => ( './lib/cvs-log.perl | ' .
+ PREOP => ( './mylib/cvs-log.perl | ' .
'tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES'
),
},
@@ -49,15 +49,6 @@ WriteMakefile
Filter::Util::Call => 1.04,
Test::More => 0,
},
-
- # Remove 'lib', which should have been named 'privlib'. The 'lib'
- # directory in this distribution is for private stuff needed to
- # build and test POE. Those things should not be installed! At
- # some point SourceForge will open up shell access to my CVS tree
- # there, and I will be able to rename the directories within the
- # repository without losing revision histories. When that
- # happens, I'll rename the 'lib' driectory to 'privlib'.
-
PMLIBDIRS => [ 'POE' ],
clean => {
FILES => 'poe_report.xml test-output.err coverage.report',
View
@@ -3,7 +3,7 @@
use strict;
-use lib qw(./lib);
+use lib qw(./mylib);
use ExtUtils::MakeMaker;
# Switch to default behavior if STDIN isn't a tty.
@@ -33,7 +33,7 @@ if ($@) {
"==================================================================\n",
"\n",
);
- eval "require './lib/ExtUtils/AutoInstall.pm'";
+ eval "require './mylib/ExtUtils/AutoInstall.pm'";
die if $@;
}
@@ -127,15 +127,15 @@ sub MY::postamble {
return ExtUtils::AutoInstall::postamble() .
<<EOF;
reportupload: poe_report.xml
- $^X lib/reportupload.pl
+ $^X mylib/reportupload.pl
uploadreport: poe_report.xml
- $^X lib/reportupload.pl
+ $^X mylib/reportupload.pl
testreport: poe_report.xml
poe_report.xml: Makefile
- $^X lib/testreport.pl
+ $^X mylib/testreport.pl
ppmdist: pm_to_blib
\$(TAR) --exclude '*/man[13]*' -cvf \\
@@ -163,7 +163,7 @@ WriteMakefile(
COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
PREOP => (
- './lib/cvs-log.perl | ' .
+ './mylib/cvs-log.perl | ' .
'tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES'
),
},
@@ -182,7 +182,7 @@ WriteMakefile(
},
# But we're not generating META.yml here. Rather, we're using
- # lib/Build.PL for that. In the future, we should use one or the
+ # mylib/Build.PL for that. In the future, we should use one or the
# other, because it sucks needing to remember to run lib/Build.PL
# before every release.
NO_META => 1,
View
@@ -5,7 +5,7 @@
# coverage.
use strict;
-use lib qw( . .. ../lib );
+use lib qw( . .. ../mylib );
sub DEBUG () { 0 } # skip running tests to better debug this one
sub UNLINK () { 1 } # unlink coverage files when done (disable for testing)
@@ -70,7 +70,7 @@ sub wanted {
# System returns 0 on success.
my $result =
system( '/usr/bin/perl',
- '-Ilib', '-I../lib', '-I.', '-I..', '-d:Trace', $test_file
+ '-Imylib', '-I../mylib', '-I.', '-I..', '-d:Trace', $test_file
);
warn "error running $test_file: ($result) $!" if $result;
}
View
@@ -74,9 +74,10 @@ =head1 AUTHOR
my $output;
$output = <$sock>; # for debug purposes
if($output =~ /Test Submission/) {
- print( "Report upload succeeded. Thank you for your contribution.\n",
- "Please visit http://eekeek.org/poe-tests/ to see other tests.\n"
- );
+ print(
+ "Report upload succeeded. Thank you for your contribution.\n",
+ "Please visit http://eekeek.org/poe-tests/ to see other results.\n"
+ );
} else {
print "Report upload failed.\n";
}
View
@@ -21,7 +21,7 @@ =head1 AUTHOR
=cut
package My::Strap;
-use lib qw(../lib ../ ./lib ./);
+use lib qw(../mylib ../ ./mylib ./);
use Test::Harness;
use base qw(Test::Harness::Straps);
use Sys::Hostname;
@@ -6,7 +6,7 @@
"has been replaced by proper tests in POE's distribution. If you\n",
"were looking for an example use of POE::Wheel::SocketFactory,\n",
"please see <http://poe.perl.org/?POE_Cookbook> instead. Many of\n",
- "the examples there use SocketFactory or the new, improved Client\n",
- "and Server TCP components.\n",
+ "the examples there explain SocketFactory or the new, improved\n",
+ "Client and Server TCP components.\n",
"***************************************************************\n"
);
View
@@ -5,7 +5,7 @@
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -6,7 +6,7 @@
# the FreeBSD LINT kernel configuration.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
View
@@ -5,7 +5,7 @@
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -5,7 +5,7 @@
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup qw(ok not_ok ok_if ok_unless results test_setup);
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -5,7 +5,7 @@
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -5,7 +5,7 @@
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -4,7 +4,7 @@
# Tests basic macro features.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -6,7 +6,7 @@
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use Symbol;
use TestSetup;
View
@@ -5,7 +5,7 @@
# loop.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use Symbol;
use TestSetup;
View
@@ -5,7 +5,7 @@
# depends on ASSERT_DEFAULT being 0. All the other tests enable it.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 0 }
View
@@ -4,7 +4,7 @@
# Exercises the wheels commonly used with UNIX domain sockets.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -4,7 +4,7 @@
# Exercises the wheels commonly used with TCP sockets.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -5,7 +5,7 @@
# plain Perl signals, so mileage may vary.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -5,7 +5,7 @@
# plain Perl signals, so mileage may vary.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -4,7 +4,7 @@
# Exercises the wheels commonly used with UDP sockets.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
View
@@ -5,7 +5,7 @@
# -><- Needs tests for Seek and SeekBack.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use Socket;
use TestSetup;
View
@@ -5,7 +5,7 @@
# are looking a lot easier.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use TestSetup;
View
@@ -4,7 +4,7 @@
# Exercises Filter::Stream without the rest of POE.
use strict;
-use lib qw(./lib ../lib .. .);
+use lib qw(./mylib ../mylib .. .);
use POE::Filter::Stream;
Oops, something went wrong.

0 comments on commit f2eda0e

Please sign in to comment.