~ubuntu-branches/ubuntu/trusty/py3dns/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2013-08-07 02:48:24 UTC
  • mfrom: (1.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20130807024824-ehhbldxf2j4ivb7e
Tags: 3.0.4-1
* New upstream release
  - Fixes timeout processing issues (Closes: #718579)
* Convert to package to pybuild
  - Add dh-python to build-depends
  - Build with buildsystem=pybuild
  - Simplify debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
export PYBUILD_DESTDIR_python3=debian/python3-dns/
 
4
 
3
5
%:
4
 
        dh $@ --with python3, --with quilt
 
6
        dh $@ --with python3,quilt --buildsystem=pybuild
5
7
 
6
 
override_dh_auto_build:
7
8
override_dh_auto_install:
8
 
        set -e && for pyvers in $(shell py3versions -sv); do \
9
 
            python$$pyvers setup.py install --no-compile --install-layout=deb \
10
 
            --root $(CURDIR)/debian/python3-dns; \
11
 
        done
12
9
        find $(CURDIR)/debian/python3-dns -name win32dns.py | xargs rm -f
13
 
        dh_install
 
10
        dh_auto_install
14
11
 
15
12
override_dh_auto_clean:
16
13
        dh_clean