diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/languages/python/files-python-modules/build-spec/debian | |
parent | Initial commit. (diff) | |
download | lintian-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/files-python-modules/build-spec/debian')
3 files changed, 34 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/control.in b/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/control.in new file mode 100644 index 0000000..a4f2d34 --- /dev/null +++ b/t/recipes/checks/languages/python/files-python-modules/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: python-foo +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + 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/files-python-modules/build-spec/debian/install b/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/install new file mode 100644 index 0000000..165f0c2 --- /dev/null +++ b/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/install @@ -0,0 +1,13 @@ +# GOOD +python-foo /usr/lib/python2.5/site-packages/ +python-foo /usr/lib/python2.6/dist-packages/ +python-foo /usr/lib/python2.7/dist-packages/ +python-foo /usr/lib/python3/dist-packages/ + +# BAD +python-foo usr/lib/python2.5/dist-packages/ +python-foo usr/lib/python2.6/site-packages/ +python-foo usr/lib/python2.7/site-packages/ +python-foo usr/lib/python3.2/dist-packages/ +python-foo usr/lib/python3.2/site-packages/ + diff --git a/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/rules b/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/rules new file mode 100644 index 0000000..abde6ef --- /dev/null +++ b/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +%: + dh $@ + |