[Python-modules-commits] [bdist-nsi] 05/12: Make lintian happier.

Dominik George natureshadow-guest at moszumanska.debian.org
Sun Apr 23 19:24:12 UTC 2017


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

natureshadow-guest pushed a commit to branch master
in repository bdist-nsi.

commit dc496aa25915b1cd53582367a4407b7b67add371
Author: Dominik George <nik at naturalnet.de>
Date:   Sun Apr 23 20:52:16 2017 +0200

    Make lintian happier.
---
 debian/clean                              | 1 +
 debian/copyright                          | 6 +++---
 debian/python-bdist-nsi.lintian-overrides | 2 ++
 debian/rules                              | 4 ++++
 debian/source/lintian-overrides           | 2 ++
 5 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..8f0f98f
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+CHANGELOG
diff --git a/debian/copyright b/debian/copyright
index c15bd70..8a4e24c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,13 +5,13 @@ Source: https://pypi.python.org/pypi/bdist_nsi
 
 Files: *
 Copyright: 2009 bdist_nsi contributors
-License: BSD
+License: BSD-3-clause
 
 Files: debian/*
 Copyright: 2017 Dominik George <nik at naturalnet.de>
-License: BSD
+License: BSD-3-clause
 
-License: BSD
+License: BSD-3-clause
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:
diff --git a/debian/python-bdist-nsi.lintian-overrides b/debian/python-bdist-nsi.lintian-overrides
new file mode 100644
index 0000000..d5fd121
--- /dev/null
+++ b/debian/python-bdist-nsi.lintian-overrides
@@ -0,0 +1,2 @@
+# shut up
+python-bdist-nsi binary: new-package-should-not-package-python2-module
diff --git a/debian/rules b/debian/rules
index 3183faa..68efd68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,7 @@ export PYBUILD_NAME=bdist_nsi
 
 %:
 	dh $@ --with python2,python3,pypy --buildsystem=pybuild
+
+override_dh_installchangelog:
+	awk '/^import/{ exit }{ print }' bdist_nsi/bdist_nsi.py >CHANGELOG
+	dh_installchangelog
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..4a93dc6
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# upstream does not sign tarballs
+bdist-nsi source: debian-watch-may-check-gpg-signature

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



More information about the Python-modules-commits mailing list