[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] 2 commits: Add testsuite check for missing-pkg-php-tools-addon false positive with...



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • 1a794ba7
    by Axel Beckert at 2023-01-28T23:18:17+01:00
    Add testsuite check for missing-pkg-php-tools-addon false positive with dh-sequence-phpcomposer (see MR !438)
    
  • 472de40c
    by William Desportes at 2023-01-28T23:23:58+01:00
    missing-pkg-php-tools-addon: Allow dh-sequence-phpcomposer as alternative to pkg-php-tools-addon
    
    (perltidy variant of MR !438)
    

7 changed files:

Changes:

  • lib/Lintian/Check/Languages/Php/Pear.pm
    ... ... @@ -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
     
    

  • t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/debian/control.in
    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}

  • t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/fill-values
    1
    +Testname: phppear-composerok
    
    2
    +Description: Composer phppear tests with dh-sequence-phpcomposer
    
    3
    +Skeleton: upload-non-native

  • t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/composer.json
    1
    +{}

  • t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/foo.php

  • t/recipes/checks/languages/php/pear/phppear-composerok/eval/desc
    1
    +Testname: phppear-composerok
    
    2
    +Test-Against:
    
    3
    + missing-pkg-php-tools-addon
    
    4
    +Check: languages/php/pear

  • t/recipes/checks/languages/php/pear/phppear-composerok/eval/hints


  • Reply to: