Control: tags 938194 + patch
Control: tags 938194 + pending

Dear maintainer,

I've prepared an NMU for python-srp (versioned as 1.0.14-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-srp-1.0.14/debian/changelog python-srp-1.0.14/debian/changelog
--- python-srp-1.0.14/debian/changelog	2018-06-05 08:46:55.000000000 -0400
+++ python-srp-1.0.14/debian/changelog	2019-10-07 23:43:31.000000000 -0400
@@ -1,3 +1,10 @@
+python-srp (1.0.14-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938194
+
+ -- Sandro Tosi <[email protected]>  Mon, 07 Oct 2019 23:43:31 -0400
+
 python-srp (1.0.14-1) unstable; urgency=medium
 
   [ Micah Anderson ]
diff -Nru python-srp-1.0.14/debian/control python-srp-1.0.14/debian/control
--- python-srp-1.0.14/debian/control	2018-06-05 08:45:13.000000000 -0400
+++ python-srp-1.0.14/debian/control	2019-10-07 23:39:24.000000000 -0400
@@ -4,45 +4,14 @@
 Section: python
 Priority: optional
 Build-Depends:
- python-all-dev (>= 2.6.6-3),
  python3-all-dev,
  debhelper (>= 11),
- python-sphinx (>= 1.0.7+dfsg) | python3-sphinx,
+ python3-sphinx,
  libssl-dev,
  dh-python
 Standards-Version: 4.1.4
 Homepage: https://github.com/cocagne/pysrp
 
-Package: python-srp
-Architecture: any
-Depends:
- ${misc:Depends},
- ${python:Depends},
- ${shlibs:Depends},
- ${sphinxdoc:Depends}
-Description: Secure Remote Password protocol implementation
- This package provides an implementation of the Secure Remote Password
- protocol (SRP). SRP is a cryptographically strong authentication
- protocol for password-based, mutual authentication over an insecure
- network connection.
- .
- Unlike other common challenge-response authentication protocols, such
- as Kereros and SSL, SRP does not rely on an external infrastructure
- of trusted key servers or certificate management. Instead, SRP server
- applications use verification keys derived from each user's password
- to determine the authenticity of a network connection.
- .
- SRP provides mutual-authentication in that successful authentication
- requires both sides of the connection to have knowledge of the
- user's password. If the client side lacks the user's password or the
- server side lacks the proper verification key, the authentication will
- fail.
- .
- Unlike SSL, SRP does not directly encrypt all data flowing through
- the authenticated connection. However, successful authentication does
- result in a cryptographically strong shared key that can be used
- for symmetric-key encryption.
-
 Package: python3-srp
 Architecture: any
 Depends:
diff -Nru python-srp-1.0.14/debian/rules python-srp-1.0.14/debian/rules
--- python-srp-1.0.14/debian/rules	2013-11-14 16:00:03.000000000 -0500
+++ python-srp-1.0.14/debian/rules	2019-10-07 23:43:31.000000000 -0400
@@ -9,31 +9,23 @@
 
 export DEB_CFLAGS_MAINT_APPEND = -Wl,-z,relro
 
-PYVERS := $(shell pyversions -r)
 PY3VERS = $(shell py3versions -r)
 
-package=python-srp
 package3=python3-srp
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	sphinx-build $(CURDIR)/srp/doc $(CURDIR)/srp/doc/build
 
 	set -ex; \
-	for python in $(PYVERS) $(PY3VERS);  do \
+	for python in $(PY3VERS);  do \
 		$$python setup.py build; \
 	done
 
 override_dh_auto_install:
 	set -ex; \
-	for python in $(PYVERS); do \
-		$$python setup.py install --skip-build \
-			--root debian/$(package)\
-			--install-layout deb; \
-	done
-	set -ex; \
 	for python in $(PY3VERS); do \
 		$$python setup.py install --skip-build \
 			--root debian/$(package3)\
@@ -44,14 +36,12 @@
 	dh_install -Xsrp/doc/
 
 override_dh_installdocs:
-	mkdir -p debian/$(package)/usr/share/doc/$(package)
 	mkdir -p debian/$(package3)/usr/share/doc/$(package3)
-	cp debian/copyright debian/$(package)/usr/share/doc/$(package)/
 	cp debian/copyright debian/$(package3)/usr/share/doc/$(package3)/
 
 override_dh_sphinxdoc:
-	cp -r srp/doc/build/* debian/$(package)/usr/share/doc/$(package)/
-	dh_sphinxdoc usr/share/doc/$(package)/
+	cp -r srp/doc/build/* debian/$(package3)/usr/share/doc/$(package3)/
+	dh_sphinxdoc usr/share/doc/$(package3)/
 	
 override_dh_auto_clean:
 	dh_auto_clean

Reply via email to