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 example. Julian -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130407010724.ga24...@d-and-j.net