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

« back to all changes in this revision

Viewing changes to tests/t205/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
        dh $@ --buildsystem=python_distutils
 
4
 
 
5
override_dh_auto_build:
 
6
 
 
7
override_dh_auto_install:
 
8
        set -e;\
 
9
        cd debian/python-foo/usr/share/pyshared/;\
 
10
        echo "keep_this_one\nremove_this_one" > foo.egg-info/namespace_packages.txt;\
 
11
        echo "True" > keep_this_one/__init__.py;\
 
12
        touch remove_this_one/__init__.py remove_this_one/foo.py bar/baz/spam.py
 
13
 
 
14
 
 
15
override_dh_pysupport:
 
16
        DH_VERBOSE=1 ../../dh_python2 --namespace foo --namespace bar.baz --namespace bar
 
17
 
 
18
clean:
 
19
        dh_clean