Hi,

Attached is the diff for my pygtkmvc 0.9.2-1.1 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u pygtkmvc-0.9.2/debian/control pygtkmvc-0.9.2/debian/control
--- pygtkmvc-0.9.2/debian/control
+++ pygtkmvc-0.9.2/debian/control
@@ -3,12 +3,14 @@
 Priority: extra
 Maintainer: Johannes Jordens <[EMAIL PROTECTED]>
 Uploaders: Robert Jordens <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>> 4.1.65), python-dev (>= 2.3)
-Standards-Version: 3.6.1
+Build-Depends: debhelper (>> 4.1.65), python-all-dev (>= 2.3)
+Build-Depends-Indep: python-support (>= 0.4.0)
+Standards-Version: 3.7.2
 
 Package: python-gtkmvc
 Architecture: all
 Depends: ${python:Depends}, python-gtk2 (>= 2.4.0-1), python-glade2 (>= 
2.4.0-1)
+Provides: ${python:Provides}
 Description: model-view-controller (MVC) implementation for pygtk
  This MVC for pygtk2 helps with writing well structured code by splitting 
  the program's code into three distinctive sections. A program 
diff -u pygtkmvc-0.9.2/debian/rules pygtkmvc-0.9.2/debian/rules
--- pygtkmvc-0.9.2/debian/rules
+++ pygtkmvc-0.9.2/debian/rules
@@ -5,19 +5,22 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYTHON=python
+PYVERS := $(shell pyversions -s | sed -e 's/$(shell pyversions -d)/python/')
 
 build: build-stamp
 build-stamp:
        dh_testdir
-       $(PYTHON) setup.py build
+       set -e; \
+       for py in $(PYVERS); do \
+           $$py setup.py build; done
        touch build-stamp
 
 clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
-       -$(PYTHON) setup.py clean --all
+       for py in $(PYVERS); do \
+           $$py setup.py clean --all; done
        dh_clean
 
 # install-ver:
@@ -26,18 +29,21 @@
        dh_testroot
        dh_clean -k
        dh_installdirs
-       $(PYTHON) setup.py install --prefix $(CURDIR)/debian/python-gtkmvc/usr
+       set -e; \
+       for py in $(PYVERS); do \
+           $$py setup.py install --prefix $(CURDIR)/debian/python-gtkmvc/usr; \
+       done
 
 # Build architecture-independent files here.
 binary-indep: build install
        dh_testdir
        dh_testroot
-       dh_installdocs 
+       dh_installdocs
        dh_installexamples
        dh_installchangelogs
        dh_compress
        dh_fixperms
-       dh_python
+       dh_pysupport
        dh_installdeb
        dh_gencontrol
        dh_md5sums
diff -u pygtkmvc-0.9.2/debian/changelog pygtkmvc-0.9.2/debian/changelog
--- pygtkmvc-0.9.2/debian/changelog
+++ pygtkmvc-0.9.2/debian/changelog
@@ -1,3 +1,10 @@
+pygtkmvc (0.9.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update package to the last python policy (Closes: #373496).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Sat, 12 Aug 2006 13:31:37 +0200
+
 pygtkmvc (0.9.2-1) unstable; urgency=low
 
   * New upstream release

Attachment: signature.asc
Description: Digital signature

Reply via email to