Browse Source

Packaging cleanup

* Declare compliance with policy 4.7.4
* Refresh patch queue, update origin field
* Drop obsolete Rules-Requires-Root
* Update watch file
Christoph Biedl 18 hours ago
parent
commit
7512eb17da

+ 1 - 2
debian/control

@@ -1,7 +1,7 @@
 Source: python-magic
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Homepage: https://github.com/ahupp/python-magic/
-Standards-Version: 4.6.0
+Standards-Version: 4.7.4
 Vcs-Browser: https://git.in-ulm.de/cbiedl/python-magic
 Vcs-Git: https://git.in-ulm.de/cbiedl/python-magic.git
 Testsuite: autopkgtest-pkg-python
@@ -14,7 +14,6 @@ Build-Depends: debhelper-compat (= 13),
     python3-setuptools,
     python3-wheel,
 Priority: extra
-Rules-Requires-Root: no
 Section: libs
 
 Package: python3-magic

+ 1 - 1
debian/patches/2022-12-23.adjust-for-5.43.patch

@@ -5,7 +5,7 @@ Forwarded: https://github.com/ahupp/python-magic/issues/283
 
 --- a/test/python_magic_test.py
 +++ b/test/python_magic_test.py
-@@ -134,7 +134,7 @@
+@@ -135,7 +135,7 @@
              self.assert_values(m, {
                  # some versions return '' for the extensions of a gz file,
                  # including w/ the command line.  Who knows...

+ 1 - 1
debian/patches/cherry-pick/1690968587.0.4.27-16-g545a2a5.fix-test-suite-with-file-5-45.patch

@@ -1,5 +1,5 @@
 Subject: Fix test suite with file 5.45
-Origin: 0.4.27-16-g545a2a5 <https://github.com/ahupp/python-magic/commit/0.4.27-16-g545a2a5>
+Origin: upstream, 0.4.27-16-g545a2a5 <https://github.com/ahupp/python-magic/commit/0.4.27-16-g545a2a5>
 Upstream-Author: Dominique Leuenberger <dimstar@opensuse.org>
 Date: Wed Aug 2 11:29:47 2023 +0200
 

+ 4 - 4
debian/watch

@@ -1,4 +1,4 @@
-
-version=4
-https://github.com/ahupp/@PACKAGE@/tags \
-    /ahupp/@PACKAGE@/archive/refs/tags/@ANY_VERSION@@ARCHIVE_EXT@
+Version: 5
+Template: Github
+Owner: ahupp
+Project: @PACKAGE@