Re: Update on R 3.0.0 migration (Was: R 3.0.0 and required rebuilds of all reverse Depends: of R)
- To: Dirk Eddelbuettel <edd@debian.org>
- Cc: Chris Lawrence <lawrencc@debian.org>, Charles Plessy <plessy@debian.org>, Michael Rutter <mar36@psu.edu>, Debian Developers <debian-devel@lists.debian.org>, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>, Philip Rinn <rinni@gmx.net>, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>, The Debichem Group <debichem-devel@lists.alioth.debian.org>, Christoph Berg <myon@debian.org>, tfry@users.sourceforge.net
- Subject: Re: Update on R 3.0.0 migration (Was: R 3.0.0 and required rebuilds of all reverse Depends: of R)
- From: Julian Gilbey <jdg@debian.org>
- Date: Sun, 7 Apr 2013 02:07:24 +0100
- Message-id: <[🔎] 20130407010724.GA24607@d-and-j.net>
- In-reply-to: <[🔎] 20832.49748.764779.43673@max.nulle.part>
- References: <20824.26651.775823.264126@max.nulle.part> <[🔎] 20130405075352.GC6847@d-and-j.net> <[🔎] 20130405081019.GA32504@falafel.plessy.net> <[🔎] 20831.33465.335140.778589@max.nulle.part> <[🔎] 20130406205527.GB32399@d-and-j.net> <[🔎] CANJCZGJhPiSU3azNvCGOpAVJqfTofp12Hn+4pQYc2M4thdSD9g@mail.gmail.com> <[🔎] 20832.49748.764779.43673@max.nulle.part>
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
Reply to: