[Python-apps-commits] r5004 - in packages/kupfer/trunk/debian (changelog control rules)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Tue Mar 23 13:50:47 UTC 2010


    Date: Tuesday, March 23, 2010 @ 13:50:43
  Author: dktrkranz
Revision: 5004

* debian/control:
  - Build-Depend-Indep on python2.6 instead of python, this release
    is compatible with python2.6 only.
  - Bump XS-Python-Version to >= 2.6 accordingly.
* debian/rules:
  - Adjust shebang to work with python2.6, waiting for it to become
    the default version in Debian.

Modified:
  packages/kupfer/trunk/debian/changelog
  packages/kupfer/trunk/debian/control
  packages/kupfer/trunk/debian/rules

Modified: packages/kupfer/trunk/debian/changelog
===================================================================
--- packages/kupfer/trunk/debian/changelog	2010-03-23 13:48:14 UTC (rev 5003)
+++ packages/kupfer/trunk/debian/changelog	2010-03-23 13:50:43 UTC (rev 5004)
@@ -5,11 +5,16 @@
     - Refresh for new upstream release.
   * debian/control:
     - Build-Depend-Indep on gnome-doc-utils.
+    - Build-Depend-Indep on python2.6 instead of python, this release
+      is compatible with python2.6 only.
     - Depend on python-keyring.
+    - Bump XS-Python-Version to >= 2.6 accordingly.
   * debian/rules:
     - Invoke waf before waf install to correctly build help files.
+    - Adjust shebang to work with python2.6, waiting for it to become
+      the default version in Debian.
 
- -- Luca Falavigna <dktrkranz at debian.org>  Tue, 23 Mar 2010 14:10:32 +0100
+ -- Luca Falavigna <dktrkranz at debian.org>  Tue, 23 Mar 2010 14:43:09 +0100
 
 kupfer (0+pb1.1-2) unstable; urgency=low
 

Modified: packages/kupfer/trunk/debian/control
===================================================================
--- packages/kupfer/trunk/debian/control	2010-03-23 13:48:14 UTC (rev 5003)
+++ packages/kupfer/trunk/debian/control	2010-03-23 13:50:43 UTC (rev 5004)
@@ -4,9 +4,9 @@
 Maintainer: Luca Falavigna <dktrkranz at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50)
-Build-Depends-Indep: python-support (>= 0.5.3), python (>= 2.5), gettext, intltool, python-docutils, gnome-doc-utils
+Build-Depends-Indep: python-support (>= 0.5.3), python2.6, gettext, intltool, python-docutils, gnome-doc-utils
 Standards-Version: 3.8.4
-XS-Python-Version: >= 2.5
+XS-Python-Version: >= 2.6
 Homepage: http://kaizer.se/wiki/kupfer/
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/kupfer/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/kupfer/trunk/

Modified: packages/kupfer/trunk/debian/rules
===================================================================
--- packages/kupfer/trunk/debian/rules	2010-03-23 13:48:14 UTC (rev 5003)
+++ packages/kupfer/trunk/debian/rules	2010-03-23 13:50:43 UTC (rev 5004)
@@ -14,6 +14,9 @@
 override_dh_auto_install:
 	./waf && ./waf install --nopyc --nopyo --destdir=$(CURDIR)/debian/kupfer
 	rm -f $(CURDIR)/debian/kupfer/usr/share/kupfer/art/COPYING
+	for file in `find debian/kupfer -type f`; do \
+		sed -ri 's/#!\/usr\/bin\/(env |)?python(\d\.\d|)?/#!\/usr\/bin\/python2.6/' $$file; \
+	done
 	rst2html Documentation/Manual.rst build/manual.html
 	rst2man Documentation/Quickstart.rst build/kupfer.1
 
@@ -23,4 +26,3 @@
 override_dh_fixperms:
 	dh_fixperms
 	chmod +x debian/kupfer/usr/share/kupfer/kupfer.py
-




More information about the Python-apps-commits mailing list