From: Eugene V. Lyubimkin Date: Fri, 31 Oct 2008 18:56:17 +0000 (+0200) Subject: Added lintian override of 'must depend on python. X-Git-Tag: 0.7.21~72^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/acbd8c84cf41ab41172d6197439c36f71220e40e Added lintian override of 'must depend on python. --- diff --git a/debian/changelog b/debian/changelog index c6b7b170c..625dd8e0b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 24 Oct 2008 23:45:17 +0300 diff --git a/debian/rules b/debian/rules index 3b9a115d7..f6ff3c47a 100755 --- a/debian/rules +++ b/debian/rules @@ -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 index 000000000..49c5ce53c --- /dev/null +++ b/share/lintian-overrides @@ -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