Skip to content

Commit

Permalink
move setting a version from g-cpan to App::gcpan
Browse files Browse the repository at this point in the history
  • Loading branch information
bor committed Nov 23, 2016
1 parent 70e19c6 commit cb621a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ my %args = (
NAME => 'g-cpan',
ABSTRACT => 'Install modules from CPAN in a portage friendly way',
AUTHOR => 'Michael Cummings <mcummings@gentoo.org>, Robin H. Johnson <robbat2@gentoo.org>',
VERSION_FROM => 'bin/g-cpan',
VERSION_FROM => 'lib/App/gcpan.pm',
LICENSE => 'gpl',
EXE_FILES => ['bin/g-cpan'],
PREREQ_PM => {
Expand Down
2 changes: 1 addition & 1 deletion bin/g-cpan
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use Gentoo::UI::Console;

Getopt::Long::Configure('bundling');

our $VERSION = "0.16.9";
our $VERSION = App::gcpan->VERSION();
my $prog = basename($0);

##### Establish our tmpdir
Expand Down
1 change: 1 addition & 0 deletions lib/App/gcpan.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use warnings;

use Gentoo::Portage::Q;

our $VERSION = '0.16.9';

=head1 METHODS
Expand Down

0 comments on commit cb621a8

Please sign in to comment.