~matttbe/wicd/ubuntu_python27

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-03-05 18:12:51 UTC
  • mfrom: (8.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100305181251-0fcsn0sty5oy8wlq
Tags: 1.7.0+ds1-2
Fix RC bug: daemon doesn't start anymore because copy.deepcopy()
fails with the iniparse object, coming from 20-use_iniparse.patch.
Bug 568326 reopened. (Closes: #572599)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
6
6
 
 
7
CURVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\  -f2 | sed -e "s/\(\+.*\)\|\(\-.*\)//")
 
8
 
7
9
override_dh_auto_configure:
8
10
        python setup.py configure \
9
11
                --no-install-acpi \
43
45
 
44
46
override_dh_installinit:
45
47
        dh_pysupport -i
46
 
        dh_installinit -i --name=wicd
 
48
        dh_installinit -i --name=wicd --restart-after-upgrade
 
49
 
 
50
override_dh_bugfiles:
 
51
        dh_bugfiles -A
47
52
 
48
53
%:
49
54
        dh --with quilt $@
 
55
 
 
56
get-orig-source:
 
57
        uscan --force-download --download-version $(CURVER) --destdir . --rename
 
58
        tar xvf wicd_$(CURVER).orig.tar.bz2
 
59
        ( cd wicd-$(CURVER)/ ; \
 
60
        patch -p1 < ../debian/patches/xx-get_translations.patch ; \
 
61
        python setup.py get_translations ; \
 
62
        rm -rf vcsinfo.pyc )
 
63
        tar jcf wicd_$(CURVER)+ds1.orig.tar.bz2 wicd-$(CURVER)/
 
64
        rm -rf wicd_$(CURVER).orig.tar.bz2 wicd-$(CURVER)/