Control: tags 938010 + patch

Dear maintainer,

I've prepared an NMU for python-pbkdf2 (versioned as 
1.3+20110613.git2a0fb15~ds0-3.1). The diff
is attached to this message.

Regards.

diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog	2013-07-05 17:48:26.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog	2019-12-23 16:51:11.000000000 -0500
@@ -1,3 +1,10 @@
+python-pbkdf2 (1.3+20110613.git2a0fb15~ds0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python3 support; Closes: #938010
+
+ -- Sandro Tosi <mo...@debian.org>  Mon, 23 Dec 2019 16:51:11 -0500
+
 python-pbkdf2 (1.3+20110613.git2a0fb15~ds0-3) unstable; urgency=low
 
   [ Martin Pitt ]
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/control python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/control
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/control	2013-03-25 08:16:46.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/control	2019-12-23 16:51:11.000000000 -0500
@@ -4,36 +4,15 @@
 Maintainer: Alessio Treglia <ales...@debian.org>
 Build-Depends:
  debhelper (>= 9~),
- python-all,
- python-setuptools,
+ dh-python,
  python3-all,
  python3-setuptools
-X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.2
 XS-Testsuite: autopkgtest
 Standards-Version: 3.9.4
 Homepage: http://www.dlitz.net/software/python-pbkdf2/
 Vcs-Git: git://anonscm.debian.org/collab-maint/python-pbkdf2.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-pbkdf2.git
 
-Package: python-pbkdf2
-Architecture: all
-Depends:
- ${misc:Depends},
- ${python:Depends}
-Description: Python RSA PKCS#5 v2.0 module (Python 2)
- This module implements the password-based key derivation
- function, PBKDF2, specified in RSA PKCS#5 v2.0.
- .
- PKCS#5 v2.0 Password-Based Key Derivation is a key derivation
- function which is part of the RSA Public Key Cryptography
- Standards series. The provided implementation takes a password
- or a passphrase and a salt value (and optionally a iteration
- count, a digest module, and a MAC module) and provides a file-like
- object from which an arbitrarly-sized key can be read.
- .
- This is the Python 2 version of the package.
-
 Package: python3-pbkdf2
 Architecture: all
 Depends:
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python3-pbkdf2.install python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python3-pbkdf2.install
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python3-pbkdf2.install	2013-03-25 08:16:46.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python3-pbkdf2.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python3
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python-pbkdf2.install python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python-pbkdf2.install
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python-pbkdf2.install	2013-03-25 08:16:46.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/python-pbkdf2.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python2*
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/rules python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/rules
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/rules	2013-03-25 08:11:43.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/rules	2019-12-23 16:50:52.000000000 -0500
@@ -2,30 +2,8 @@
 
 export REPACK_SH=$(CURDIR)/debian/repack.sh
 
-PYTHON2=$(shell pyversions -vr)
-PYTHON3=$(shell py3versions -vr)
-
 %:
-	dh $@ --with python2,python3
-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-test-python%:
-	python$* setup.py test -vv
-
-override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
-endif
-
-build-python%:
-	python$* setup.py build
-
-override_dh_auto_build: $(PYTHON3:%=build-python%)
-	dh_auto_build
-
-install-python%:
-	python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
-
-override_dh_auto_install: $(PYTHON3:%=install-python%)
-	dh_auto_install
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/control python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/control
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/control	2013-03-25 08:10:02.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/control	2019-12-23 16:51:04.000000000 -0500
@@ -1,5 +1,2 @@
-Tests: python-pbkdf2
-Depends: python-pbkdf2
-
 Tests: python3-pbkdf2
 Depends: python3-pbkdf2
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2 python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2	2013-07-05 16:07:24.000000000 -0400
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-WORKDIR=$(mktemp -d)
-cp -r test "$WORKDIR/"
-cd "$WORKDIR/"
-
-for python in $(pyversions -i); do
-   PYTHONWARNINGS=d $python -m unittest discover -s test/ 2>&1
-done

Reply via email to