I'm generating the ebuild for Alien-SVN using g-cpan but the resulting ebuild failed to build. The problem is that the generated ebuild use version `1.8.11.0` but the cpan module use `v1.8.11.0`, so the resulting SRC_URI and extracted path are differents. To workaround this issue, I simply changed Reproducible: Always Steps to Reproduce: 1. g-cpan --install SVN::Client # fails 2. # fetch fails 3. replace MODULE_VERSION="1.8.11.0" with MODULE_VERSION="v1.8.11.0" 4. # fetch ok Actual Results: Modules fetch fails Expected Results: Modules fetches sources and start compiling The compilation is running right now, still don't know if it compiles ok in the end.
Created attachment 652448 [details, diff] patch to handle 'v' versions Came up with a patch that preserves the CPAN version if it includes the v prefix and uses this for MODULE_VERSION instead of the portage-modified version. Also created a github PR.