Russ Allbery pushed to branch master at lintian / lintian
Commits:
-
8509a3f2
by Louis-Philippe Véronneau at 2022-12-23T18:04:42+00:00
4 changed files:
- lib/Lintian/Check/Languages/Python.pm
- t/recipes/checks/languages/python/python-wrong-poetry/build-spec/debian/control.in
- t/recipes/checks/languages/python/python-wrong-poetry/build-spec/fill-values
- t/recipes/checks/languages/python/python-wrong-poetry/eval/hints
Changes:
... | ... | @@ -254,7 +254,7 @@ sub source { |
254 | 254 | $self->pointed_hint(
|
255 | 255 | 'missing-prerequisite-for-pyproject-backend',
|
256 | 256 | $pointer, $backend,"(does not satisfy $prerequisites)")
|
257 | - if !$build_depends->satisfies($prerequisites);
|
|
257 | + if !$build_all->satisfies($prerequisites);
|
|
258 | 258 | }
|
259 | 259 | }
|
260 | 260 |
... | ... | @@ -3,7 +3,8 @@ Priority: optional |
3 | 3 | Section: python
|
4 | 4 | Maintainer: [% $author %]
|
5 | 5 | Standards-Version: [% $standards_version %]
|
6 | -Build-Depends: [% $build_depends %], python3-poetry
|
|
6 | +Build-Depends: [% $build_depends %], python3-poetry, pybuild-plugin-pyproject
|
|
7 | +Build-Depends-Indep: python3-poetry-core
|
|
7 | 8 | Rules-Requires-Root: no
|
8 | 9 | |
9 | 10 | Package: python3-[% $source %]
|
1 | 1 | Skeleton: source-native
|
2 | 2 | Testname: python-wrong-poetry
|
3 | -Description: Check packages that build-depend on python3-poetry. |
|
3 | +Description: Check packages that build-depend on python3-poetry. Also acts as a
|
|
4 | + test for packages that have the pyproject dependencies in Build-Depends-Indep. |
1 | 1 | python-wrong-poetry (source): uses-poetry-cli [pyproject.toml:3] |
2 | -python-wrong-poetry (source): missing-prerequisite-for-pyproject-backend poetry.core.masonry.api (does not satisfy python3-poetry-core:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |