~ubuntu-branches/ubuntu/raring/duplicity/raring-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-04-03 20:40:34 UTC
  • mfrom: (1.9.1 upstream) (16.2.6 natty)
  • Revision ID: james.westby@ubuntu.com-20110403204034-5m1eri4z5qr0nyrr
Tags: 0.6.13-0ubuntu1
* Resync with Debian, no remaining changes
* New upstream release
  - silent data corruption with checkpoint/restore (LP: #613244)
  - Assertion error "time not moving forward at appropriate pace"
    (LP: #579958)
* debian/patches/04future.dpatch:
  - Dropped, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        dh_installdirs
55
55
 
56
56
# Add here commands to install the package into debian/duplicity.
57
 
        python setup.py install --prefix=$(PREFIX) --no-compile
 
57
        python setup.py install --prefix=$(PREFIX) --no-compile --install-layout=deb
58
58
 
59
 
# remove GnuPGInterface.py as we already have it in
60
 
# python-gnupginterface
 
59
# remove local GnuPGInterface.py as we use the packaged version 
61
60
        rm -f $(PREFIX)/lib/python*/*-packages/duplicity/GnuPGInterface.py
62
 
 
63
61
# no more local pexpect
64
62
        rm -f $(PREFIX)/lib/python*/*-packages/duplicity/pexpect.py
65
63
 
72
70
 
73
71
# Build architecture-dependent files here.
74
72
binary-arch: build install
75
 
        dh_pycentral
 
73
        # for some odd reason dh_python2 always dies with "must build for 2.5"
 
74
        # unless the version guessing is switched off...
 
75
        dh_python2 --no-guessing-versions
76
76
        dh_testdir
77
77
        dh_testroot
78
78
        dh_installdocs