[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building packages recursively, including newer versions of modules



On Sun, 30 Nov 2014 19:00:18 +0000, Andrew Beverley wrote:

> I've been trying to use dh-make-perl to build the package. I've been
> calling it with:
> 
>     cpan2deb --recursive Dancer2

I'm afraid both cpan2deb (i.e. dh-make-perl's --build option) as well
as --recursive are not much tested as probably not many people are
using it.
 
> This works to build the Dancer2 package itself, but I'm struggling with
> the dependencies. The main problem is that using "recursive" builds only
> those modules that don't have an existing package, whereas those modules
> that are simply a version too old are not built.
> 
> I've been trying to hack the code, in particular
> Debian::Control::FromCPAN, to make it check the version number, and mark
> the module as missing if it's too old, but I'm struggling to make it
> work properly.
> 
> I won't go into the full details of what I've tried just yet. Instead, I
> thought it worth asking: what is the recommended way of doing this?

IMO a better way would be to update the existing packages if a newer
version is needed; but that's probably outside the scope of
dh-make-perl ...
 
> I.e. what is the recommended way of building/obtaining a particular
> Debian package for a module of a particular version, along with all its
> dependencies?

Not sure if this counts as a recommendation :) but I guess most of us
just either create new or update existing packages one-by-one.


Let's see what others have to add!


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dhafer Youssef: Holy Lie (Empire d'Ivresse Suite)

Attachment: signature.asc
Description: Digital Signature


Reply to: