r46445 - in /trunk/libcpandb-perl: Changes META.yml debian/changelog lib/CPANDB.pm script/cpangraph

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Oct 27 02:58:37 UTC 2009


Author: jawnsy-guest
Date: Tue Oct 27 02:58:32 2009
New Revision: 46445

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46445
Log:
update to new upstream release, which includes some fixed pods

Modified:
    trunk/libcpandb-perl/Changes
    trunk/libcpandb-perl/META.yml
    trunk/libcpandb-perl/debian/changelog
    trunk/libcpandb-perl/lib/CPANDB.pm
    trunk/libcpandb-perl/script/cpangraph

Modified: trunk/libcpandb-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpandb-perl/Changes?rev=46445&op=diff
==============================================================================
--- trunk/libcpandb-perl/Changes (original)
+++ trunk/libcpandb-perl/Changes Tue Oct 27 02:58:32 2009
@@ -1,4 +1,7 @@
 Changes for Perl extension CPANDB
+
+0.12
+	- Added documentation for cpangraph (in POD)
 
 0.11 Thu  1 Oct 2009
 	- Updating ORLite::Statistics dependency to 0.03

Modified: trunk/libcpandb-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpandb-perl/META.yml?rev=46445&op=diff
==============================================================================
--- trunk/libcpandb-perl/META.yml (original)
+++ trunk/libcpandb-perl/META.yml Tue Oct 27 02:58:32 2009
@@ -33,4 +33,4 @@
   ChangeLog: http://fisheye2.atlassian.com/changelog/cpan/trunk/CPANDB
   license: http://dev.perl.org/licenses/
   repository: http://svn.ali.as/cpan/trunk/CPANDB
-version: 0.11
+version: 0.12

Modified: trunk/libcpandb-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpandb-perl/debian/changelog?rev=46445&op=diff
==============================================================================
--- trunk/libcpandb-perl/debian/changelog (original)
+++ trunk/libcpandb-perl/debian/changelog Tue Oct 27 02:58:32 2009
@@ -1,5 +1,5 @@
-libcpandb-perl (0.11-1) UNRELEASED; urgency=low
+libcpandb-perl (0.12-1) UNRELEASED; urgency=low
 
   * Initial Release (Closes: #537301)
 
- -- Jonathan Yu <jawnsy at cpan.org>  Sat, 03 Oct 2009 12:28:41 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Mon, 26 Oct 2009 19:27:23 -0400

Modified: trunk/libcpandb-perl/lib/CPANDB.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpandb-perl/lib/CPANDB.pm?rev=46445&op=diff
==============================================================================
--- trunk/libcpandb-perl/lib/CPANDB.pm (original)
+++ trunk/libcpandb-perl/lib/CPANDB.pm Tue Oct 27 02:58:32 2009
@@ -8,7 +8,7 @@
 use ORLite::Mirror       ();
 use CPANDB::Distribution ();
 
-our $VERSION = '0.11';
+our $VERSION = '0.12';
 
 sub import {
 	my $class  = shift;

Modified: trunk/libcpandb-perl/script/cpangraph
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpandb-perl/script/cpangraph?rev=46445&op=diff
==============================================================================
--- trunk/libcpandb-perl/script/cpangraph (original)
+++ trunk/libcpandb-perl/script/cpangraph Tue Oct 27 02:58:32 2009
@@ -6,7 +6,16 @@
 use Time::HiRes  ();
 use Getopt::Long ();
 
-our $VERSION = '0.11';
+=head1 NAME
+
+cpangraph - Generate dependency chain graphs for CPAN modules
+
+=head1 VERSION
+
+Version 0.12
+
+=cut
+our $VERSION = '0.12';
 
 use CPANDB ();
 
@@ -16,6 +25,79 @@
 my $VERBOSE = 0;
 my $RANKDIR = 0;
 my $REVERSE = 0;
+
+=head1 SYNOPSIS
+
+  cpangraph [options] <file>
+
+    Options:
+      --help            display a brief help message
+      --perl=VERSION    filter those available in Perl core
+      --phase=PHASE     filter those needed for a phase (e.g., build)
+      --rankdir         controls the GraphViz 'rankdir' variable
+      --reverse         graph reverse dependencies (dependents)
+      --verbose         display additional debugging information
+
+=head1 OPTIONS
+
+=over
+
+=item B<--help>
+
+Prints a brief help message to the standard output and exits.
+
+=item B<--perl>=VERSION
+
+This displays dependencies which have been available in Perl core since
+the given VERSION. It does not currently know if a module has been removed
+from core, but this is an unlikely occurrence. Specify Perl versions in
+the form:
+
+  5.008008 # for versions >= 5.8.8
+  5.010    # for versions >= 5.10
+
+=item B<--phase>=PHASE
+
+This displays dependencies which are needed for a given module's install
+or runtime PHASE. Available phases are:
+
+=over
+
+=item * runtime: required whenever the module is used
+
+=item * build: required to build the module
+
+=item * configure: these are required while preparing the module for
+build
+
+=back
+
+=item B<--rankdir>
+
+In GraphViz, the 'rankdir' attribute controls the direction that the nodes
+are linked together. If set, the graph will use left -> right linking of
+nodes rather than the default up-down linking.
+
+=item B<--reverse>
+
+Create a graph of the reverse dependencies of a package (the packages which
+depend on it, or dependent packages).
+
+=item B<--verbose>
+
+Display extra output useful during debugging.
+
+=back
+
+=cut
+
+=head1 DESCRIPTION
+
+B<This script> will use the CPAN Database to build a graph of a package's
+dependencies or reverse dependencies (dependent packages).
+
+=cut
+
 Getopt::Long::GetOptions(
 	'perl=s'  => \$PERL,
 	'phase=s' => \$PHASE,
@@ -55,3 +137,18 @@
 	phase   => $PHASE,
 	rankdir => $RANKDIR,
 )->as_svg("$file.svg");
+
+=head1 AUTHOR
+
+Adam Kennedy E<lt>adamk at cpan.orgE<gt>
+
+=head1 SUPPORT
+
+For support details, please look at C<perldoc CPANDB> and use the
+corresponding support methods.
+
+=head1 LICENSE
+
+This has the same copyright and licensing terms as L<CPANDB>.
+
+=cut




More information about the Pkg-perl-cvs-commits mailing list