summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/languages/python/python-mismatched-python-substvar
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/languages/python/python-mismatched-python-substvar
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/languages/python/python-mismatched-python-substvar')
-rw-r--r--t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/debian/control.in67
-rw-r--r--t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/fill-values3
-rw-r--r--t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/desc2
-rw-r--r--t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/hints2
4 files changed, 74 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/debian/control.in b/t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/debian/control.in
new file mode 100644
index 0000000..0c0f9db
--- /dev/null
+++ b/t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/debian/control.in
@@ -0,0 +1,67 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: python-[% $source %]
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Mismatched substvar for Python 2.X
+ 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.
+ .
+ For Python 2.X.
+
+Package: python3-[% $source %]
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Mismatched substvar for Python 3.X
+ 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.
+ .
+ For Python 3.X.
+
+Package: python-[% $source %]-nonrel
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: False positive for Python 2.X
+ 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.
+ .
+ False positive package For Python 2.X.
+
+Package: python3-[% $source %]-nonrel
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: False positive Python 3.X
+ 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.
+ .
+ False positive package for Python 3.X.
+
+Package: python-[% $source %]-tools
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Generic tools package
+ 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.
+ .
+ Generic -tools packages are allowed.
diff --git a/t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/fill-values b/t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/fill-values
new file mode 100644
index 0000000..1132b5e
--- /dev/null
+++ b/t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: python-mismatched-python-substvar
+Description: Check for Python packages with mismatched substvars.
diff --git a/t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/desc b/t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/desc
new file mode 100644
index 0000000..f0867d1
--- /dev/null
+++ b/t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/desc
@@ -0,0 +1,2 @@
+Testname: python-mismatched-python-substvar
+Check: languages/python
diff --git a/t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/hints b/t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/hints
new file mode 100644
index 0000000..f6cc507
--- /dev/null
+++ b/t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/hints
@@ -0,0 +1,2 @@
+python-mismatched-python-substvar (source): mismatched-python-substvar python3-python-mismatched-python-substvar ${python:Depends}
+python-mismatched-python-substvar (source): mismatched-python-substvar python-python-mismatched-python-substvar ${python3:Depends}