Run of lintian-fixes for python-mysqldb

Try this locally (using the lintian-brush package):

debcheckout python-mysqldb
cd python-mysqldb
lintian-brush

Merge these changes:

git pull https://janitor.debian.net/git/python-mysqldb lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 3654236..52b356e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-mysqldb (1.4.4-3) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 9 to 12.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Make "Files: *" paragraph the first in the copyright file.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 05 Apr 2020 13:10:55 +0000
+
 python-mysqldb (1.4.4-2) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/control b/debian/control
index 4805186..13868cd 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  Brian May <bam@debian.org>,
  Thomas Goirand <zigo@debian.org>,
 Build-Depends:
- debhelper-compat (= 9),
+ debhelper-compat (= 12),
  default-libmysqlclient-dev,
  dh-python,
  python3-all-dbg,
diff --git a/debian/copyright b/debian/copyright
index 3397c03..933b246 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,10 @@ Upstream-Name: mysqlclient
 Upstream-Contact: Andy Dustman <andy@dustman.net>
 Source: https://pypi.python.org/pypi/mysqlclient
 
+Files: *
+Copyright: (c) 2002-2012, Andy Dustman <andy@dustman.net>
+License: GPL-2+
+
 Files: debian/*
 Copyright: (c) 1999-2001, Gregor Hoffleit <flight@debian.org>
            (c) 2002-2009, Matthias Klose <doko@debian.org>
@@ -14,10 +18,6 @@ Copyright: (c) 1999-2001, Gregor Hoffleit <flight@debian.org>
            (c) 2013-2015, Thomas Goirand <zigo@debian.org>
 License: GPL-2+
 
-Files: *
-Copyright: (c) 2002-2012, Andy Dustman <andy@dustman.net>
-License: GPL-2+
-
 License: GPL-2+
  This package is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..31a98b2
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/PyMySQL/mysqlclient-python/issues
+Bug-Submit: https://github.com/PyMySQL/mysqlclient-python/issues/new
+Repository: https://github.com/PyMySQL/mysqlclient-python.git
+Repository-Browse: https://github.com/PyMySQL/mysqlclient-python

Publish History

Full worker log Full build log