r47468 - in /trunk/liblocal-lib-perl: Changes MANIFEST META.yml debian/changelog lib/local/lib.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu Nov 19 16:14:18 UTC 2009
Author: jawnsy-guest
Date: Thu Nov 19 16:14:13 2009
New Revision: 47468
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47468
Log:
New upstream release
Modified:
trunk/liblocal-lib-perl/Changes
trunk/liblocal-lib-perl/MANIFEST
trunk/liblocal-lib-perl/META.yml
trunk/liblocal-lib-perl/debian/changelog
trunk/liblocal-lib-perl/lib/local/lib.pm
Modified: trunk/liblocal-lib-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocal-lib-perl/Changes?rev=47468&op=diff
==============================================================================
--- trunk/liblocal-lib-perl/Changes (original)
+++ trunk/liblocal-lib-perl/Changes Thu Nov 19 16:14:13 2009
@@ -1,4 +1,13 @@
Revision history for local::lib
+
+1.004009 2009-11-07
+
+ - Fix warning if your $ENV{PERL5LIB} is undef
+
+ - Doc improvement from kgish/#perl-help at irc.perl.org
+
+ - t0m and chrisa on #local-lib at irc.perl.org pointed out a PERL5LIB ordering issue
+ with C<--self-contained>.
1.004008 2009-10-13
Modified: trunk/liblocal-lib-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocal-lib-perl/MANIFEST?rev=47468&op=diff
==============================================================================
--- trunk/liblocal-lib-perl/MANIFEST (original)
+++ trunk/liblocal-lib-perl/MANIFEST Thu Nov 19 16:14:13 2009
@@ -15,10 +15,10 @@
MANIFEST This list of files
META.yml
t/classmethod.t
-t/pipeline.t
t/dist/EUMM/lib/EUMM.pm
t/dist/EUMM/Makefile.PL
t/dist/MB/Build.PL
t/dist/MB/lib/MB.pm
t/install.t
+t/pipeline.t
eg/scripted_install.pl
Modified: trunk/liblocal-lib-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocal-lib-perl/META.yml?rev=47468&op=diff
==============================================================================
--- trunk/liblocal-lib-perl/META.yml (original)
+++ trunk/liblocal-lib-perl/META.yml Thu Nov 19 16:14:13 2009
@@ -28,4 +28,4 @@
perl: 5.8.1
resources:
license: http://dev.perl.org/licenses/
-version: 1.004008
+version: 1.004009
Modified: trunk/liblocal-lib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocal-lib-perl/debian/changelog?rev=47468&op=diff
==============================================================================
--- trunk/liblocal-lib-perl/debian/changelog (original)
+++ trunk/liblocal-lib-perl/debian/changelog Thu Nov 19 16:14:13 2009
@@ -1,3 +1,9 @@
+liblocal-lib-perl (1.004009-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org> Thu, 19 Nov 2009 07:50:58 -0500
+
liblocal-lib-perl (1.004008-1) unstable; urgency=low
* Initial Release. (Closes: #533470)
Modified: trunk/liblocal-lib-perl/lib/local/lib.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocal-lib-perl/lib/local/lib.pm?rev=47468&op=diff
==============================================================================
--- trunk/liblocal-lib-perl/lib/local/lib.pm (original)
+++ trunk/liblocal-lib-perl/lib/local/lib.pm Thu Nov 19 16:14:13 2009
@@ -11,7 +11,7 @@
use Carp ();
use Config;
-our $VERSION = '1.004008'; # 1.4.7
+our $VERSION = '1.004009'; # 1.4.9
my @KNOWN_FLAGS = (qw/--self-contained/);
sub import {
@@ -21,7 +21,7 @@
DEATH
# Remember what PERL5LIB was when we started
- my $perl5lib = $ENV{PERL5LIB};
+ my $perl5lib = $ENV{PERL5LIB} || '';
my %arg_store;
for my $arg (@args) {
@@ -55,11 +55,11 @@
# over privlibexp and archlibexp
@INC = _uniq(
+ $class->install_base_arch_path($arg_store{path}),
$class->install_base_perl_path($arg_store{path}),
- $class->install_base_arch_path($arg_store{path}),
split( $Config{path_sep}, $perl5lib ),
+ $Config::Config{archlibexp},
$Config::Config{privlibexp},
- $Config::Config{archlibexp}
);
# We explicitly set PERL5LIB here to the above de-duped list to prevent
@@ -453,9 +453,27 @@
echo 'eval $(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)' >>~/.bashrc
After writing your shell configuration file, be sure to re-read it to get the
-changed settings into your current shell's environment. Bourne shells use C<.
-~/.bashrc> for this, whereas C shells use C<source ~/.cshrc>. Replace .bashrc or
-.cshrc with the name of the file you wrote above with the echo command.
+changed settings into your current shell's environment.
+
+ . ~/.bashrc
+
+If you are using C shell, you can do this as follows:
+
+ /bin/csh
+ echo $SHELL
+ /bin/csh
+ perl -I$HOME/perl5/lib/perl5 -Mlocal::lib >> ~/.cshrc
+
+ source ~/.cshrc
+
+You can also pass --bootstrap=~/foo to get a different location -
+
+ perl Makefile.PL --bootstrap=~/foo
+ make test && make install
+
+ echo 'eval $(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)' >> ~/.bashrc
+
+ . ~/.bashrc
If you're on a slower machine, or are operating under draconian disk space
limitations, you can disable the automatic generation of manpages from POD when
@@ -767,6 +785,10 @@
=head1 CONTRIBUTORS
+Chris Nehren <apeiron at cpan.org> now oversees maintenance of local::lib, in
+addition to providing doc patches and bootstrap fixes to prevent users from
+shooting themselves in the foot (it's more likely than you think).
+
Patches to correctly output commands for csh style shells, as well as some
documentation additions, contributed by Christopher Nehren <apeiron at cpan.org>.
@@ -789,6 +811,12 @@
Patch to add Win32 support contributed by Curtis Jewell <csjewell at cpan.org>.
+kgish/#perl-help at irc.perl.org suggested revamping the section on sourcing the
+shell file to make it clearer to those quickly reading the POD.
+
+t0m and chrisa on #local-lib at irc.perl.org pointed out a PERL5LIB ordering issue
+with C<--self-contained>.
+
=head1 COPYRIGHT
Copyright (c) 2007 - 2009 the local::lib L</AUTHOR> and L</CONTRIBUTORS> as
More information about the Pkg-perl-cvs-commits
mailing list