summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-dh-python-helpers
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-dh-python-helpers')
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in31
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc2
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints5
4 files changed, 42 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in
new file mode 100644
index 0000000..ac85906
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in
@@ -0,0 +1,31 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: python-cheshire
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Cheshire cheese 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-cheshire
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Cheshire cheese 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.
diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values
new file mode 100644
index 0000000..e9c9c50
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: debhelper-dh-python-helpers
+Description: Check if helpers that substitute python:Depends and
+ python3:Depends are called in debian/rules
diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc
new file mode 100644
index 0000000..3e864fb
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc
@@ -0,0 +1,2 @@
+Testname: debhelper-dh-python-helpers
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints
new file mode 100644
index 0000000..e05749c
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints
@@ -0,0 +1,5 @@
+debhelper-dh-python-helpers (source): python3-depends-but-no-python3-helper python3-cheshire
+debhelper-dh-python-helpers (source): python-depends-but-no-python-helper python-cheshire
+debhelper-dh-python-helpers (source): debian-build-system dh [debian/rules]
+debhelper-dh-python-helpers (source): debhelper-compat-virtual-relation 13 [debian/control]
+debhelper-dh-python-helpers (source): debhelper-compat-level 13