Package: feedparser
Severity: wishlist
Tags: patch

feedparser needs some changes to build fine 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 feedparser-4.1/debian/rules feedparser-4.1/debian/rules
--- feedparser-4.1/debian/rules
+++ feedparser-4.1/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
+include /usr/share/python/python.mk
+
 PREFIX := debian/python-feedparser/usr
 
 clean:
@@ -18,7 +20,7 @@
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
 	dh_testroot
 	dh_installdirs
-	python ./setup.py install --prefix $(PREFIX) --no-compile
+	python ./setup.py install --prefix $(PREFIX) --no-compile $(py_setup_install_args)
 
 binary-arch: build install
 
diff -u feedparser-4.1/debian/control feedparser-4.1/debian/control
--- feedparser-4.1/debian/control
+++ feedparser-4.1/debian/control
@@ -1,12 +1,13 @@
 Source: feedparser
 Section: python
 Priority: optional
-Maintainer: Carlos Galisteo <[email protected]>
+Maintainer: Ubuntu MOTU Developers <[email protected]>
+XSBC-Original-Maintainer: Carlos Galisteo <[email protected]>
 Uploaders: Debian Python Modules Team <[email protected]>
 Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3.5-11), python-support (>= 0.3), quilt (>= 0.39-2)
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/feedparser/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/feedparser/trunk/
-XS-Python-Version: >= 2.1, << 2.6
+XS-Python-Version: all
 Standards-Version: 3.8.1
 Homepage: http://www.feedparser.org
 
diff -u feedparser-4.1/debian/changelog feedparser-4.1/debian/changelog
--- feedparser-4.1/debian/changelog
+++ feedparser-4.1/debian/changelog
@@ -1,3 +1,14 @@
+feedparser (4.1-13ubuntu1) karmic; urgency=low
+
+  * Build with Python 2.6:
+    - debian/rules:
+      + Include /usr/share/python/python.mk.
+      + Add py_setup_install_args macro to setup.py install options.
+    - debian/control:
+      + Set XS-Python-Version to all.
+
+ -- Alessio Treglia <[email protected]>  Tue, 05 May 2009 10:37:47 +0200
+
 feedparser (4.1-13) unstable; urgency=low
 
   [ Sandro Tosi ]

Reply via email to