Summary: | app-portage/g-cpan: generated ebuild package version reference fixed in source code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Pickworth <ian> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ostroffjh, perl, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch to substitute packge version during src_prepare
Patch to substitute packge version during src_prepare |
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}
|
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.