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

« back to all changes in this revision

Viewing changes to tests/t303/debian/rules

  • 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
%:
 
4
        dh $@
 
5
 
 
6
override_dh_install:
 
7
        dh_install
 
8
        DH_VERBOSE=1 ../../dh_python3
 
9
 
 
10
override_dh_auto_build:
 
11
override_dh_auto_test:
 
12
 
 
13
comma:=,
 
14
empty:=
 
15
space:= $(empty) $(empty)
 
16
PYTHONS=$(subst $(comma),$(space),$(DEBPYTHON3_SUPPORTED))
 
17
override_dh_auto_install:
 
18
        set -e; for ver in $(PYTHONS); do\
 
19
          mkdir -p debian/python3-foo/usr/lib/python$$ver/site-packages/;\
 
20
          echo "print('foo')" > debian/python3-foo/usr/lib/python$$ver/site-packages/foo.py;\
 
21
        done
 
22
 
 
23
override_dh_auto_clean: