Gentoo Archives: gentoo-commits

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/perl-overlay:master commit in: scripts/lib/dep/
Date: Mon, 31 Oct 2011 08:47:49
Message-Id: 501420324cccf8c685c48483868834ec7b2efa7f.kent@gentoo
1 commit: 501420324cccf8c685c48483868834ec7b2efa7f
2 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 31 07:28:36 2011 +0000
4 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
5 CommitDate: Mon Oct 31 07:28:36 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=50142032
7
8 [scripts/lib/dep/provided.pm] handle a provider having no version
9
10 ---
11 scripts/lib/dep/provided.pm | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/scripts/lib/dep/provided.pm b/scripts/lib/dep/provided.pm
15 index 19c058e..c5999b1 100644
16 --- a/scripts/lib/dep/provided.pm
17 +++ b/scripts/lib/dep/provided.pm
18 @@ -11,7 +11,7 @@ use Moose;
19 require dep::module;
20
21 has 'distribution' => ( isa => 'Defined', is => 'rw', required => 1 );
22 -has 'version' => ( is => 'rw', required => 1 );
23 +has 'version' => ( isa => 'Maybe[Str]', is => 'rw', default => sub { undef } );
24 has 'maturity' => ( is => 'rw', required => 1 );
25 has 'status' => ( is => 'rw', required => 1 );
26 has 'gv' => ( is => 'rw', lazy_build => 1 );