On Sun, May 10, 2015 at 07:34:46PM -0500, Dirk Eddelbuettel wrote:
> 
> On 11 May 2015 at 00:33, Julian Gilbey wrote:
> | The only thing I'm not sure about, and you may have a better view, is
> | whether r-cran packages should depend only on the api version (so:
> | Depends: r-api-3), or whether they should also depend upon the actual
> | base version (Depends: r-base-core (>= 3.2.0-2)).
> 
> I like "both" better than just one.
>  
> | The attached patch causes r-cran-* packages to *only* depend on
> | r-api-3; if r-cran-* packages should *also* depend on a versioned
> | r-base-core, then in the patch, reinstate the rversion line, and
> | combine the two R:Depends lines (the old and the new) into a single
> | line.
> 
> Like this ?
> 
>   rapiversion := $(shell dpkg-query -W -f='$${Provides}' r-base-core | grep 
> -o 'r-api[^, ]*')
> 
>   [....]
> 
>   ## support ${R:Depends} via debian/${package}.substvars
>   echo "R:Depends=r-base-core (>= ${rversion}), ${rapiversion}" >> 
> debian/$(package).substvars

Yes, that looks good!

   Julian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to