Nilesh Patra pushed to branch master at lintian / lintian
Commits:
- 
92f389b7
by Louis-Philippe Véronneau at 2024-02-16T14:34:58-05:00
6 changed files:
- lib/Lintian/Check/Languages/Python.pm
- + t/recipes/checks/languages/python/python-could-use-pyproject-whey/build-spec/debian/control.in
- + t/recipes/checks/languages/python/python-could-use-pyproject-whey/build-spec/fill-values
- + t/recipes/checks/languages/python/python-could-use-pyproject-whey/build-spec/orig/pyproject.toml
- + t/recipes/checks/languages/python/python-could-use-pyproject-whey/eval/desc
- + t/recipes/checks/languages/python/python-could-use-pyproject-whey/eval/hints
Changes:
| ... | ... | @@ -224,7 +224,8 @@ sub source { | 
| 224 | 224 |              'pdm.pep517.api' => 'python3-pdm-pep517:any',
 | 
| 225 | 225 |              'hatchling.build' => 'python3-hatchling:any',
 | 
| 226 | 226 |              'mesonpy' => 'python3-mesonpy:any',
 | 
| 227 | -            'sipbuild.api' => 'python3-sipbuild:any'
 | |
| 227 | +            'sipbuild.api' => 'python3-sipbuild:any',
 | |
| 228 | +            'whey' => 'python3-whey:any'
 | |
| 228 | 229 |          );
 | 
| 229 | 230 | |
| 230 | 231 |          open(my $fd, '<', $pyproject->unpacked_path)
 | 
| 1 | +Source: [% $source %]
 | |
| 2 | +Priority: optional
 | |
| 3 | +Section: python
 | |
| 4 | +Maintainer: [% $author %]
 | |
| 5 | +Standards-Version: [% $standards_version %]
 | |
| 6 | +Build-Depends: [% $build_depends %]
 | |
| 7 | +Rules-Requires-Root: no
 | |
| 8 | + | |
| 9 | +Package: python3-[% $source %]
 | |
| 10 | +Architecture: all
 | |
| 11 | +Depends: ${misc:Depends}, python3
 | |
| 12 | +Description: Test package (Python 3)
 | |
| 13 | + This is a test package designed to exercise some feature or tag of
 | |
| 14 | + Lintian.  It is part of the Lintian test suite and may do very odd
 | |
| 15 | + things.  It should not be installed like a regular package.  It may
 | |
| 16 | + be an empty package.
 | |
| 17 | + .
 | |
| 18 | + Python 3 variant. | 
| 1 | +Skeleton: source-native
 | |
| 2 | +Testname: python-could-use-pyproject-whey
 | |
| 3 | +Description: Check for a package not built using pyproject whey, but that could. | 
| 1 | +[build-system]
 | |
| 2 | +requires = [ "whey[readme]",]
 | |
| 3 | +build-backend = "whey" | 
| 1 | +Testname: python-could-use-pyproject-whey
 | |
| 2 | +Check: languages/python | 
| 1 | +python-could-use-pyproject-whey (source): missing-prerequisite-for-pyproject-backend whey (does not satisfy python3-whey:any, pybuild-plugin-pyproject:any) [pyproject.toml:3] |