~ubuntu-branches/ubuntu/raring/python-httplib2/raring-security

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2010-06-27 10:59:40 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100627105940-s1t61rhvl474tij9
Tags: 0.6.0-2
* Switch to format 3.0 (quilt).
* Switch to dh_python2.
* debian/control:
  - Add python3-httplib2 package.
  - Bump Standards-Version to 3.8.4, no changes required.
* debian/rules:
  - Install files for python3-httplib2 package.
* debian/watch: 
  - Use googlecode.debian.net provider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
3
%:
4
 
        dh $@
5
 
 
 
4
        dh $@ --with python2
 
5
 
 
6
override_dh_auto_install:
 
7
        for pyvers in $(shell pyversions -vr); do \
 
8
                python$$pyvers setup.py install --install-layout=deb \
 
9
                        --root $(CURDIR)/debian/python-httplib2; \
 
10
        done
 
11
        for pyvers in $(shell py3versions -sv); do \
 
12
                python$$pyvers setup.py install --install-layout=deb \
 
13
                        --root $(CURDIR)/debian/python3-httplib2; \
 
14
        done
 
15
 
 
16
override_dh_python2:
 
17
        dh_python2 -ppython-httplib2
 
18
        dh_python3 -ppython3-httplib2