Package: prewikka
Version: 0.9.16-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Please make prewikka ready to build with Python 2.6.

Attaching a patch.


-- 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-13-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 prewikka-0.9.16/debian/rules prewikka-0.9.16/debian/rules
--- prewikka-0.9.16/debian/rules
+++ prewikka-0.9.16/debian/rules
@@ -9,6 +9,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/python/python.mk
 
 
 PYTHON  := /usr/bin/python
@@ -38,7 +39,7 @@
 	dh_installdirs
 
 	python setup.py install \
-		--root=$(CURDIR)/debian/prewikka
+		--root=$(CURDIR)/debian/prewikka $(py_setup_install_args)
 
 	cp database/mysql.sql debian/prewikka/usr/share/dbconfig-common/data/prewikka/install/mysql
 	cp database/pgsql.sql debian/prewikka/usr/share/dbconfig-common/data/prewikka/install/pgsql
diff -u prewikka-0.9.16/debian/changelog prewikka-0.9.16/debian/changelog
diff -u prewikka-0.9.16/debian/control prewikka-0.9.16/debian/control
--- prewikka-0.9.16/debian/control
+++ prewikka-0.9.16/debian/control
@@ -2,8 +2,9 @@
 Section: web
 Priority: extra
 XS-Python-Version: all
 Maintainer: Pierre Chifflier <pol...@debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python, python-all-dev, python-central (>= 0.5), python-cheetah
+Build-Depends: debhelper (>= 5.0.38), python, python-all-dev (>= 2.5.4-1~), python-central (>= 0.5.6), python-cheetah
 Standards-Version: 3.8.2
 
 Package: prewikka

Reply via email to