~ubuntu-branches/ubuntu/saucy/ubuntuone-client/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2013-07-11 15:11:07 UTC
  • mfrom: (1.1.83)
  • Revision ID: package-import@ubuntu.com-20130711151107-6tbv4n9er446e2yy
Tags: 13.07-0ubuntu1
* New upstream release.
  - Remove libsyncdaemon and convert to pure python project.
* debian/control:
  - Update dependencies for changes.
  - Drop libsyncdaemon packages. (LP: #1196684)
* debian/rules:
  - Convert to pure dh and update for build system changes.
* debian/tests:
  - Add autopkgtest configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
include /usr/share/cdbs/1/rules/debhelper.mk
4
 
include /usr/share/cdbs/1/rules/utils.mk
5
 
include /usr/share/cdbs/1/class/gnome.mk
6
 
 
7
 
DEB_INSTALL_ARGS = --fail-missing
8
 
 
9
 
binary-install/python-ubuntuone-client::
10
 
        dh_python2 -ppython-ubuntuone-client
11
 
 
12
 
install/libsyncdaemon-1.0-dev::
13
 
        for file in debian/tmp/usr/lib/*.la; do \
14
 
                sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
15
 
        done
16
 
 
17
 
common-build-arch common-build-indep:: debian/stamp-check
18
 
debian/stamp-check:
19
 
        LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 u1trial -p tests/platform/windows,tests/proxy -i "test_windows.py,test_darwin.py,test_fsevents_daemon.py" tests
20
 
        touch $@
21
 
 
22
 
makefile-clean::
23
 
        rm -f debian/stamp-check
24
 
 
 
3
%:
 
4
        dh $@ --with python2,translations --fail-missing
 
5
 
 
6
override_dh_auto_test:
 
7
        LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 u1trial -i test_darwin.py,test_fsevents_daemon.py,test_windows.py -p tests/proxy,tests/platform/windows tests
 
8
 
 
9
override_dh_auto_install:
 
10
        dh_auto_install
 
11
        rm -rf debian/tmp/usr/lib/python*/dist-packages/*/*.egg-info
 
12
        rm -rf debian/tmp/usr/lib/python*/dist-packages/*/contrib