Lintian Fixes - python-termstyle
Ready changes
Summary
- Trim trailing whitespace. ( trailing-whitespace )
- Update watch file format version to 4. ( older-debian-watch-file-standard )
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-bug-tracking )
- Make "Files: *" paragraph the first in the copyright file. ( global-files-wildcard-not-first-paragraph-in-dep5-copyright )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index 7511321..c324f9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+python-termstyle (0.1.10-5) UNRELEASED; urgency=medium
+
+ * Trim trailing whitespace.
+ * Update watch file format version to 4.
+ * Bump debhelper from old 10 to 13.
+ + Replace python_distutils buildsystem with pybuild.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * Make "Files: *" paragraph the first in the copyright file.
+
+ -- Debian Janitor <janitor@jelmer.uk> Mon, 21 Aug 2023 14:59:48 -0000
+
python-termstyle (0.1.10-4) unstable; urgency=medium
* Cleans better (Closes: #1048055).
diff --git a/debian/control b/debian/control
index dfb7c31..d4bfcc7 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Uploaders:
Thomas Goirand <zigo@debian.org>,
Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
dh-python,
openstack-pkg-tools (>= 99~),
python3-all,
diff --git a/debian/copyright b/debian/copyright
index a66b20b..a6fc82e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,14 +2,14 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: termstyle
Source: https://github.com/gfxmonk/termstyle
-Files: debian/*
-Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
-License: BSD-3-clause
-
Files: *
Copyright: (c) 2009-2013, Tim Cuthbertson <tim@gfxmonk.net>
License: BSD-3-clause
+Files: debian/*
+Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
+License: BSD-3-clause
+
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/rules b/debian/rules
index a2d6680..a15d45a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/gfxmonk/termstyle.git
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python3
+ dh $@ --buildsystem=pybuild --with python3
override_dh_auto_clean:
rm -rf build *.egg-info
@@ -16,4 +16,3 @@ override_dh_auto_build:
override_dh_auto_install:
pkgos-dh_auto_install --no-py2
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..a86fe41
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/timbertson/termstyle/issues
+Bug-Submit: https://github.com/timbertson/termstyle/issues/new
+Repository-Browse: https://github.com/timbertson/termstyle
diff --git a/debian/watch b/debian/watch
index 462a72f..840366a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
http://pypi.python.org/packages/source/t/termstyle termstyle-(.*).tar.gz
-
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files