[Python-modules-commits] [twisted] 06/08: Add lintian overrides for privacy-breach-google-adsense

Free Ekanayaka freee at moszumanska.debian.org
Thu Oct 20 08:27:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch master
in repository twisted.

commit 1de0fbdb09b774d180cdd3d757d93e6c0096cdc7
Author: Free Ekanayaka <freee at debian.org>
Date:   Thu Oct 20 05:18:24 2016 +0000

    Add lintian overrides for privacy-breach-google-adsense
---
 debian/python-twisted-core.lintian-overrides | 6 ++++++
 debian/python3-twisted.lintian-overrides     | 6 ++++++
 debian/rules                                 | 2 ++
 3 files changed, 14 insertions(+)

diff --git a/debian/python-twisted-core.lintian-overrides b/debian/python-twisted-core.lintian-overrides
new file mode 100644
index 0000000..74681dd
--- /dev/null
+++ b/debian/python-twisted-core.lintian-overrides
@@ -0,0 +1,6 @@
+# Override this error as the Google Analytics is part of a layout template
+# that is only used internally by the Twisted project to generate online
+# API documentation.
+python-twisted-core: privacy-breach-google-adsense usr/lib/python2.7/dist-packages/twisted/python/_pydoctortemplates/common.html
+python-twisted-core: privacy-breach-google-adsense usr/lib/python2.7/dist-packages/twisted/python/_pydoctortemplates/index.html
+python-twisted-core: privacy-breach-google-adsense usr/lib/python2.7/dist-packages/twisted/python/_pydoctortemplates/summary.html
diff --git a/debian/python3-twisted.lintian-overrides b/debian/python3-twisted.lintian-overrides
new file mode 100644
index 0000000..ebd1969
--- /dev/null
+++ b/debian/python3-twisted.lintian-overrides
@@ -0,0 +1,6 @@
+# Override this error as the Google Analytics is part of a layout template
+# that is only used internally by the Twisted project to generate online
+# API documentation.
+python3-twisted: privacy-breach-google-adsense usr/lib/python3/dist-packages/twisted/python/_pydoctortemplates/common.html
+python3-twisted: privacy-breach-google-adsense usr/lib/python3/dist-packages/twisted/python/_pydoctortemplates/index.html
+python3-twisted: privacy-breach-google-adsense usr/lib/python3/dist-packages/twisted/python/_pydoctortemplates/summary.html
diff --git a/debian/rules b/debian/rules
index 6182ee6..75cf057 100755
--- a/debian/rules
+++ b/debian/rules
@@ -192,6 +192,7 @@ endif
 	dh_installmenu -i
 	dh_compress -i -X.py
 	dh_fixperms -i
+	dh_lintian -i
 	dh_python2 -i
 	dh_python3 -i
 	dh_installdeb -i
@@ -208,6 +209,7 @@ binary-arch: build-arch install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs -a
+	dh_lintian -a
 	dh_installdocs -a
 	dh_installmenu -a
 	dh_strip -ppython-twisted-bin --dbg-package=python-twisted-bin-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/twisted.git



More information about the Python-modules-commits mailing list