commit: 4789b645559d63cf8ec771d76cd66f9fd7937db0 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com> AuthorDate: Sun Jun 21 00:24:35 2015 +0000 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com> CommitDate: Sun Jun 21 00:24:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/perl-overlay.git/commit/?id=4789b645
[eclass] perl-module.eclass can now guess MODULE_VERSION from PV using perl-version-denormalize + MODULE_VERSION_SCHEME eclass/perl-module.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index f714e13..3c7702c 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -38,6 +38,11 @@ yes) ;; esac +if [[ -z "${MODULE_VERSION}" && -n "${MODULE_VERSION_SCHEME}" ]]; then + inherit perl-version + MODULE_VERSION=$( perl-version-denormalize ${MY_PV:-${PV}} $MODULE_VERSION_SCHEME ) +fi + case "${PERL_EXPORT_PHASE_FUNCTIONS:-yes}" in yes) EXPORT_FUNCTIONS ${PERL_EXPF}