tags 616950 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for prewikka (versioned as 1.0.0-1.3) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u prewikka-1.0.0/debian/rules prewikka-1.0.0/debian/rules
--- prewikka-1.0.0/debian/rules
+++ prewikka-1.0.0/debian/rules
@@ -37,7 +37,7 @@
 	dh_clean -k 
 	dh_installdirs
 
-	python setup.py install --root=$(CURDIR)/debian/prewikka --prefix=/usr
+	python setup.py install --root=$(CURDIR)/debian/prewikka --prefix=/usr --install-layout=deb
 
 	mv $(CURDIR)/debian/prewikka/usr/etc $(CURDIR)/debian/prewikka/usr/share/prewikka
 	find debian/prewikka -name siteconfig.py -exec sed -i 's|/usr/etc|/etc|' {} \;
@@ -71,8 +71,7 @@
 	-find debian/prewikka/usr/share/prewikka/htdocs/css -maxdepth 1 -type f -exec chmod 644 {} \;
 #	dh_install
 	dh_installdebconf -pprewikka
-	dh_pycentral -pprewikka
-	dh_python
+	dh_python2 -pprewikka
 #	dh_installinit
 #	dh_installcron
 #	dh_installinfo
diff -u prewikka-1.0.0/debian/control prewikka-1.0.0/debian/control
--- prewikka-1.0.0/debian/control
+++ prewikka-1.0.0/debian/control
@@ -3,12 +3,11 @@
 Priority: extra
 XS-Python-Version: all
 Maintainer: Pierre Chifflier <[email protected]>
-Build-Depends: debhelper (>= 5.0.37.2), python, python-central (>= 0.5), python-cheetah
+Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.6.6-3~), python-cheetah
 Standards-Version: 3.8.4
 
 Package: prewikka
 Architecture: all
-XB-Python-Version: ${python:Versions}
 Depends: ${python:Depends},
     ${misc:Depends},
     python-cheetah,
diff -u prewikka-1.0.0/debian/changelog prewikka-1.0.0/debian/changelog
--- prewikka-1.0.0/debian/changelog
+++ prewikka-1.0.0/debian/changelog
@@ -1,3 +1,10 @@
+prewikka (1.0.0-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Convert to dh_python2 (Closes: #616950).
+
+ -- Luca Falavigna <[email protected]>  Sat, 01 Jun 2013 14:52:24 +0200
+
 prewikka (1.0.0-1.2) unstable; urgency=low
 
   * Non-maintainer upload.
reverted:
--- prewikka-1.0.0/debian/pycompat
+++ prewikka-1.0.0.orig/debian/pycompat
@@ -1 +0,0 @@
-2

Reply via email to