~pythoneers/ubuntu/lucid/python-openid/ltsppa

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Mikhail Gusarov, Mikhail Gusarov, Sandro Tosi
  • Date: 2008-03-21 12:50:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080321125026-rku7vh3utq5x1577
Tags: 2.1.1-1
[ Mikhail Gusarov ]
* New upstream release (Closes: #465699, #457081).

* Get rid of CDBS and use debhelper directly.
  - cdbs dependency removed.
* Depend on pycentral >= 0.6 to avoid bug #452227.

* Added patch fix-openid1.0-compatibility.patch, cherry-picked from
  upstream (Closes: #471798).
* build-extensions.patch refreshed.

* Standards-Version bumped to 3.7.3, no changes required.

[ Sandro Tosi ]
* debian/watch
  - fixed version regexp to consider only numerical versions.
* debian/control
  - added Vcs-Svn and Vcs-Browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
 
3
 
DEB_DH_INSTALLCHANGELOGS_ARGS=NEWS
4
 
DEB_DH_INSTALL_ARGS="doc/*" usr/share/doc/python-openid/html
5
 
DEB_COMPRESS_EXCLUDE=examples
6
 
 
7
 
DEB_PYTHON_SYSTEM=pycentral
8
 
 
9
 
include /usr/share/cdbs/1/rules/debhelper.mk
10
 
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
11
 
include /usr/share/cdbs/1/class/python-distutils.mk
 
2
# -*- makefile -*-
 
3
 
 
4
include /usr/share/quilt/quilt.make
 
5
 
 
6
PACKAGE_NAME=python-openid
 
7
 
 
8
build: patch
 
9
 
 
10
clean:
 
11
        dh_testdir
 
12
        dh_testroot
 
13
 
 
14
        python setup.py clean
 
15
        rm -rf build
 
16
        rm -f build-stapm
 
17
 
 
18
        dh_clean
 
19
 
 
20
install: build
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        dh_clean -k
 
24
 
 
25
        python setup.py install --no-compile --root $(CURDIR)/debian/$(PACKAGE_NAME)
 
26
 
 
27
binary-indep: build install
 
28
        dh_testdir
 
29
        dh_testroot
 
30
        dh_installchangelogs NEWS
 
31
        dh_installdocs
 
32
        dh_installexamples
 
33
        dh_install "doc/*" usr/share/doc/$(PACKAGE_NAME)/html
 
34
        dh_pycentral
 
35
        dh_compress -X.py -Xexamples
 
36
        dh_fixperms
 
37
        dh_installdeb
 
38
        dh_gencontrol
 
39
        dh_md5sums
 
40
        dh_builddeb
 
41
 
 
42
binary-arch: build install
 
43
 
 
44
 
 
45
binary: binary-indep binary-arch
 
46
.PHONY: build clean binary-indep binary-arch binary install