diff options
Diffstat (limited to 't/recipes/checks/scripts/scripts-missing-dep-fp')
11 files changed, 67 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean new file mode 100644 index 0000000..8f76e67 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean @@ -0,0 +1 @@ +man/ diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in new file mode 100644 index 0000000..c105cba --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, + gawk:any, mawk:any, php5:any, python2:any, python3:any, + ruby:any +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/scripts/scripts-missing-dep-fp/build-spec/debian/install b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install new file mode 100644 index 0000000..0486c9a --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install @@ -0,0 +1 @@ +*-script usr/bin/ diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages new file mode 100644 index 0000000..bf519d7 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages @@ -0,0 +1 @@ +man/*.1 diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules new file mode 100755 index 0000000..7cbf8b1 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build: + mkdir man + for FILE in *-script ; do \ + sed s/@SCRIPT@/$$FILE/g script.pod | \ + pod2man --name="$$(echo "$$FILE" | tr a-z A-Z )" \ + --section=1 > man/$$FILE.1 ; \ + done diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/fill-values b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/fill-values new file mode 100644 index 0000000..2c7ad7a --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-missing-dep-fp +Description: Check F-P missing dep on various script interpreters diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python2-script b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python2-script new file mode 100755 index 0000000..21fdd57 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python2-script @@ -0,0 +1,4 @@ +#!/usr/bin/python2 + +# whatever + diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python3-script b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python3-script new file mode 100755 index 0000000..607e68d --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python3-script @@ -0,0 +1,4 @@ +#!/usr/bin/python3 + +# whatever + diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/script.pod b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/script.pod new file mode 100644 index 0000000..8ffa2d0 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/script.pod @@ -0,0 +1,18 @@ +=head1 NAME + +@SCRIPT@ - Cool script to do stuff written in some script language. + +=head1 SYNOPSIS + +@SCRIPT@ --cool-argument + +=head1 DESCRIPTION + +This script is very awesome and does something you do not even know +you need. + +=head1 AUTHOR + +I made this + + diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/eval/desc b/t/recipes/checks/scripts/scripts-missing-dep-fp/eval/desc new file mode 100644 index 0000000..4d74cd6 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/eval/desc @@ -0,0 +1,5 @@ +Testname: scripts-missing-dep-fp +Test-Against: + python2-script-but-no-python2-dep + python3-script-but-no-python3-dep +Check: scripts diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/eval/hints b/t/recipes/checks/scripts/scripts-missing-dep-fp/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/eval/hints |