deb.perl.it - bridging CPAN and Debian → step2
To make the Debian-Perl module look-up more useful, there are now install instructions included. That means that all non-packaged CPAN dependencies and also all packaged ones are listed and it's clear what can be installed from packages and what needs to be installed from CPAN. Here's an example for App::TimeTracker:
sudo apt-get install libexception-class-perl libclass-accessor-perl libmoosex-role-parameterized-perl libjson-perl libnamespace-autoclean-perl libtry-tiny-perl libtest-trap-perl libtest-most-perl libtest-file-perl librt-client-rest-perl libpath-class-perl libmoosex-types-path-class-perl libmoosex-storage-perl libmoosex-getopt-perl libmoose-perl libmodule-build-perl libtest-mock-lwp-perl libjson-xs-perl libio-capture-perl libhash-merge-perl libgit-repository-perl libfile-homedir-perl libfile-find-rule-perl r-base-core-ra perl-modules libdigest-sha1-perl libdatetime-format-iso8601-perl libdatetime-format-duration-perl libdatetime-perl perl perl-base
sudo cpan -i Iterator Path::Class::Iterator MooseX::Storage::Format::JSONpm App::TimeTracker
Just a note that this works fine for Debian stable+testing+unstable. Which is not so common. Most installations will be stable or testing+unstable. Once Debian Wheeze (7.0) will become stable (hopefully soon) I'll split that search to two - one for Debian stable and one for Debian testing+unstable.
Nice work! And I like the example :-)
My module does have dependencies but unlike in your given example, the install instructions don't suggest any "apt-get install" but only the cpan command:
http://deb.perl.it/debian/cpan-deb/#q=EBook%3A%3AMOBI
But (for example) File::Temp should be installed by apt in this case I would think. It is available as .deb "libfile-temp-perl" in the specified version.
If there is one... where is the bug?
( for any case, my repo is here: https://github.com/borisdaeppen/EBook--MOBI )
File::Temp is in core, so unless you need a more recent version perl-core will satisfy that dependency.
You are welcome, thanks for App::TimeTracker! We should ask Debian-Perl group to package it for Debian.
Hi Boris,
it turned out that the dependency index I am using is from "Sat, 01 Oct 2011 23:27:16 GMT". At that time your module did not exist at all and so there are no proper install instructions for your module or for any other distribution/module before that date.
I've created github issue for this: https://github.com/jozef/Debian-Apt-PM/issues/5
Thanks for reporting!
Jozef
Bug fixed now and install instructions should be up-to-date.