Package list python-pauvre / dc920b5
Try autopkgtest Andreas Tille 1 year, 4 months ago
3 changed file(s) with 8 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
1818 && rm "$${PYBUILDDIR}/input"
1919 endif
2020
21 override_dh_install:
22 # Do not install test script in Python lib fir
21 override_dh_installexamples:
22 # Do not install test script in Python lib
2323 find debian -name scripts -type d | xargs rm -rf
24 dh_install
24 dh_installexamples
25 sed -i 's/^git clone/#&/' `find debian -name test.sh`
00 Tests: run-unit-test
1 Depends: @
1 Depends: @, python3-nanoget-examples
22 Restrictions: allow-stderr
00 #!/bin/bash
11 set -e
22
3 pkg=#PACKAGENAME#
3 pkg=python3-pauvre
44
55 export LC_ALL=C.UTF-8
66 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
77 AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
8 # Double quote below to expand the temporary directory variable now versus
9 # later is on purpose.
10 # shellcheck disable=SC2064
118 trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
129 fi
1310
1411 cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
12 cp -a /usr/share/doc/python3-nanoget/examples/nanotest "${AUTOPKGTEST_TMP}"
1513
1614 cd "${AUTOPKGTEST_TMP}"
1715
18 #do_stuff_to_test_package#
16 sh test.sh