Permalink
Browse files

always set MODULE_VERSION in ebuild, this fix bugs like #355619

  • Loading branch information...
1 parent b1ca97b commit c464ccf61b23942a591110f11386992f9e6fcedd @bor committed Jun 1, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/g-cpan
View
2 bin/g-cpan 100644 → 100755
@@ -717,6 +717,7 @@ sub generatePackageInfo
}
}
+ my $module_version = $gcpan_run->{cpan}{lc($original_ebuild)}{version};
my $description = $gcpan_run->{'cpan'}{lc($original_ebuild)}{'description'};
print $EBUILD <<"HERE";
@@ -727,6 +728,7 @@ sub generatePackageInfo
EAPI="2"
MODULE_AUTHOR="$module_author"
+MODULE_VERSION="$module_version"
$module_a_ext
$module_section
inherit perl-module

0 comments on commit c464ccf

Please sign in to comment.