Dear maintainer, I've prepared an NMU for python-yubico (versioned as 1.3.3-0.2). The diff is attached to this message. Regards.
diff -Nru python-yubico-1.3.3/debian/changelog python-yubico-1.3.3/debian/changelog --- python-yubico-1.3.3/debian/changelog 2019-11-08 05:24:23.000000000 -0500 +++ python-yubico-1.3.3/debian/changelog 2020-01-26 21:30:44.000000000 -0500 @@ -1,3 +1,10 @@ +python-yubico (1.3.3-0.2) unstable; urgency=medium + + * Non-maintainer upload. + * Drop python2 support; Closes: #938283 + + -- Sandro Tosi <mo...@debian.org> Sun, 26 Jan 2020 21:30:44 -0500 + python-yubico (1.3.3-0.1) unstable; urgency=medium * New upstream release with Python3 compatibility fixes diff -Nru python-yubico-1.3.3/debian/control python-yubico-1.3.3/debian/control --- python-yubico-1.3.3/debian/control 2019-08-23 04:45:57.000000000 -0400 +++ python-yubico-1.3.3/debian/control 2020-01-26 21:13:47.000000000 -0500 @@ -5,10 +5,6 @@ Priority: optional Build-Depends: debhelper-compat (= 12), dh-python, - python-all (>= 2.6.6-3), - python-nose (>= 0.10.0b1), - python-setuptools (>= 0.6b3), - python-usb, python3-all (>= 2.6.6-3), python3-nose (>= 0.10.0b1), python3-setuptools (>= 0.6b3), @@ -18,25 +14,14 @@ Vcs-Browser: https://salsa.debian.org/auth-team/python-yubico Vcs-Git: https://salsa.debian.org/auth-team/python-yubico.git -Package: python-yubico -Architecture: all -Depends: ${python:Depends}, - ${misc:Depends}, - python-usb -Provides: ${python:Provides} -Description: Python2 library for talking to Yubico YubiKeys - The YubiKey is a hardware authentication token. This is a Python2 - library for interacting with YubiKeys. Typical use is to detect, - configure (personalize) or issue challenge-responses to YubiKeys. - Package: python-yubico-tools Architecture: all Section: utils Depends: ${python:Depends}, ${misc:Depends}, - python-argparse, - python-yubico (= ${binary:Version}) -Provides: ${python:Provides} + python3-argparse, + python3-yubico (= ${binary:Version}) +Provides: ${python3:Provides} Description: Tools for Yubico YubiKeys The YubiKey is a hardware authentication token. This package contains utilities for the YubiKey implemented using the diff -Nru python-yubico-1.3.3/debian/patches/py3k_shebang.patch python-yubico-1.3.3/debian/patches/py3k_shebang.patch --- python-yubico-1.3.3/debian/patches/py3k_shebang.patch 1969-12-31 19:00:00.000000000 -0500 +++ python-yubico-1.3.3/debian/patches/py3k_shebang.patch 2020-01-26 21:28:03.000000000 -0500 @@ -0,0 +1,8 @@ +--- a/util/yubikey-totp ++++ b/util/yubikey-totp +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # + # Copyright (c) 2011, Yubico AB + # See the file COPYING for licence statement. diff -Nru python-yubico-1.3.3/debian/patches/series python-yubico-1.3.3/debian/patches/series --- python-yubico-1.3.3/debian/patches/series 1969-12-31 19:00:00.000000000 -0500 +++ python-yubico-1.3.3/debian/patches/series 2020-01-26 21:27:42.000000000 -0500 @@ -0,0 +1 @@ +py3k_shebang.patch diff -Nru python-yubico-1.3.3/debian/python-yubico.docs python-yubico-1.3.3/debian/python-yubico.docs --- python-yubico-1.3.3/debian/python-yubico.docs 2018-02-23 13:26:29.000000000 -0500 +++ python-yubico-1.3.3/debian/python-yubico.docs 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -README diff -Nru python-yubico-1.3.3/debian/python-yubico.examples python-yubico-1.3.3/debian/python-yubico.examples --- python-yubico-1.3.3/debian/python-yubico.examples 2018-02-23 13:26:29.000000000 -0500 +++ python-yubico-1.3.3/debian/python-yubico.examples 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -examples/* diff -Nru python-yubico-1.3.3/debian/rules python-yubico-1.3.3/debian/rules --- python-yubico-1.3.3/debian/rules 2019-08-23 04:45:57.000000000 -0400 +++ python-yubico-1.3.3/debian/rules 2020-01-26 21:27:27.000000000 -0500 @@ -7,9 +7,8 @@ override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - nosetests-2.7 -e test_challenge_response -e test_serial -e test_status nosetests3 -e test_challenge_response -e test_serial -e test_status endif %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild