[R-pkg-team] Bug#1031855: dh-r: Versioned Depends should be taken from patched DESCRIPTION file

Andreas Tille tille at debian.org
Fri Feb 24 09:22:47 GMT 2023


Package: dh-r
Version: 20230121
Severity: normal

Hi,

to fix bug #1031299 of package r-cran-ggalluvial a patch for the
DESCRIPTION file[1] was used to fix the minimum version of dplyr.
Despite this patch the resulting package ended up with the wrong
versioned dependency as specified in the unpatched DESCRIPTION file.
Thus a second fix[2] was needed to finally force the correct versioned
dependency.  It would be easier if dh-r would respect patches inside
the DESCRIPTION file.

Kind regards
   Andreas.

[1] https://salsa.debian.org/r-pkg-team/r-cran-ggalluvial/-/blob/master/debian/patches/versioned_depends-dplyr.patch
[2] https://salsa.debian.org/r-pkg-team/r-cran-ggalluvial/-/blob/master/debian/control#L26


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5, 'experimental'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-r depends on:
ii  dctrl-tools              2.24-3+b1
ii  debhelper                13.11.4
ii  libfile-which-perl       1.27-2
ii  libswitch-perl           2.17-3
ii  libwww-curl-simple-perl  0.100191-3
ii  r-base-dev               4.2.2.20221110-2

Versions of packages dh-r recommends:
ii  cme               1.038-1
ii  devscripts        2.22.2
ii  git-buildpackage  0.9.30

Versions of packages dh-r suggests:
ii  postgresql-client-common  247

-- no debconf information



More information about the R-pkg-team mailing list