I;m attaching an ebuild for module Daemon-Control in perl that I tried the other day Reproducible: Always
Created attachment 358888 [details] Daemon-Control-0.001004.ebuild
Just a heads up. In Gentoo, we have to normalise perl module versions, because Perl version sematics are almost opposite to Gentoo version sematics, and as such, Perl modules are a special case where the recommendation is *NOT* to match upstream versioning closely. There's a tool that makes this straightforward, dev-perl/Gentoo-PerlMod-Version > $ gentoo-perlmod-version.pl 0.001004 > 0.001004 => 0.1.4 So Daemon-Control-0.001004 should enter Gentoo as Daemon-Control-0.1.4.ebuild
Looking at https://metacpan.org/source/SYMKAT/Daemon-Control-0.001004/META.yml also indicates you've missed a few dependencies: DEPEND should include >=virtual/perl-ExtUtils-MakeMaker-6.590.0 or it may silently fail on <=perl-5.15 RDEPEND and DEPEND should both include >=virtual/perl-File-Path-2.08 , or it will likely fail on <=perl-5.11 ( which is masked for removal, but still in tree )
Oh, And DESCRIPTION= should just be DESCRIPTION="Create init scripts in Perl" Otherwise stuff like eix -c dev-perl/Daemon-Control will say: [N] dev-perl/Daemon-Control (~0.1.4): Perl Daemon-Control - Create init scripts in Perl ^ which is redundant information.
thanks for the tips, I just wanted to install it via portage and not via cpan, I've assumed that someone will take the lead on this. btw, is there a script that creates such perl modules ebuilds, from what I can understand it is quite straight forward creating a basic ebuild
there is app-portage/g-cpan, but the quality of ebuilds it produces are not really portage-tree suitable. If you're primarily doing perl development however, the recommendation is that you *NOT* rely on the Gentoo toolchain for that. If you're doing that, there are 2 recommended approaches: 1. Install a perl in ~/ using dev-perl/App-perlbrew from ::perl-experimental{,-snapshots} 2. Use dev-perl/local-lib ( also ::perl-experimental{,-snapshots} ) to provide a user-oriented install path. And the recommendation is that you use one of the above in conjunction with dev-perl/App-cpanminus, and install and develop things using a strictly CPAN toolchain.
taking it, opened a pull request on the perl-experimental overlay https://github.com/gentoo-perl/perl-experimental/pull/20
Is anyone still interested in this? Where is it used?
Seems not.