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

[SCM] Debian package checker branch, master, updated. 2.3.4-63-g33ba4c5



The following commit has been merged in the master branch:
commit 40575d589360b87124dbdd68e2f82e6d48ddb646
Author: Russ Allbery <rra@debian.org>
Date:   Tue Mar 30 13:15:26 2010 -0700

    Add a Python 2.6 dependency check
    
    This turned out to be a different problem, but since I wrote the test
    case while debugging the problem anyway, may as well add it.

diff --git a/t/templates/skel/debian/control.in b/t/tests/scripts-interpreters/debian/debian/control.in
similarity index 88%
copy from t/templates/skel/debian/control.in
copy to t/tests/scripts-interpreters/debian/debian/control.in
index 96cea01..5a92cd5 100644
--- a/t/templates/skel/debian/control.in
+++ b/t/tests/scripts-interpreters/debian/debian/control.in
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 7.0.50~)
 
 Package: {$srcpkg}
 Architecture: {$architecture}
-Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}, python2.6
 Description: {$description}
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd
diff --git a/t/tests/scripts-interpreters/debian/debian/install b/t/tests/scripts-interpreters/debian/debian/install
index aadd18a..8f3a3c9 100644
--- a/t/tests/scripts-interpreters/debian/debian/install
+++ b/t/tests/scripts-interpreters/debian/debian/install
@@ -1,6 +1,7 @@
 bin-env                 usr/bin/
 no-interpreter          usr/bin/
 not-absolute            usr/bin/
+python2.6               usr/bin/
 syntax                  usr/bin/
 unusual                 usr/bin/
 unversioned-pike        usr/bin/
diff --git a/t/tests/scripts-interpreters/debian/debian/links b/t/tests/scripts-interpreters/debian/debian/links
index 353369f..b4b46e1 100644
--- a/t/tests/scripts-interpreters/debian/debian/links
+++ b/t/tests/scripts-interpreters/debian/debian/links
@@ -1,6 +1,7 @@
 usr/share/man/man1/interpreters.1       usr/share/man/man1/bin-env.1
 usr/share/man/man1/interpreters.1       usr/share/man/man1/no-interpreter.1
 usr/share/man/man1/interpreters.1       usr/share/man/man1/not-absolute.1
+usr/share/man/man1/interpreters.1       usr/share/man/man1/python2.6.1
 usr/share/man/man1/interpreters.1       usr/share/man/man1/syntax.1
 usr/share/man/man1/interpreters.1       usr/share/man/man1/unusual.1
 usr/share/man/man1/interpreters.1       usr/share/man/man1/unversioned-pike.1
diff --git a/t/tests/scripts-interpreters/debian/python2.6 b/t/tests/scripts-interpreters/debian/python2.6
new file mode 100644
index 0000000..8878cee
--- /dev/null
+++ b/t/tests/scripts-interpreters/debian/python2.6
@@ -0,0 +1,3 @@
+#!/usr/bin/python2.6
+import sys
+sys.exit(0)

-- 
Debian package checker


Reply to: