tags 629087 + pending
thanks

Dear maintainer,

I've prepared an NMU for miro (versioned as 4.0.1.1-1.1) and
will upload it in a minute.  I applied Stefano's patch, except using
binary-install instead of binary-post-install to make sure the shebang
change happened before dh_pysupport.

Cheers,
Julien
diff -Nru miro-4.0.1.1/debian/changelog miro-4.0.1.1/debian/changelog
--- miro-4.0.1.1/debian/changelog	2011-06-09 22:32:11.000000000 +0200
+++ miro-4.0.1.1/debian/changelog	2011-06-29 17:37:28.000000000 +0200
@@ -1,3 +1,15 @@
+miro (4.0.1.1-1.1) unstable; urgency=low
+
+  [ Stefano Rivera ]
+  * Non-maintainer upload.
+  * Build for Python >= 2.6 (closes: #629087):
+    - Drop deprecated pycompat.
+    - Replace pyversions with XS-Python-Version >= 2.6.
+    - Build-depend on python-all-dev instead of python2.6-dev.
+    - Un-version shebangs.
+
+ -- Julien Cristau <jcris...@debian.org>  Wed, 29 Jun 2011 16:45:37 +0200
+
 miro (4.0.1.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #627800).
diff -Nru miro-4.0.1.1/debian/control miro-4.0.1.1/debian/control
--- miro-4.0.1.1/debian/control	2011-06-07 23:40:00.000000000 +0200
+++ miro-4.0.1.1/debian/control	2011-06-29 16:45:32.000000000 +0200
@@ -4,7 +4,7 @@
 Maintainer: Uwe Hermann <u...@debian.org>
 Build-Depends: cdbs (>= 0.4.43),
                debhelper (>= 7.0.50~),
-               python2.6-dev,
+               python-all-dev,
                python-support (>= 0.6),
                python-pyrex (>= 0.9.6.4),
                python-gtk2-dev,
@@ -13,6 +13,7 @@
                pkg-config,
 Standards-Version: 3.9.2
 Homepage: http://www.getmiro.com
+XS-Python-Version: >= 2.6
 
 Package: miro
 Architecture: any
diff -Nru miro-4.0.1.1/debian/pycompat miro-4.0.1.1/debian/pycompat
--- miro-4.0.1.1/debian/pycompat	2011-06-07 23:40:00.000000000 +0200
+++ miro-4.0.1.1/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2
diff -Nru miro-4.0.1.1/debian/pyversions miro-4.0.1.1/debian/pyversions
--- miro-4.0.1.1/debian/pyversions	2011-06-07 23:40:00.000000000 +0200
+++ miro-4.0.1.1/debian/pyversions	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2.6
diff -Nru miro-4.0.1.1/debian/rules miro-4.0.1.1/debian/rules
--- miro-4.0.1.1/debian/rules	2011-06-07 23:40:00.000000000 +0200
+++ miro-4.0.1.1/debian/rules	2011-06-29 17:23:10.000000000 +0200
@@ -35,6 +35,10 @@
 	@# Remove unneeded files from the miro deb.
 	rm -rf debian/miro/usr/share/pyshared/miro/test
 
+binary-install/miro::
+	@# Fixup shebangs.
+	sed -i -e '1 s,#!.*python.*,#! /usr/bin/python,' debian/miro/usr/bin/*
+
 binary-post-install/miro-data::
 	@# Remove unneeded files from the miro-data deb.
 	rm -rf debian/miro-data/usr/share/miro/resources/testdata

Attachment: signature.asc
Description: Digital signature

Reply via email to