diff options
Diffstat (limited to 't/recipes/checks/languages/python/python-depends-python2-and-python3')
4 files changed, 22 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/debian/control.in b/t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/debian/control.in new file mode 100644 index 0000000..2017443 --- /dev/null +++ b/t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: python3-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, python:any, python3:any, python2.7 +Description: Depends on both Python 2.x and 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. diff --git a/t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/fill-values b/t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/fill-values new file mode 100644 index 0000000..d1ade98 --- /dev/null +++ b/t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: python-depends-python2-and-python3 +Description: Check for packages that depend on Python 2.x and Python 3.x diff --git a/t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/desc b/t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/desc new file mode 100644 index 0000000..a2ba88e --- /dev/null +++ b/t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/desc @@ -0,0 +1,2 @@ +Testname: python-depends-python2-and-python3 +Check: languages/python diff --git a/t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/hints b/t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/hints new file mode 100644 index 0000000..618976a --- /dev/null +++ b/t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/hints @@ -0,0 +1 @@ +python3-python-depends-python2-and-python3 (binary): depends-on-python2-and-python3 Depends (satisfies python2.7:any, python3:any) |