tags 936850 patch
thanks

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

Cheers,
        Moritz
diff -Naur libesedb-20181229.orig/debian/control libesedb-20181229/debian/control
--- libesedb-20181229.orig/debian/control	2019-01-27 04:28:57.000000000 +0100
+++ libesedb-20181229/debian/control	2019-11-29 23:03:51.165989678 +0100
@@ -3,7 +3,7 @@
 Maintainer: Debian Security Tools <[email protected]>
 Uploaders: Hilko Bengen <[email protected]>
 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/libesedb
@@ -53,18 +53,6 @@
  This package contains tools to access data stored in EDB files:
  esedbexport, esedbinfo.
 
-Package: python-libesedb
-Section: python
-Architecture: any
-Depends: libesedb1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: Extensible Storage Engine DB access library -- Python 2 bindings
- libesedb is a library to access the Extensible Storage Engine (ESE)
- Database File (EDB) format. The ESE database format is used in may
- different applications like Windows Search, Windows Mail, Exchange,
- Active Directory, etc..
- .
- This package contains Python 2 bindings for libesedb.
-
 Package: python3-libesedb
 Section: python
 Architecture: any
diff -Naur libesedb-20181229.orig/debian/python-libesedb.install libesedb-20181229/debian/python-libesedb.install
--- libesedb-20181229.orig/debian/python-libesedb.install	2019-01-26 14:15:31.000000000 +0100
+++ libesedb-20181229/debian/python-libesedb.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-/usr/lib/python2*
diff -Naur libesedb-20181229.orig/debian/rules libesedb-20181229/debian/rules
--- libesedb-20181229.orig/debian/rules	2019-01-27 04:37:36.000000000 +0100
+++ libesedb-20181229/debian/rules	2019-11-29 23:03:32.982571033 +0100
@@ -12,10 +12,10 @@
 export SKIP_PYTHON_TESTS=1
 
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python3
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-python2 --enable-python3 CFLAGS="-g"
+	dh_auto_configure -- --enable-python3 CFLAGS="-g"
 
 override_dh_missing:
 	dh_missing -Xpyesedb.a -X.la --fail-missing

Reply via email to