/usr/share/autodep8/support/ruby/generate is in autodep8 0.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
# remove debhelper and gem2deb
if [ -f debian/control ]; then
builddeps=$(grep-dctrl -n -s Build-Depends -F Build-Depends -r . debian/control | grep -v '^\s*#' |sed -e 's/,\s*/\n/g; s/^\s*//' | sed '/^\s*$/ d; /debhelper/ d; /gem2deb/ d; s/\n/, /' | tr '\n' ', ')
else
builddeps=''
fi
cat <<EOF
Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
Depends: @, $builddeps gem2deb-test-runner
EOF
|