diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/languages/python/distutils | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
6 files changed, 35 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/debian/control.in b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/debian/control.in new file mode 100644 index 0000000..8d38d33 --- /dev/null +++ b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], python3 +Rules-Requires-Root: no + +Package: python3-[% $source %] +Architecture: all +Depends: ${misc:Depends}, python3 +Description: Test package (Python 3) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + Python 3 variant. diff --git a/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/fill-values b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/fill-values new file mode 100644 index 0000000..bc3d5c9 --- /dev/null +++ b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: python-imports-distutils +Description: Check packages that have python files importing distutils diff --git a/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/from.py b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/from.py new file mode 100644 index 0000000..2c545b0 --- /dev/null +++ b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/from.py @@ -0,0 +1,7 @@ +#!/usr/bin/python3 + +import os +import time +import argparse + +from distutils.version import StrictVersion diff --git a/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/import.py b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/import.py new file mode 100644 index 0000000..52f9843 --- /dev/null +++ b/t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/import.py @@ -0,0 +1,3 @@ +#!/usr/bin/python3 + +import distutils diff --git a/t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/desc b/t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/desc new file mode 100644 index 0000000..cf33da9 --- /dev/null +++ b/t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/desc @@ -0,0 +1,2 @@ +Testname: python-imports-distutils +Check: languages/python/distutils diff --git a/t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/hints b/t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/hints new file mode 100644 index 0000000..92c2b6b --- /dev/null +++ b/t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/hints @@ -0,0 +1,2 @@ +python-imports-distutils (source): uses-python-distutils [import.py:3] +python-imports-distutils (source): uses-python-distutils [from.py:7] |