Added lintian override of 'must depend on python.
authorEugene V. Lyubimkin <jackyf@1501-debian>
Fri, 31 Oct 2008 18:56:17 +0000 (20:56 +0200)
committerEugene V. Lyubimkin <jackyf@1501-debian>
Fri, 31 Oct 2008 18:56:17 +0000 (20:56 +0200)
debian/changelog
debian/rules
share/lintian-overrides [new file with mode: 0644]

index c6b7b17..625dd8e 100644 (file)
@@ -22,6 +22,10 @@ apt (0.7.17) unstable; urgency=low
       'maintainer-script-ignores-error'.
   * dselect/makefile:
     - Removed unneeded 'LOCAL' entry. This allows cleaning rule to run smoothly.
+  * share/lintian-overrides:
+    - Added with override of 'apt must depend on python'. Script 'apt-mark'
+      needs apt-python for working and checks this on fly. We don't want
+      python in most cases.
 
  -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 24 Oct 2008 23:45:17 +0300
 
index 3b9a115..f6ff3c4 100755 (executable)
@@ -217,6 +217,9 @@ apt: build debian/shlibs.local
        cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
 #      head -n 500 ChangeLog > debian/ChangeLog
 
+       # copy lintian override
+       cp share/lintian-overrides debian/$@/usr/share/lintian/overrides/apt
+
        # make rosetta happy and remove pot files in po/ (but leave stuff
        # in po/domains/* untouched) and cp *.po into each domain dir
        rm -f build/po/*.pot
diff --git a/share/lintian-overrides b/share/lintian-overrides
new file mode 100644 (file)
index 0000000..49c5ce5
--- /dev/null
@@ -0,0 +1,3 @@
+# apt-mark is rarely used auxiliary script, we don't want to depend on
+# python-apt only for it. 
+apt binary: python-script-but-no-python-dep ./usr/bin/apt-mark