Control: tags 938200 + patch
Control: tags 938200 + pending

Dear maintainer,

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

Regards.

diff -Nru python-stem-1.7.1/debian/changelog python-stem-1.7.1/debian/changelog
--- python-stem-1.7.1/debian/changelog	2018-12-26 18:41:51.000000000 -0500
+++ python-stem-1.7.1/debian/changelog	2019-10-05 21:50:32.000000000 -0400
@@ -1,3 +1,10 @@
+python-stem (1.7.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938200
+
+ -- Sandro Tosi <mo...@debian.org>  Sat, 05 Oct 2019 21:50:32 -0400
+
 python-stem (1.7.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru python-stem-1.7.1/debian/control python-stem-1.7.1/debian/control
--- python-stem-1.7.1/debian/control	2018-12-26 18:41:51.000000000 -0500
+++ python-stem-1.7.1/debian/control	2019-10-05 21:49:01.000000000 -0400
@@ -5,23 +5,12 @@
 Build-Depends: debhelper (>= 11),
  dh-python,
  pypy,
- python-all (>= 2.6.6-6),
  python3-all,
 Standards-Version: 4.3.0
 Homepage: https://gitweb.torproject.org/stem.git
 Vcs-Git: https://salsa.debian.org/debian/python-stem.git
 Vcs-Browser: https://salsa.debian.org/debian/python-stem
 
-Package: python-stem
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Description: Tor control library for Python
- Stem is a Python controller library for Tor. With it you can use
- Tor's control protocol to script against the Tor process and read
- descriptor data relays publish about themselves.
- .
- This is Python 2 series module.
-
 Package: python3-stem
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, python3-distutils
diff -Nru python-stem-1.7.1/debian/python-stem.postinst python-stem-1.7.1/debian/python-stem.postinst
--- python-stem-1.7.1/debian/python-stem.postinst	2018-12-26 18:41:51.000000000 -0500
+++ python-stem-1.7.1/debian/python-stem.postinst	1969-12-31 19:00:00.000000000 -0500
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "configure" ]; then
-    update-alternatives \
-        --install /usr/bin/tor-prompt tor-prompt /usr/bin/python2-tor-prompt 300 \
-        --slave /usr/share/man/man8/tor-prompt.8.gz tor-prompt.8.gz \
-                /usr/share/man/man8/python2-tor-prompt.8.gz
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-stem-1.7.1/debian/python-stem.prerm python-stem-1.7.1/debian/python-stem.prerm
--- python-stem-1.7.1/debian/python-stem.prerm	2018-12-26 18:41:51.000000000 -0500
+++ python-stem-1.7.1/debian/python-stem.prerm	1969-12-31 19:00:00.000000000 -0500
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "remove" ]; then
-    update-alternatives --remove tor-prompt /usr/bin/python2-tor-prompt
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-stem-1.7.1/debian/rules python-stem-1.7.1/debian/rules
--- python-stem-1.7.1/debian/rules	2018-12-26 18:41:51.000000000 -0500
+++ python-stem-1.7.1/debian/rules	2019-10-05 21:49:47.000000000 -0400
@@ -6,22 +6,19 @@
 export PYBUILD_NAME=stem
 
 %:
-		dh $@ --with python2,python3,pypy  --buildsystem=pybuild
+		dh $@ --with python3,pypy  --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -rf build debian/python2-tor-prompt.8 debian/python3-tor-prompt.8
+	rm -rf build debian/python3-tor-prompt.8
 
 override_dh_auto_install:
 	dh_auto_install
-	mv debian/python-stem/usr/bin/tor-prompt debian/python-stem/usr/bin/python2-tor-prompt
 	mv debian/python3-stem/usr/bin/tor-prompt debian/python3-stem/usr/bin/python3-tor-prompt
 
 override_dh_installman:
-	cp debian/tor-prompt.8 debian/python2-tor-prompt.8
 	cp debian/tor-prompt.8 debian/python3-tor-prompt.8
 	dh_installman -ppypy-stem debian/tor-prompt.8
-	dh_installman -ppython-stem debian/python2-tor-prompt.8
 	dh_installman -ppython3-stem debian/python3-tor-prompt.8
 
 override_dh_installexamples:

Reply via email to