diff options
Diffstat (limited to 'debian/pypy-lib-testsuite.postinst')
-rw-r--r-- | debian/pypy-lib-testsuite.postinst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/pypy-lib-testsuite.postinst b/debian/pypy-lib-testsuite.postinst new file mode 100644 index 0000000..9bd0236 --- /dev/null +++ b/debian/pypy-lib-testsuite.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + pypycompile -p pypy-lib-testsuite \ + -X '.*/test/bad(syntax|_coding).*\.py' \ + -X '.*/tests/data/py3_test_grammar\.py' + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 +# vim:set et ts=4 sw=4: |