Control: tags 938159 + patch

Dear maintainer,

I've prepared an NMU for python-scrypt (versioned as 0.8.0-0.2). The diff
is attached to this message.

I've uploaded directly to unstable as it's a NMU of a NMU

Regards.

diff -Nru python-scrypt-0.8.0/debian/changelog python-scrypt-0.8.0/debian/changelog
--- python-scrypt-0.8.0/debian/changelog	2017-10-05 11:07:52.000000000 -0400
+++ python-scrypt-0.8.0/debian/changelog	2019-10-19 14:15:30.000000000 -0400
@@ -1,3 +1,10 @@
+python-scrypt (0.8.0-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938159
+
+ -- Sandro Tosi <mo...@debian.org>  Sat, 19 Oct 2019 14:15:30 -0400
+
 python-scrypt (0.8.0-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-scrypt-0.8.0/debian/control python-scrypt-0.8.0/debian/control
--- python-scrypt-0.8.0/debian/control	2017-10-05 11:07:52.000000000 -0400
+++ python-scrypt-0.8.0/debian/control	2019-10-19 14:14:58.000000000 -0400
@@ -2,25 +2,9 @@
 Maintainer: Micah Anderson <mi...@debian.org>
 Section: python
 Priority: optional
-Build-Depends: python-all-dev, debhelper (>= 9), libssl-dev, python3-all-dev, python-setuptools, python3-setuptools
+Build-Depends: debhelper (>= 9), libssl-dev, python3-all-dev, python3-setuptools
 Standards-Version: 3.9.4
 
-Package: python-scrypt
-Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
-Description: bindings for the scrypt key derivation function library - Python 2.7
- This is a set of Python bindings for the scrypt key derivation function. 
- .
- Scrypt is useful when encrypting password as it is possible to specify a
- minimum amount of time to use when encrypting and decrypting. If, for
- example, a password takes 0.05 seconds to verify, a user won't notice the
- slight delay when signing in, but doing a brute force search of several
- billion passwords will take a considerable amount of time. This is in
- contrast to more traditional hash functions such as MD5 or the SHA family
- which can be implemented extremely fast on cheap hardware.
- .
- This package provides the Python 2.7 module.
-
 Package: python3-scrypt
 Architecture: any
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
diff -Nru python-scrypt-0.8.0/debian/python-scrypt.lintian-overrides python-scrypt-0.8.0/debian/python-scrypt.lintian-overrides
--- python-scrypt-0.8.0/debian/python-scrypt.lintian-overrides	2013-05-30 21:53:38.000000000 -0400
+++ python-scrypt-0.8.0/debian/python-scrypt.lintian-overrides	1969-12-31 19:00:00.000000000 -0500
@@ -1,4 +0,0 @@
-# Only the debian packaging is covered by the GPL, the rest is a 2-clause BSD
-# tell lintian to not complain:
-python-scrypt: possible-gpl-code-linked-with-openssl
-
diff -Nru python-scrypt-0.8.0/debian/rules python-scrypt-0.8.0/debian/rules
--- python-scrypt-0.8.0/debian/rules	2017-10-05 11:07:52.000000000 -0400
+++ python-scrypt-0.8.0/debian/rules	2019-10-19 14:15:30.000000000 -0400
@@ -1,17 +1,7 @@
 #!/usr/bin/make -f
 
-PYTHONS:=$(shell pyversions -vr)
-PYTHON3S:=$(shell py3versions -vr)
-
 %:
-	dh $@ --with python2,python3 --buildsystem=python_distutils
+	dh $@ --with python3 --buildsystem=pybuild
 
-override_dh_auto_install:
-	set -e ; for pyvers in $(PYTHONS); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python-scrypt; \
-	done
-	set -e ; for pyvers in $(PYTHON3S); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python3-scrypt; \
-	done
+override_dh_auto_test:
+	:  # TODO: skip tests, they were never run before anyway

Reply via email to