Nilesh Patra pushed to branch master at lintian / lintian
Commits:
-
6a2c3c5a
by Louis-Philippe Véronneau at 2024-02-19T20:14:41+00:00
13 changed files:
- lib/Lintian/Check/Languages/Python.pm
- t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/build-spec/debian/control.in → t/recipes/checks/languages/python/python-could-use-pyproject-pdm-backend/build-spec/debian/control.in
- + t/recipes/checks/languages/python/python-could-use-pyproject-pdm-backend/build-spec/fill-values
- t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/build-spec/orig/pyproject.toml → t/recipes/checks/languages/python/python-could-use-pyproject-pdm-backend/build-spec/orig/pyproject.toml
- t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/eval/desc → t/recipes/checks/languages/python/python-could-use-pyproject-pdm-backend/eval/desc
- + t/recipes/checks/languages/python/python-could-use-pyproject-pdm-backend/eval/hints
- − t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/build-spec/fill-values
- − t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/eval/hints
- t/recipes/checks/languages/python/python-valid-pdm/build-spec/debian/control.in
- t/recipes/checks/languages/python/python-valid-pdm/build-spec/fill-values
- t/recipes/checks/languages/python/python-valid-pdm/eval/hints
- t/recipes/checks/languages/python/python-wrong-pdm/eval/hints
- tags/u/uses-pdm-cli.tag
Changes:
... | ... | @@ -221,7 +221,7 @@ sub source { |
221 | 221 | 'poetry.core.masonry.api' => 'python3-poetry-core:any',
|
222 | 222 | 'flit_core.buildapi' => 'flit:any',
|
223 | 223 | 'setuptools.build_meta' => 'python3-setuptools:any',
|
224 | - 'pdm.pep517.api' => 'python3-pdm-pep517:any',
|
|
224 | + 'pdm.pep517.api' => 'python3-pdm-backend:any',
|
|
225 | 225 | 'hatchling.build' => 'python3-hatchling:any',
|
226 | 226 | 'mesonpy' => 'python3-mesonpy:any',
|
227 | 227 | 'sipbuild.api' => 'python3-sipbuild:any',
|
... | ... | @@ -251,7 +251,7 @@ sub source { |
251 | 251 | $self->pointed_hint('uses-pdm-cli', $pointer)
|
252 | 252 | if $backend eq 'pdm.pep517.api'
|
253 | 253 | && $build_depends->satisfies('python3-pdm:any')
|
254 | - && !$build_depends->satisfies('python3-pdm-pep517:any');
|
|
254 | + && !$build_depends->satisfies('python3-pdm-backend:any');
|
|
255 | 255 | |
256 | 256 | if (exists $PYPROJECT_PREREQUISITES{$backend}) {
|
257 | 257 |
1 | +Skeleton: source-native
|
|
2 | +Testname: python-could-use-pyproject-pdm-backend
|
|
3 | +Description: Check for a package not built using pyproject pdm-backend, but that could. |
1 | -Testname: python-could-use-pyproject-pdm-pep517
|
|
1 | +Testname: python-could-use-pyproject-pdm-backend
|
|
2 | 2 | Check: languages/python |
1 | +python-could-use-pyproject-pdm-backend (source): missing-prerequisite-for-pyproject-backend pdm.pep517.api (does not satisfy python3-pdm-backend:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |
1 | -Skeleton: source-native
|
|
2 | -Testname: python-could-use-pyproject-pdm-pep517
|
|
3 | -Description: Check for a package not built using pyproject pdm-pep517, but that could. |
1 | -python-could-use-pyproject-pdm-pep517 (source): missing-prerequisite-for-pyproject-backend pdm.pep517.api (does not satisfy python3-pdm-pep517:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |
... | ... | @@ -3,7 +3,7 @@ Priority: optional |
3 | 3 | Section: python
|
4 | 4 | Maintainer: [% $author %]
|
5 | 5 | Standards-Version: [% $standards_version %]
|
6 | -Build-Depends: [% $build_depends %], python3-pdm-pep517
|
|
6 | +Build-Depends: [% $build_depends %], python3-pdm-backend
|
|
7 | 7 | Rules-Requires-Root: no
|
8 | 8 | |
9 | 9 | Package: python3-[% $source %]
|
1 | 1 | Skeleton: upload-native
|
2 | 2 | Testname: python-valid-pdm
|
3 | -Description: Check packages that build-depend on python3-pdm-pep517. |
|
3 | +Description: Check packages that build-depend on python3-pdm-backend. |
1 | -python-valid-pdm (source): missing-prerequisite-for-pyproject-backend pdm.pep517.api (does not satisfy python3-pdm-pep517:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |
|
1 | +python-valid-pdm (source): missing-prerequisite-for-pyproject-backend pdm.pep517.api (does not satisfy python3-pdm-backend:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |
1 | 1 | python-wrong-pdm (source): uses-pdm-cli [pyproject.toml:3]
|
2 | -python-wrong-pdm (source): missing-prerequisite-for-pyproject-backend pdm.pep517.api (does not satisfy python3-pdm-pep517:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |
|
2 | +python-wrong-pdm (source): missing-prerequisite-for-pyproject-backend pdm.pep517.api (does not satisfy python3-pdm-backend:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |
... | ... | @@ -5,4 +5,4 @@ Explanation: The source declares <code>python3-pdm</code> as a build prerequisit |
5 | 5 | but that is a command-line interface (CLI) tool.
|
6 | 6 | .
|
7 | 7 | Should <code>pdm</code> be required to build these sources, please declare the
|
8 | - prerequisite <code>python3-pdm-pep517</code> instead. |
|
8 | + prerequisite <code>python3-pdm-backend</code> instead. |