Control: tags -1 + patch

Hello,

It looks trivial to get rid of the python2 dependency by dropping the
python bindings as they have no reverse dependencies.

debdiff attached.

Regards,
Andreas Henriksson
diff -Nru pam-wrapper-1.0.7/debian/changelog pam-wrapper-1.0.7/debian/changelog
--- pam-wrapper-1.0.7/debian/changelog  2018-10-10 16:54:28.000000000 +0200
+++ pam-wrapper-1.0.7/debian/changelog  2019-09-06 21:51:59.000000000 +0200
@@ -1,3 +1,10 @@
+pam-wrapper (1.0.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove python-pamtest because of python2 removal (Closes: #937235)
+
+ -- Andreas Henriksson <andr...@fatal.se>  Fri, 06 Sep 2019 21:51:59 +0200
+
 pam-wrapper (1.0.7-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #910642)
diff -Nru pam-wrapper-1.0.7/debian/control pam-wrapper-1.0.7/debian/control
--- pam-wrapper-1.0.7/debian/control    2018-10-09 10:50:07.000000000 +0200
+++ pam-wrapper-1.0.7/debian/control    2019-09-06 21:51:59.000000000 +0200
@@ -3,9 +3,9 @@
 Maintainer: Debian SSSD Team <pkg-sssd-de...@lists.alioth.debian.org>
 Uploaders: Timo Aaltonen <tjaal...@debian.org>
 Build-Depends: debhelper (>=11),
+ dh-python,
  cmake,
  libpam0g-dev,
- python-dev,
  python3-dev,
 X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.6
@@ -28,15 +28,6 @@
  unit testing framework or you can use the provided Python bindings to
  write tests for your module in Python.
 
-Package: python-pypamtest
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
-Description: Tool to test PAM applications and PAM modules -- Python bindings
- This component of cwrap allows you to either test your PAM (Linux-PAM
- and OpenPAM) application or module.
- .
- This package includes bindings for Python 2.
-
 Package: python3-pypamtest
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends},
diff -Nru pam-wrapper-1.0.7/debian/python-pypamtest.install 
pam-wrapper-1.0.7/debian/python-pypamtest.install
--- pam-wrapper-1.0.7/debian/python-pypamtest.install   2018-10-09 
10:50:07.000000000 +0200
+++ pam-wrapper-1.0.7/debian/python-pypamtest.install   1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/python2*/dist-packages/pypamtest.so
diff -Nru pam-wrapper-1.0.7/debian/rules pam-wrapper-1.0.7/debian/rules
--- pam-wrapper-1.0.7/debian/rules      2018-10-09 10:50:07.000000000 +0200
+++ pam-wrapper-1.0.7/debian/rules      2019-09-06 21:51:59.000000000 +0200
@@ -3,7 +3,7 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-       dh $@ --with python2,python3 --builddirectory=build/
+       dh $@ --with python3 --builddirectory=build/
 
 override_dh_auto_configure:
        dh_auto_configure -- \

Reply via email to