Package: snakefood
Severity: wishlist
Tags: patch

snakefood needs some little changes to build properly with Python 2.6.

Attaching ubuntu debdiff.

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u snakefood-1.3.1/debian/rules snakefood-1.3.1/debian/rules
--- snakefood-1.3.1/debian/rules
+++ snakefood-1.3.1/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+include /usr/share/python/python.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -32,7 +34,7 @@
 
 	# we'll install both scripts and module under /usr/share/snakefood
 	# and scripts will be symlinked into /usr/bin
-	python setup.py install --root=$(CURDIR)/debian/snakefood --install-lib=/usr/share/snakefood --install-scripts=/usr/share/snakefood
+	python setup.py install --root=$(CURDIR)/debian/snakefood --install-lib=/usr/share/snakefood --install-scripts=/usr/share/snakefood $(py_setup_install_args)
 
 
 # Build architecture-dependent files here.
diff -u snakefood-1.3.1/debian/control snakefood-1.3.1/debian/control
--- snakefood-1.3.1/debian/control
+++ snakefood-1.3.1/debian/control
@@ -1,7 +1,8 @@
 Source: snakefood
 Section: python
 Priority: optional
-Maintainer: Python Applications Packaging Team <[email protected]>
+Maintainer: Ubuntu MOTU Developers <[email protected]>
+XSBC-Original-Maintainer: Python Applications Packaging Team <[email protected]>
 Uploaders: Sandro Tosi <[email protected]>
 Build-Depends: debhelper (>= 7), python
 Build-Depends-Indep: python-support
@@ -9,7 +10,7 @@
 Homepage: http://furius.ca/snakefood/
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/snakefood/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/snakefood/trunk/
-XS-Python-Version: 2.5
+XS-Python-Version: current
 
 Package: snakefood
 Architecture: all
diff -u snakefood-1.3.1/debian/changelog snakefood-1.3.1/debian/changelog
--- snakefood-1.3.1/debian/changelog
+++ snakefood-1.3.1/debian/changelog
@@ -1,3 +1,14 @@
+snakefood (1.3.1-2ubuntu1) karmic; urgency=low
+
+  * Build with Python 2.6:
+    - debian/control:
+      + Set XS-Python-Version to current.
+    - debian/rules:
+      + Include /usr/share/python/python.mk.
+      + Append py_setup_install_args macro to setup.py install args list.
+
+ -- Alessio Treglia <[email protected]>  Tue, 05 May 2009 11:03:46 +0200
+
 snakefood (1.3.1-2) unstable; urgency=low
 
   * debian/control

Reply via email to