Control: tags 938052 + patch

Dear maintainer,

I've prepared an NMU for python-ptrace (versioned as 0.9.3-2.2). The diff
is attached to this message.

Regards.

diff -Nru python-ptrace-0.9.3/debian/changelog python-ptrace-0.9.3/debian/changelog
--- python-ptrace-0.9.3/debian/changelog	2018-08-07 04:33:18.000000000 -0400
+++ python-ptrace-0.9.3/debian/changelog	2019-12-20 14:03:21.000000000 -0500
@@ -1,3 +1,10 @@
+python-ptrace (0.9.3-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938052
+
+ -- Sandro Tosi <mo...@debian.org>  Fri, 20 Dec 2019 14:03:21 -0500
+
 python-ptrace (0.9.3-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-ptrace-0.9.3/debian/control python-ptrace-0.9.3/debian/control
--- python-ptrace-0.9.3/debian/control	2018-08-07 04:33:18.000000000 -0400
+++ python-ptrace-0.9.3/debian/control	2019-12-20 14:03:21.000000000 -0500
@@ -3,32 +3,12 @@
 Priority: optional
 Maintainer: Pierre Chifflier <pol...@debian.org>
 Build-Depends: debhelper (>= 9),
-    python-all (>= 2.3.5-11),
+    dh-python,
     python3-dev
 Standards-Version: 4.1.4
 Homepage: https://github.com/vstinner/python-ptrace
 Rules-Requires-Root: no
 
-Package: python-ptrace
-Architecture: all
-XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, ${misc:Depends}
-Provides: ${python:Provides}
-Description: Python bindings for ptrace
- This package provides Python bindings for the ptrace library. It allows
- controlling, debugging, or modifying processes using the ptrace syscall.
- .
- Features:
-  * High level Python object API
-  * Able to control multiple processes: catch fork events
-  * Read/write bytes to arbitrary addresses
-  * Execution step by step using ptrace_singlestep() or hardware int 3
-  * Can use distorm disassembler
-  * Dump registers, memory mappings, stack, etc.
-  * Syscall tracer and parser (strace command)
- .
- This package provides the ptrace Python module for Python 2.x.
-
 Package: python3-ptrace
 Architecture: all
 XB-Python-Version: ${python3:Versions}
diff -Nru python-ptrace-0.9.3/debian/pycompat python-ptrace-0.9.3/debian/pycompat
--- python-ptrace-0.9.3/debian/pycompat	2015-03-25 13:04:02.000000000 -0400
+++ python-ptrace-0.9.3/debian/pycompat	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-2
diff -Nru python-ptrace-0.9.3/debian/pyversions python-ptrace-0.9.3/debian/pyversions
--- python-ptrace-0.9.3/debian/pyversions	2015-03-25 13:04:04.000000000 -0400
+++ python-ptrace-0.9.3/debian/pyversions	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-2.6-
diff -Nru python-ptrace-0.9.3/debian/rules python-ptrace-0.9.3/debian/rules
--- python-ptrace-0.9.3/debian/rules	2018-04-29 08:37:01.000000000 -0400
+++ python-ptrace-0.9.3/debian/rules	2019-12-20 14:03:01.000000000 -0500
@@ -7,9 +7,8 @@
 override_dh_auto_install:
 	dh_auto_install
 	# do not install examples as real executables
-	rm -rf $(CURDIR)/debian/python-ptrace/usr/bin
 	rm -rf $(CURDIR)/debian/python3-ptrace/usr/bin
 
 %:
-	dh $@ --with=python2,python3 --buildsystem=pybuild
+	dh $@ --with=python3 --buildsystem=pybuild
 

Reply via email to