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

Re: Help making r-cran-rsqlite use Debian's sqlite3 (Was: Re: Bug#657919: ITP: r-cran-digest - Create cryptographic hash digests of R objects)

Le Thu, Feb 02, 2012 at 09:25:46PM +0100, Andreas Tille a écrit :
> On Thu, Feb 02, 2012 at 01:46:12PM -0600, Dirk Eddelbuettel wrote:
> > | # Require a number equal or superior than the R version the package
> > | was built with.
> > | install/r-$(debRreposname)-$(cranName)::
> > | 	echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl
> > | -ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >>
> > | debian/r-$(debRreposname)-$(cranName).substvars
> > 
> > Nice substvars trick. I still do that part by hand in debian/control.
> I remember when we started using this trick about 3 years ago (at least
> my feeling says so) that Charles Plessy who invented this trick said
> that you would not be particularly happy about this trick.  Otherwise it
> would have been included into

Hi Andreas,

I am not sure if “not happy” is so accurate.  If I remember well, Dirk was
reluctant to add such a function before seeing evidence that it is robust in
the long term.  And he was right as in the first iteration, the tilde suffix
was missing in the version number for ${R:Depends}.

Now that time has passed, I think that we have good evidence that it works.  I
indeed think that it would be good to propose it as a patch to

Have a nice day,

Charles Plessy
Debian Med packaging team,
Tsurumi, Kanagawa, Japan

Reply to: