[SCM] Debian package checker branch, master, updated. 2.3.4-50-g7610c46
The following commit has been merged in the master branch:
commit e551c28ed8174f8bd8ea9462c99a61c6d293165c
Author: Raphael Geissert <atomo64@gmail.com>
Date: Sat Mar 20 21:29:21 2010 -0600
Rename Lintian::PDepMap to Lintian::DepMap::Properties
diff --git a/frontend/lintian b/frontend/lintian
index e488ee2..1a2616a 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1085,9 +1085,9 @@ if ($action eq 'check') {
# }}}
-require Lintian::PDepMap;
+require Lintian::DepMap::Properties;
-my $map = Lintian::PDepMap->new();
+my $map = Lintian::DepMap::Properties->new();
# {{{ determine which info is needed by the collection scripts
for my $c (keys %unpack_infos) {
diff --git a/lib/Lintian/PDepMap.pm b/lib/Lintian/DepMap/Properties.pm
similarity index 87%
rename from lib/Lintian/PDepMap.pm
rename to lib/Lintian/DepMap/Properties.pm
index bce7345..7d4335d 100644
--- a/lib/Lintian/PDepMap.pm
+++ b/lib/Lintian/DepMap/Properties.pm
@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.
-package Lintian::PDepMap;
+package Lintian::DepMap::Properties;
use strict;
use warnings;
@@ -23,18 +23,18 @@ my ($properties);
=head1 NAME
-Lintian::PDepMap - Dependencies with properties map/tree creator
+Lintian::DepMap::Properties - Dependencies with properties map/tree creator
=head1 SYNOPSIS
- use Lintian::PDepMap;
+ use Lintian::DepMap::Properties;
- my $map = Lintian::DepMap->new();
+ my $map = Lintian::DepMap::Properties->new();
=head1 DESCRIPTION
-Lintian::PDepMap is a simple layer between Lintian::DepMap and the
+Lintian::DepMap::Properties is a simple layer between Lintian::DepMap and the
application allowing nodes to have application-defined properties.
@@ -42,7 +42,7 @@ application allowing nodes to have application-defined properties.
=item new()
-Creates a new Lintian::PDepMap object and returns a reference to it.
+Creates a new Lintian::DepMap::Properties object and returns a reference to it.
=cut
diff --git a/t/scripts/Lintian/PDepMap/00construct.t b/t/scripts/Lintian/DepMap/Properties/00construct.t
similarity index 79%
rename from t/scripts/Lintian/PDepMap/00construct.t
rename to t/scripts/Lintian/DepMap/Properties/00construct.t
index f2c7d9e..f9238b8 100644
--- a/t/scripts/Lintian/PDepMap/00construct.t
+++ b/t/scripts/Lintian/DepMap/Properties/00construct.t
@@ -2,11 +2,11 @@
use Test::More qw(no_plan);
-BEGIN { use_ok('Lintian::PDepMap'); }
+BEGIN { use_ok('Lintian::DepMap::Properties'); }
my $map;
-ok(eval { $map = Lintian::PDepMap->new(); }, 'Create');
+ok(eval { $map = Lintian::DepMap::Properties->new(); }, 'Create');
my %prop = (name => 'John Doe', age => 20);
--
Debian package checker
Reply to: