Re: Update on R 3.0.0 migration (Was: R 3.0.0 and required rebuilds of all reverse Depends: of R)
- To: Chris Lawrence <lawrencc@debian.org>
- Cc: Julian Gilbey <jdg@debian.org>, Dirk Eddelbuettel <edd@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: Dirk Eddelbuettel <edd@debian.org>
- Date: Sat, 6 Apr 2013 19:48:20 -0500
- Message-id: <[🔎] 20832.49748.764779.43673@max.nulle.part>
- In-reply-to: <[🔎] CANJCZGJhPiSU3azNvCGOpAVJqfTofp12Hn+4pQYc2M4thdSD9g@mail.gmail.com>
- 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>
On 6 April 2013 at 19:30, Chris Lawrence wrote:
| On Sat, Apr 6, 2013 at 4:55 PM, Julian Gilbey <jdg@debian.org> wrote:
| > So something doesn't make sense somewhere: if my package doesn't care
| > which version of R it's building against, but R itself cares, then
| > surely there should be some way of querying r-base-dev during the
| > build process to enquire which version is required? It is almost
| > certainly too late to do anything about this for wheezy, but it would
| > be good to think about doing something for wheezy+1. Ideally, this
| > would be by creating a misc substvar so that instead of having to
| > specify the version of r-base-core in the Depends: field, it could be
| > specified just as ${misc:Depends} and then filled in automatically.
|
| 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:
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.
Dirk
--
Dirk Eddelbuettel | edd@debian.org | http://dirk.eddelbuettel.com
Reply to: