Need a new parrot package that depend on perlapi-* (was: Re: Rakudo ready for upload)
Alessandro Ghedini
al3xbio at gmail.com
Sun May 29 13:12:05 UTC 2011
On Sun, May 29, 2011 at 03:10:24PM +0200, Alessandro Ghedini wrote:
> On Sat, May 28, 2011 at 11:32:53PM +0200, gregor herrmann wrote:
> > On Sat, 28 May 2011 15:04:18 +0200, Alessandro Ghedini wrote:
> >
> > > IMHO "manually" depending on perlapi will not work. It would need to depend
> > > on $(perl:Depends) so that every time the package is built (e.g. during a
> > > perl transition) the dependency is automatically updated. Unfortunately it
> > > does not work with parrot AFAICT (dh_perl replaced it with nothing last time
> > > that I tried).
> >
> > That works probably only for arch:any packages. - Hm, parrot-devel is
> > arch:any already, but it has
> > Depends: ${shlibs:Depends}, ${misc:Depends}, parrot, libparrot-dev, perl
>
> Nope. dh_perl searches for *.so files in the package's installation
> directory (e.g. debian/parrot-devel/)
>
> > (And actually _use_ dh_perl in d/rules. That might explain why adding
> > ${perl:Depends} didn't do anything :)
>
> Gah... -.-"
>
> Anyway... adding dh_perl in d/rules replaces ${perl:Depends} with just perl.
>
> > > Having a look at the dh_perl manpage, the -V option seems almost what we
> > > need (basically it forces the Depends on the current version of perl). It
> > > would be nice if there was a similar option, but for perlapi, or just
> > > something that forces dh_perl to pick perlapi instead of perl, to be used
> > > with -V.
> >
> > You can also play with dh_gencontrol manually, cf. e.g.
> > libclass-xsaccessor-perl, libdevel-cover-perl.
>
> Didn't know this. It may be the solution.
Forgot the CC... again -.-"
--
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
More information about the Pkg-rakudo-devel
mailing list