[Python-modules-commits] r16866 - in packages/python-django/trunk/debian (3 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon May 2 21:01:44 UTC 2011


    Date: Monday, May 2, 2011 @ 21:01:42
  Author: piotr
Revision: 16866

* Bump Standards-Version to 3.9.2 (no changes needed)
* check if interpreter is installed before invoking py_libdir_sh

Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/control
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2011-05-02 20:34:47 UTC (rev 16865)
+++ packages/python-django/trunk/debian/changelog	2011-05-02 21:01:42 UTC (rev 16866)
@@ -8,6 +8,7 @@
 
   [ Piotr Ożarowski ]
   * Fix builds with non-default Python versions installed
+  * Bump Standards-Version to 3.9.2 (no changes needed)
 
  -- Piotr Ożarowski <piotr at debian.org>  Mon, 02 May 2011 22:23:37 +0200
 

Modified: packages/python-django/trunk/debian/control
===================================================================
--- packages/python-django/trunk/debian/control	2011-05-02 20:34:47 UTC (rev 16865)
+++ packages/python-django/trunk/debian/control	2011-05-02 21:01:42 UTC (rev 16866)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Chris Lamb <lamby at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Raphaël Hertzog <hertzog at debian.org>
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
 Build-Depends: debhelper (>= 7.0.50), python-support, python (>= 2.5) | python-sqlite, locales-all | language-pack-en-base
 Build-Depends-Indep: python-sphinx, libjs-jquery
 Homepage: http://www.djangoproject.com/

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2011-05-02 20:34:47 UTC (rev 16865)
+++ packages/python-django/trunk/debian/rules	2011-05-02 21:01:42 UTC (rev 16866)
@@ -43,6 +43,7 @@
 	
 	# Use default shebang and m move scripts to /usr/lib/python-django
 	set -e; for ver in $(shell pyversions -vr); do \
+		[ -f /usr/bix/python$$ver ] || continue;\
 		FILE=$(PREFIX)/$(call py_libdir_sh,$$ver)/django/conf/project_template/manage.py; \
 		if [ -f $$FILE ]; then\
 			perl -pi -e 's|^#!/usr/bin/env python.*|#!/usr/bin/python|' $$FILE;\




More information about the Python-modules-commits mailing list