Control: tags 937671 + patch
Dear maintainer, I've prepared an NMU for python-crypto (versioned as 2.6.1-13.1). The diff is attached to this message. Regards.
diff -Nru python-crypto-2.6.1/debian/changelog python-crypto-2.6.1/debian/changelog --- python-crypto-2.6.1/debian/changelog 2019-11-16 04:46:30.000000000 -0500 +++ python-crypto-2.6.1/debian/changelog 2020-04-01 23:40:18.000000000 -0400 @@ -1,3 +1,10 @@ +python-crypto (2.6.1-13.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop python2 support; Closes: #937671 + + -- Sandro Tosi <mo...@debian.org> Wed, 01 Apr 2020 23:40:18 -0400 + python-crypto (2.6.1-13) unstable; urgency=medium [ Sebastian Ramacher ] diff -Nru python-crypto-2.6.1/debian/control python-crypto-2.6.1/debian/control --- python-crypto-2.6.1/debian/control 2019-10-22 15:21:34.000000000 -0400 +++ python-crypto-2.6.1/debian/control 2020-04-01 23:36:36.000000000 -0400 @@ -6,8 +6,6 @@ debhelper-compat (= 12), dh-python, libgmp-dev, - python-all-dbg, - python-all-dev, python3-all-dbg, python3-all-dev (>= 3.3.2-5~) Standards-Version: 4.4.1 @@ -16,42 +14,6 @@ Homepage: http://www.pycrypto.org/ Rules-Requires-Root: no -Package: python-crypto -Architecture: any -Depends: - ${misc:Depends}, - ${python:Depends}, - ${shlibs:Depends} -Provides: - ${python:Provides} -Description: cryptographic algorithms and protocols for Python - A collection of cryptographic algorithms and protocols, implemented - for use from Python. Among the contents of the package: - . - * Hash functions: HMAC, MD2, MD4, MD5, RIPEMD160, SHA, SHA256. - * Block encryption algorithms: AES, ARC2, Blowfish, CAST, DES, Triple-DES. - * Stream encryption algorithms: ARC4, simple XOR. - * Public-key algorithms: RSA, DSA, ElGamal. - * Protocols: All-or-nothing transforms, chaffing/winnowing. - * Miscellaneous: RFC1751 module for converting 128-bit keys - into a set of English words, primality testing, random number generation. - -Package: python-crypto-dbg -Section: debug -Architecture: any -Depends: - python-crypto (= ${binary:Version}), - ${misc:Depends}, - ${python:Depends}, - ${shlibs:Depends} -Provides: - ${python:Provides} -Description: cryptographic algorithms and protocols for Python (debug extension) - A collection of cryptographic algorithms and protocols, implemented - for use from Python. - . - This package contains the extensions built for the Python debug interpreter. - Package: python3-crypto Architecture: any Depends: diff -Nru python-crypto-2.6.1/debian/python-crypto-dbg.install python-crypto-2.6.1/debian/python-crypto-dbg.install --- python-crypto-2.6.1/debian/python-crypto-dbg.install 2017-11-07 15:10:21.000000000 -0500 +++ python-crypto-2.6.1/debian/python-crypto-dbg.install 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -usr/lib/python2.*/*-packages/Crypto/*/*_d.so diff -Nru python-crypto-2.6.1/debian/python-crypto-dbg.preinst python-crypto-2.6.1/debian/python-crypto-dbg.preinst --- python-crypto-2.6.1/debian/python-crypto-dbg.preinst 2015-12-06 08:31:53.000000000 -0500 +++ python-crypto-2.6.1/debian/python-crypto-dbg.preinst 1969-12-31 19:00:00.000000000 -0500 @@ -1,10 +0,0 @@ -#!/bin/sh -set -e - -# handle symlink to directory conversion (#700778) -DOCDIR=/usr/share/doc/python-crypto-dbg -if [ -L $DOCDIR ] ; then - rm $DOCDIR -fi - -#DEBHELPER# diff -Nru python-crypto-2.6.1/debian/python-crypto.docs python-crypto-2.6.1/debian/python-crypto.docs --- python-crypto-2.6.1/debian/python-crypto.docs 2017-11-07 15:10:21.000000000 -0500 +++ python-crypto-2.6.1/debian/python-crypto.docs 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -README diff -Nru python-crypto-2.6.1/debian/python-crypto.install python-crypto-2.6.1/debian/python-crypto.install --- python-crypto-2.6.1/debian/python-crypto.install 2017-11-07 15:10:21.000000000 -0500 +++ python-crypto-2.6.1/debian/python-crypto.install 1969-12-31 19:00:00.000000000 -0500 @@ -1,6 +0,0 @@ -usr/lib/python2*/*-packages/*.egg-info -usr/lib/python2*/*-packages/Crypto/*.py -usr/lib/python2*/*-packages/Crypto/*/*.py -usr/lib/python2*/*-packages/Crypto/*/*/*.py -usr/lib/python2*/*-packages/Crypto/*/*[!_][!d].so -usr/lib/python2*/*-packages/Crypto/SelfTest/* diff -Nru python-crypto-2.6.1/debian/python-crypto.pydist python-crypto-2.6.1/debian/python-crypto.pydist --- python-crypto-2.6.1/debian/python-crypto.pydist 2015-12-06 08:31:53.000000000 -0500 +++ python-crypto-2.6.1/debian/python-crypto.pydist 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -pycrypto python-crypto; PEP386 diff -Nru python-crypto-2.6.1/debian/rules python-crypto-2.6.1/debian/rules --- python-crypto-2.6.1/debian/rules 2019-10-20 08:55:57.000000000 -0400 +++ python-crypto-2.6.1/debian/rules 2020-04-01 23:36:46.000000000 -0400 @@ -6,7 +6,7 @@ endif %: - dh $@ --with=python2,python3 --buildsystem=pybuild + dh $@ --with=python3 --buildsystem=pybuild override_dh_clean: # Keep LEGAL/copy/LICENSE.orig diff -Nru python-crypto-2.6.1/debian/tests/control python-crypto-2.6.1/debian/tests/control --- python-crypto-2.6.1/debian/tests/control 2019-10-22 14:46:43.000000000 -0400 +++ python-crypto-2.6.1/debian/tests/control 2020-04-01 23:37:07.000000000 -0400 @@ -1,7 +1,3 @@ -Tests: python2 -Depends: python-crypto -Restrictions: allow-stderr - Tests: python3 Depends: python3-crypto Restrictions: allow-stderr diff -Nru python-crypto-2.6.1/debian/tests/python2 python-crypto-2.6.1/debian/tests/python2 --- python-crypto-2.6.1/debian/tests/python2 2019-10-21 18:40:41.000000000 -0400 +++ python-crypto-2.6.1/debian/tests/python2 1969-12-31 19:00:00.000000000 -0500 @@ -1,4 +0,0 @@ -#!/bin/bash -set -e - -python2 -c "import Crypto.SelfTest; Crypto.SelfTest.run()"