Control: tags 936920 + patch
Control: tags 936920 + pending

Dear maintainer,

I've prepared an NMU for libsmdev (versioned as 20190315-1.1) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru libsmdev-20190315/debian/changelog libsmdev-20190315/debian/changelog
--- libsmdev-20190315/debian/changelog	2019-04-21 20:16:48.000000000 +0300
+++ libsmdev-20190315/debian/changelog	2020-01-18 23:50:50.000000000 +0200
@@ -1,3 +1,10 @@
+libsmdev (20190315-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove the Python 2 bindings. (Closes: #936920)
+
+ -- Adrian Bunk <[email protected]>  Sat, 18 Jan 2020 23:50:50 +0200
+
 libsmdev (20190315-1) unstable; urgency=medium
 
   * New upstream version 20190315
diff -Nru libsmdev-20190315/debian/control libsmdev-20190315/debian/control
--- libsmdev-20190315/debian/control	2019-04-21 20:16:13.000000000 +0300
+++ libsmdev-20190315/debian/control	2020-01-18 23:50:50.000000000 +0200
@@ -3,7 +3,7 @@
 Maintainer: Debian Security Tools <[email protected]>
 Uploaders: Hilko Bengen <[email protected]>
 Build-Depends: debhelper (>= 11),dh-python,
- pkg-config, python-dev, python3-dev,
+ pkg-config, python3-dev,
 Standards-Version: 4.3.0
 Section: libs
 Homepage: https://github.com/libyal/libsmdev
@@ -44,15 +44,6 @@
  This package contains smdevinfo, a tool to determine information
  about storage media devices.
 
-Package: python-libsmdev
-Section: python
-Architecture: any
-Depends: libsmdev1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: storage media device access library -- Python 2 bindings
- libsmdev is a library to access to storage media devices.
- .
- This package contains Python 2 bindings for libsmdev.
-
 Package: python3-libsmdev
 Section: python
 Architecture: any
diff -Nru libsmdev-20190315/debian/python-libsmdev.install libsmdev-20190315/debian/python-libsmdev.install
--- libsmdev-20190315/debian/python-libsmdev.install	2019-04-21 20:16:13.000000000 +0300
+++ libsmdev-20190315/debian/python-libsmdev.install	1970-01-01 02:00:00.000000000 +0200
@@ -1 +0,0 @@
-/usr/lib/python2*
diff -Nru libsmdev-20190315/debian/rules libsmdev-20190315/debian/rules
--- libsmdev-20190315/debian/rules	2019-04-21 20:16:13.000000000 +0300
+++ libsmdev-20190315/debian/rules	2020-01-18 23:50:50.000000000 +0200
@@ -10,10 +10,10 @@
 export SKIP_PYTHON_TESTS=1
 
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python3 --buildsystem=autoconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-python2 --enable-python3
+	dh_auto_configure -- --disable-python2 --enable-python3
 
 override_dh_missing:
 	dh_missing -X.la -X/pysmdev.a --fail-missing

Reply via email to