tags 557957 + patch
thanks

Dear maintainer,

I've prepared an NMU for pootle (versioned as 1.2.1-4.1) and
uploaded it to DELAYED/5.

Please consider switching from python-central to python-support, and to join the
Python Application Packaging Team or Debian Python Modules Team to maintain your
python-related packages with those teams.

Regards.
diff -u pootle-1.2.1/debian/control pootle-1.2.1/debian/control
--- pootle-1.2.1/debian/control
+++ pootle-1.2.1/debian/control
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Nicolas FRANCOIS (Nekral) <[email protected]>
-Build-Depends-Indep: python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6)
+Build-Depends-Indep: python-all-dev (>= 2.5.4-1~), python-central (>= 0.5.6)
 Build-Depends: debhelper (>= 6.0.7), quilt (>= 0.40)
 XS-Python-Version: current, >= 2.3
 Standards-Version: 3.8.3
diff -u pootle-1.2.1/debian/rules pootle-1.2.1/debian/rules
--- pootle-1.2.1/debian/rules
+++ pootle-1.2.1/debian/rules
@@ -1,8 +1,10 @@
 #!/usr/bin/make -f
 
+include /usr/share/python/python.mk
+
 d=$(CURDIR)/debian/pootle
 pv=$(shell pyversions -vr)
-Pootle=$(d)/usr/lib/python$(pv)/site-packages/Pootle
+Pootle=$(d)$(call py_libdir,$(pv))/Pootle
 
 include /usr/share/quilt/quilt.make
 
@@ -26,7 +28,7 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	python pootlesetup.py install --root=$(d)
+	python pootlesetup.py install --root=$(d) $(py_setup_install_args)
 	# Pootle is a WEB server, I prefer to install it in sbin
 	mv $(d)/usr/bin/PootleServer $(d)/usr/sbin
 	# Remove the tests and unused files
diff -u pootle-1.2.1/debian/changelog pootle-1.2.1/debian/changelog
--- pootle-1.2.1/debian/changelog
+++ pootle-1.2.1/debian/changelog
@@ -1,3 +1,15 @@
+pootle (1.2.1-4.1) unstable; urgency=low
+
+  * Non-maintainer upload, in preparation of the upcoming Python 2.6 transition
+  * debian/control
+    - bump versionded depends on python-all-dev
+  * debian/rules
+    - include python.mk, adapt variables to be compatible pass the Python 2.5,
+      and 2.6, pass py_setup_install_args to 'setup.py install'; thanks to Jakub
+      Wilk for the report; Closes: #557957
+
+ -- Sandro Tosi <[email protected]>  Fri, 04 Dec 2009 23:19:04 +0100
+
 pootle (1.2.1-4) unstable; urgency=low
 
   * debian/patches/translate_toolkit_1_4.patch: Fix failures with the new

Reply via email to