Browse Source

Drop python 2 support. Closes: #937905

Christoph Biedl 3 years ago
parent
commit
e23fc3987e
4 changed files with 1 additions and 24 deletions
  1. 0 19
      debian/control
  2. 0 2
      debian/python-magic.install
  3. 0 2
      debian/python3-magic.install
  4. 1 1
      debian/rules

+ 0 - 19
debian/control

@@ -7,31 +7,12 @@ Vcs-Git: https://git.in-ulm.de/cbiedl/python-magic.git
 Testsuite: autopkgtest-pkg-python
 Build-Depends: debhelper-compat (= 12),
     dh-python,
-    python-all,
-    python-setuptools,
     python3-all,
     python3-setuptools,
 Priority: extra
 Rules-Requires-Root: no
 Section: libs
 
-Package: python-magic
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends},
-    libmagic1,
-Provides:
-    ${python:Provides},
-Section: python
-Priority: optional
-Description: python2 interface to the libmagic file type identification library
- python-magic is a Python interface to the libmagic file type
- identification library. libmagic identifies file types by checking
- their headers according to a predefined list of file types. This
- functionality is exposed to the command line by the Unix command file.
- .
- This package provides the Python 2 version of the python-magic module.
-XB-Python-Version: ${python:Versions}
-
 Package: python3-magic
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends},

+ 0 - 2
debian/python-magic.install

@@ -1,2 +0,0 @@
-
-debian/tmp/usr/lib/python2.?/

+ 0 - 2
debian/python3-magic.install

@@ -1,2 +0,0 @@
-
-debian/tmp/usr/lib/python3.?/

+ 1 - 1
debian/rules

@@ -3,4 +3,4 @@
 export LC_ALL=C.UTF-8
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild