Axel Beckert pushed to branch master at lintian / lintian
Commits:
-
1a794ba7
by Axel Beckert at 2023-01-28T23:18:17+01:00
-
472de40c
by William Desportes at 2023-01-28T23:23:58+01:00
7 changed files:
- lib/Lintian/Check/Languages/Php/Pear.pm
- + t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/debian/control.in
- + t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/fill-values
- + t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/composer.json
- + t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/foo.php
- + t/recipes/checks/languages/php/pear/phppear-composerok/eval/desc
- + t/recipes/checks/languages/php/pear/phppear-composerok/eval/hints
Changes:
... | ... | @@ -149,7 +149,8 @@ sub source { |
149 | 149 | $self->pointed_hint('composer-package-without-pkg-php-tools-builddep',
|
150 | 150 | $composer_json->pointer)
|
151 | 151 | if defined $composer_json
|
152 | - && !$build_depends->satisfies('pkg-php-tools')
|
|
152 | + && !($build_depends->satisfies('pkg-php-tools')
|
|
153 | + || $build_depends->satisfies('dh-sequence-phpcomposer'))
|
|
153 | 154 | && !defined $package_xml
|
154 | 155 | && !defined $package2_xml;
|
155 | 156 |
1 | +Source: [% $source %]
|
|
2 | +Priority: optional
|
|
3 | +Section: [% $section %]
|
|
4 | +Maintainer: [% $author %]
|
|
5 | +Standards-Version: [% $standards_version %]
|
|
6 | +Build-Depends: [% $build_depends %], dh-sequence-phpcomposer, php-dev, dh-php
|
|
7 | +Rules-Requires-Root: no
|
|
8 | + |
|
9 | +Package: [% $source %]
|
|
10 | +Architecture: [% $package_architecture %]
|
|
11 | +Depends: ${misc:Depends}, ${phppear:Debian-Depends}
|
|
12 | +Recommends: ${phppear:Debian-Recommends}
|
|
13 | +Breaks: ${phppear:Debian-Breaks}
|
|
14 | +Description: ${phppear:summary}
|
|
15 | + This is a test package designed to exercise some feature or tag of
|
|
16 | + Lintian. It is part of the Lintian test suite and may do very odd
|
|
17 | + things. It should not be installed like a regular package. It may
|
|
18 | + be an empty package.
|
|
19 | + .
|
|
20 | + ${phppear:description} |
1 | +Testname: phppear-composerok
|
|
2 | +Description: Composer phppear tests with dh-sequence-phpcomposer
|
|
3 | +Skeleton: upload-non-native |
1 | +{} |
1 | +Testname: phppear-composerok
|
|
2 | +Test-Against:
|
|
3 | + missing-pkg-php-tools-addon
|
|
4 | +Check: languages/php/pear |