Created attachment 790166 [details, diff] Patch to substitute packge version during src_prepare g-cpan generated package files include a line that references the package version - for example: # This ebuild generated by g-cpan 0.17.0 This version number is hard coded in the lib/App/gcpan.pm source file, for example: our $VERSION = '0.17.0'; This bug report presents a patch to the g-cpan ebuild that edits this line during the src_prepare() phase, so that it matches the full package version.
This issue was raised while addressing https://bugs.gentoo.org/819513
Created attachment 790169 [details, diff] Patch to substitute packge version during src_prepare Initial patch substituted ${PVR}. However, the $VERSION variable has to be numeric only - so patch changed to only use ${PV}