summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec
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-python2-no-python3-unrel/build-spec
parentInitial commit. (diff)
downloadlintian-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 't/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec')
-rw-r--r--t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/debian/control.in84
-rw-r--r--t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/fill-values3
2 files changed, 87 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/debian/control.in b/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/debian/control.in
new file mode 100644
index 0000000..1b8d6e5
--- /dev/null
+++ b/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/debian/control.in
@@ -0,0 +1,84 @@
+Source: [% $source %]
+Priority: optional
+Section: python
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: python-[% $source %]
+Architecture: all
+Depends: ${misc:Depends}, python2.7
+Description: Python 2 package with corresponding Python 3 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.
+
+Package: python3-[% $source %]
+Architecture: all
+Depends: ${misc:Depends}, python3
+Description: Python 2 package with corresponding Python 3 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 package.
+
+Package: python-[% $source %]-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Python 2 package with corresponding Python 3 package (documentation)
+ 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.
+ .
+ This package contains documentation.
+
+Package: python-[% $source %]-common
+Architecture: all
+Depends: ${misc:Depends}
+Description: Python 2 package with corresponding Python 3 package (common files)
+ 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.
+ .
+ This package contains files common to both packages.
+
+Package: python-[% $source %]-tools
+Architecture: all
+Depends: ${misc:Depends}
+Description: Python 2 package with corresponding Python 3 package (tools)
+ 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.
+ .
+ This package contains tools.
+
+Package: python-[% $source %]-2
+Architecture: all
+Depends: ${misc:Depends}
+Description: Python 2 package with corresponding Python 3 package (2)
+ 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.
+ .
+ This package is another module.
+
+Package: entirely-unrelated-name
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python 3 version of python-[% $source %]-2
+ 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.
+ .
+ This package is the Python 3 variant of the previous package but with a
+ different name.
diff --git a/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/fill-values b/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/fill-values
new file mode 100644
index 0000000..78e15f0
--- /dev/null
+++ b/t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: python-python2-no-python3-unrel
+Description: Check for Python packages that only ship a Python 2.x module