[Debichem-devel] Update on R 3.0.0 migration (Was: R 3.0.0 and required rebuilds of all reverse Depends: of R)

Julian Gilbey jdg at debian.org
Sun Apr 7 01:07:24 UTC 2013

On Sat, Apr 06, 2013 at 07:48:20PM -0500, Dirk Eddelbuettel wrote:
> | If you're using cdbs and r-cran.mk in debian/rules, you can add
> | Depends: ${R:Depends} to debian/control to pick up the current binary
> | dependency.  I've migrated almost all of my packages over and it makes
> | life easier.
> Right. "What Chris said."  This is something Andreas and Charles have pushed
> for and which most of the 150+ r-cran-packages now use. One example from one
> of my 100-ish r-cran-* packages:

Ah, cool!

>    Build-Depends: debhelper (>= 7), r-base-dev (>= 3.0.0), cdbs
>    [...]
>    Depends: ${shlibs:Depends}, ${R:Depends}
> The Build-Depends: edit is manual.  
> The one in Depends: no longer is. That is useful.

Ah, thanks Chris, I wasn't aware of that!  But then it seems to me
that the correct lines should be:

Build-Depends: ..., r-base-dev, ...
Depends: ..., ${R:Depends}, ...

as the source package is *not* dependent upon the R version, only the
binary package resulting from it; this will aid any backporters, for


More information about the Debichem-devel mailing list