~mitya57/ubuntu/trusty/dh-python/tests-dependencies

« back to all changes in this revision

Viewing changes to tests/t304/Makefile

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2013-07-07 21:47:50 UTC
  • Revision ID: package-import@ubuntu.com-20130707214750-d6wmodmuzp78kt75
Tags: upstream-1.0~b1
Import upstream version 1.0~b1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
include ../common.mk
 
4
clean: clean-common
 
5
 
 
6
check:
 
7
        # python3.2 hardcoded via `dh_python3 --shebang ...python3.2`
 
8
        grep -q '#! /usr/bin/python3.2 -OO' debian/foo/usr/share/baz32/baz.py
 
9
        # python3.3 hardcoded via shebang
 
10
        grep -q '/usr/share/foo \-V 3.3' debian/foo/DEBIAN/postinst
 
11
        # /env removed from shebang 
 
12
        grep -q '#! /usr/bin/python3' debian/foo/usr/share/bar/bar.py
 
13
        # /local removed from shebang 
 
14
        grep -q '#! /usr/bin/python3' debian/foo/usr/share/foo/baz.py
 
15
        grep -q '#! /usr/bin/python3.3' debian/foo/usr/share/foo/foo.py