Control: tags -1 + patch

Fixing this seems as easy as just getting rid of the python2 bindings
which has no reverse dependencies.

Debdiff attached.

Regards,
Andreas Henriksson
diff -Nru libcap-ng-0.7.9/debian/changelog libcap-ng-0.7.9/debian/changelog
--- libcap-ng-0.7.9/debian/changelog    2019-01-14 13:33:52.000000000 +0100
+++ libcap-ng-0.7.9/debian/changelog    2019-09-06 21:25:57.000000000 +0200
@@ -1,3 +1,10 @@
+libcap-ng (0.7.9-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python-cap-ng package because of python2 removal (Closes: #936845)
+
+ -- Andreas Henriksson <[email protected]>  Fri, 06 Sep 2019 21:25:57 +0200
+
 libcap-ng (0.7.9-2) unstable; urgency=medium
 
   * Refreshed quilt patches
diff -Nru libcap-ng-0.7.9/debian/control libcap-ng-0.7.9/debian/control
--- libcap-ng-0.7.9/debian/control      2019-01-14 13:31:43.000000000 +0100
+++ libcap-ng-0.7.9/debian/control      2019-09-06 21:25:36.000000000 +0200
@@ -8,9 +8,7 @@
     libattr1-dev,
     linux-kernel-headers,
     swig <!nopython>,
-    libpython-all-dev <!nopython>,
     libpython3-dev <!nopython>,
-    python-all-dev:any <!nopython>,
     python3-dev:any <!nopython>
 Standards-Version: 3.9.8
 Section: libs
@@ -61,22 +59,6 @@
  .
  This package contains utilities for analysing and setting file capabilities.
 
-Package: python-cap-ng
-Section: python
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Build-Profiles: <!nopython>
-Description: Python bindings for libcap-ng
- This library implements the user-space interfaces to the POSIX
- 1003.1e capabilities available in Linux kernels.  These capabilities are
- a partitioning of the all powerful root privilege into a set of distinct
- privileges.
- .
- The libcap-ng library is intended to make programming with POSIX
- capabilities much easier than the traditional libcap library.
- .
- This package contains the Python bindings for libcap-ng.
-
 Package: python3-cap-ng
 Section: python
 Architecture: any
diff -Nru libcap-ng-0.7.9/debian/python-cap-ng.dirs 
libcap-ng-0.7.9/debian/python-cap-ng.dirs
--- libcap-ng-0.7.9/debian/python-cap-ng.dirs   2015-03-25 18:03:52.000000000 
+0100
+++ libcap-ng-0.7.9/debian/python-cap-ng.dirs   1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-usr/lib
diff -Nru libcap-ng-0.7.9/debian/python-cap-ng.install 
libcap-ng-0.7.9/debian/python-cap-ng.install
--- libcap-ng-0.7.9/debian/python-cap-ng.install        2015-05-10 
16:15:09.000000000 +0200
+++ libcap-ng-0.7.9/debian/python-cap-ng.install        1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/python2*
diff -Nru libcap-ng-0.7.9/debian/rules libcap-ng-0.7.9/debian/rules
--- libcap-ng-0.7.9/debian/rules        2018-04-28 16:45:59.000000000 +0200
+++ libcap-ng-0.7.9/debian/rules        2019-09-06 21:25:57.000000000 +0200
@@ -30,7 +30,7 @@
 
 %:
 ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
-       dh $@ --with=python2,python3,autoreconf
+       dh $@ --with=python3,autoreconf
 else
        dh $@ --with=autoreconf
 endif

Reply via email to