File: TODO

package info (click to toggle)
dh-r 20210816
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 220 kB
  • sloc: perl: 1,938; sh: 393; makefile: 21
file content (38 lines) | stat: -rw-r--r-- 1,487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dh-update-R:
  * Injects versioned Build-Depends even if all released
    of Debian have this version (will be removed by
       cme fix dpkg-control afterwards
  * Should keep comments


Versioned dependencies:
  As explained in a bug against r-cran-adegraphics
     https://bugs.debian.org/908065#25
  -->
  adding a -~~ (or something along those lines) to any upstream version in
  such relations will prevent an upstream hyphen from being treated as the
  separator between the upstream version and the Debian revision number.

manpages:
 * man scripts still miss them, maybe something autogenerated with help2man would be nice


install suggests for autopkgtest:

  For autopkgtest-pkg-r its needed to install more packages than Depends.  An
  attempt was made in autopkgtest-pkg-r but this is not run as root and thus
  does not work (see bug #961138).  Here is the code snippet that was tried -
  but it needs to be found out where to sneak this in properly

  # install Suggests since these are usually needed for testing
  suggests=$(apt-cache depends ${pkgname} | grep Suggests | sed 's/Suggests: //')
  if [ "$suggests" != "" ] ; then
    apt-get install -y ${suggeste}
  fi
  
  # install additional Test-Depends that can be specifed in debian/tests/control
  if [ -d debian/tests ] ; then
    if [ -e debian/tests/control ] ; then
      apt-get install -y `grep Depends debian/tests/control | sed -e 's/^Depends://' -e 's/@builddeps@//' -e 's/@//g' -e 's/,//g'`
    fi
  fi