[pkg-php-pear] Bug#714797: pkg-php-tools: enforce dependency on phpX-cli via substvars when applicable

andrea rota a at xelera.eu
Tue Jul 2 21:54:56 UTC 2013

Package: pkg-php-tools
Version: 1.8
Severity: normal

when using the dh_phpcomposer helper, if the Composer package's composer.json
contains a 'bin' section (indicating that executable scripts are present in the
package), substvars for Depends: in debian/control should enforce dependency on
phpX-cli (php5-cli).

this is to avoid the lintian error 'php-script-but-no-phpX-cli-dep'

currently, substvars replacement leads to dependency on 'php5 | php5-cli'

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pkg-php-tools depends on:
ii  debhelper                9.20130605
ii  php-pear                 5.4.4-15.1
ii  php5-cli                 5.4.4-15.1
ii  php5-common [php5-json]  5.4.4-15.1

pkg-php-tools recommends no packages.

Versions of packages pkg-php-tools suggests:
pn  dh-make  <none>

-- no debconf information

More information about the pkg-php-pear mailing list