tags 936853 patch
thanks

All reverse dependencies to the Python 2 package are gone, patch attached.

Cheers,
        Moritz
diff -Naur libevtx-20181227.orig/debian/control libevtx-20181227/debian/control
--- libevtx-20181227.orig/debian/control	2019-01-14 00:36:29.000000000 +0100
+++ libevtx-20181227/debian/control	2019-11-29 22:59:19.118592303 +0100
@@ -3,7 +3,7 @@
 Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
 Uploaders: Hilko Bengen <ben...@debian.org>
 Build-Depends: debhelper (>= 11),
- pkg-config, python-dev, python3-dev, libbfio-dev,
+ pkg-config, python3-dev, libbfio-dev,
 Standards-Version: 4.3.0
 Section: libs
 Homepage: https://github.com/libyal/libevtx
@@ -44,15 +44,6 @@
  This package contains tools to access data stored in EVT log files:
  evtxexport, evtxinfo.
 
-Package: python-libevtx
-Section: python
-Architecture: any
-Depends: libevtx1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: Windows XML Event Log format access library -- Python 2 bindings
- libevtx is a library to access the Windows XML Event Log (EVTX) format.
- .
- This package contains Python 2 bindings for libevtx.
-
 Package: python3-libevtx
 Section: python
 Architecture: any
diff -Naur libevtx-20181227.orig/debian/python-libevtx.install libevtx-20181227/debian/python-libevtx.install
--- libevtx-20181227.orig/debian/python-libevtx.install	2016-08-02 11:13:37.000000000 +0200
+++ libevtx-20181227/debian/python-libevtx.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-/usr/lib/python2*
diff -Naur libevtx-20181227.orig/debian/rules libevtx-20181227/debian/rules
--- libevtx-20181227.orig/debian/rules	2019-01-14 00:36:29.000000000 +0100
+++ libevtx-20181227/debian/rules	2019-11-29 22:59:02.011107593 +0100
@@ -10,10 +10,10 @@
 export SKIP_PYTHON_TESTS=1
 
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python3
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-python2 --enable-python3
+	dh_auto_configure -- --enable-python3
 
 override_dh_missing:
 	dh_missing -X.la -X/pyevtx.a --fail-missing

Reply via email to