[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#547810: Patch for #547810



tags 547810 + patch
thanks

Dear maintainer,

Here attached a patch for this bug

Regards.
diff -u ccsm-0.8.2/debian/rules ccsm-0.8.2/debian/rules
--- ccsm-0.8.2/debian/rules
+++ ccsm-0.8.2/debian/rules
@@ -8,6 +8,7 @@
 #UPSTREAM_PRESERVE:=po/Makefile.in.in
 
 include /usr/share/quilt/quilt.make
+include /usr/share/python/python.mk
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
@@ -34,7 +35,7 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
-	python setup.py install --root=debian/tmp --prefix=/usr
+	python setup.py install --root=debian/tmp --prefix=/usr $(py_setup_install_args)
 
 # Build architecture-independent files here.
 binary-indep: build install
diff -u ccsm-0.8.2/debian/changelog ccsm-0.8.2/debian/changelog
--- ccsm-0.8.2/debian/changelog
+++ ccsm-0.8.2/debian/changelog
@@ -1,3 +1,15 @@
+ccsm (0.8.2-2.1) UNRELEASED; urgency=low
+
+  * Make the package ready for Python 2.6; thanks to Josselin Mouette
+    for the report; Closes: #547810
+    - debian/control
+      + build-depends on python (>= 2.5.4-1~)
+    - debian/rules
+      - include python.mk
+      - use $(py_setup_install_args) when installing
+
+ -- Sandro Tosi <morph@debian.org>  Sun, 11 Oct 2009 22:08:55 +0200
+
 ccsm (0.8.2-2) unstable; urgency=high
 
   * tighten dependency on python-compizconfig (Closes: #524273)
diff -u ccsm-0.8.2/debian/control ccsm-0.8.2/debian/control
--- ccsm-0.8.2/debian/control
+++ ccsm-0.8.2/debian/control
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
 Uploaders: Sean Finney <seanius@debian.org>
-Build-Depends: debhelper (>= 5), python, python-support, quilt, intltool
+Build-Depends: debhelper (>= 5), python (>= 2.5.4-1~), python-support, quilt, intltool
 Standards-Version: 3.8.1
 Section: x11
 Vcs-Git: git://git.debian.org/git/pkg-xorg/bling/ccsm.git

Reply to: