From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../build-spec/debian/control.in | 38 ++++++++++++++++++++++ .../build-spec/fill-values | 3 ++ .../eval/desc | 2 ++ .../eval/hints | 6 ++++ 4 files changed, 49 insertions(+) create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/desc create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/hints (limited to 't/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant') diff --git a/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/debian/control.in b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/debian/control.in new file mode 100644 index 0000000..624d38c --- /dev/null +++ b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/debian/control.in @@ -0,0 +1,38 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: python-foo +Architecture: all +Depends: ${misc:Depends}, python2.7, python3-foo, python3-foo, python3-bar, python-falsepositive +Description: Python 2 package depending on python3-foo + 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: python2-foo +Architecture: all +Depends: ${misc:Depends}, python2.7, python3-foo, python2-bar, python2-falsepositive +Description: Python 2 package depending on python3-foo (explicit) + 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. + . + Explicit Python 2.x variant. + +Package: python3-foo +Architecture: all +Depends: ${misc:Depends}, python3, python-foo, python2-foo, python2-bar, python3-falsepositive, python-foo-doc, python-foo-common +Description: Python 3 package depending on python-foo and python2-foo + 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/python-package-depends-on-package-from-other-python-variant/build-spec/fill-values b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/fill-values new file mode 100644 index 0000000..f7b42f8 --- /dev/null +++ b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: python-package-depends-on-package-from-other-python-variant +Description: Check for Python packages that depend on variants of themselves diff --git a/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/desc b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/desc new file mode 100644 index 0000000..54a6284 --- /dev/null +++ b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/desc @@ -0,0 +1,2 @@ +Testname: python-package-depends-on-package-from-other-python-variant +Check: languages/python diff --git a/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/hints b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/hints new file mode 100644 index 0000000..b424c11 --- /dev/null +++ b/t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/hints @@ -0,0 +1,6 @@ +python3-foo (binary): python-package-depends-on-package-from-other-python-variant Depends: python2-foo +python3-foo (binary): python-package-depends-on-package-from-other-python-variant Depends: python2-bar +python3-foo (binary): python-package-depends-on-package-from-other-python-variant Depends: python-foo +python2-foo (binary): python-package-depends-on-package-from-other-python-variant Depends: python3-foo +python-foo (binary): python-package-depends-on-package-from-other-python-variant Depends: python3-foo +python-foo (binary): python-package-depends-on-package-from-other-python-variant Depends: python3-bar -- cgit v1.2.3