Package: fontypython
Severity: minor
Tags: patch

fontypython needs some little changes to build fine with Python 2.6.


Attaching ubuntu's 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: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u fontypython-0.3.6/debian/changelog fontypython-0.3.6/debian/changelog
--- fontypython-0.3.6/debian/changelog
+++ fontypython-0.3.6/debian/changelog
@@ -1,3 +1,11 @@
+fontypython (0.3.6-2ubuntu1) karmic; urgency=low
+
+  * Adjust debian/rules to fix FTBFS with Python 2.6:
+    - Include /usr/share/python/python.mk.
+    - Append py_setup_install_args macro to setup.py install args list.
+
+ -- Alessio Treglia <[email protected]>  Mon, 04 May 2009 23:26:19 +0200
+
 fontypython (0.3.6-2) unstable; urgency=low
 
   * debian/control:
diff -u fontypython-0.3.6/debian/control fontypython-0.3.6/debian/control
--- fontypython-0.3.6/debian/control
+++ fontypython-0.3.6/debian/control
@@ -1,7 +1,8 @@
 Source: fontypython
 Section: utils
 Priority: optional
-Maintainer: Kartik Mistry <[email protected]>
+Maintainer: Ubuntu MOTU Developers <[email protected]>
+XSBC-Original-Maintainer: Kartik Mistry <[email protected]>
 Build-Depends: debhelper (>= 5)
 Build-Depends-Indep: python-support (>= 0.5.3), python-all-dev (>= 2.4), python-imaging, python-wxgtk2.6
 Homepage: https://savannah.nongnu.org/projects/fontypython
diff -u fontypython-0.3.6/debian/rules fontypython-0.3.6/debian/rules
--- fontypython-0.3.6/debian/rules
+++ fontypython-0.3.6/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/python/python.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -17,7 +19,8 @@
 	dh_clean -k
 	dh_installdirs
 
-	python setup.py install --no-compile --root=$(CURDIR)/debian/fontypython
+	python setup.py install --no-compile --root=$(CURDIR)/debian/fontypython \
+	    $(py_setup_install_args)
 	mv -f $(CURDIR)/debian/fontypython/usr/bin/fp \
 	      $(CURDIR)/debian/fontypython/usr/bin/fontypython
 

Reply via email to