Control: tags 938016 + patch

Dear maintainer,

I've prepared an NMU for python-pefile (versioned as 2019.4.18-1.1). The diff
is attached to this message.

Regards.

diff -Nru python-pefile-2019.4.18/debian/changelog python-pefile-2019.4.18/debian/changelog
--- python-pefile-2019.4.18/debian/changelog	2019-04-20 06:03:33.000000000 -0400
+++ python-pefile-2019.4.18/debian/changelog	2019-12-22 22:40:14.000000000 -0500
@@ -1,3 +1,10 @@
+python-pefile (2019.4.18-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938016
+
+ -- Sandro Tosi <[email protected]>  Sun, 22 Dec 2019 22:40:14 -0500
+
 python-pefile (2019.4.18-1) unstable; urgency=medium
 
   * New upstream version 2019.4.18
diff -Nru python-pefile-2019.4.18/debian/control python-pefile-2019.4.18/debian/control
--- python-pefile-2019.4.18/debian/control	2019-04-20 06:03:24.000000000 -0400
+++ python-pefile-2019.4.18/debian/control	2019-12-22 22:39:49.000000000 -0500
@@ -3,41 +3,14 @@
 Priority: optional
 Maintainer: Hilko Bengen <[email protected]>
 Build-Depends: debhelper (>= 12~), dh-python,
- python, python3,
- python-future, python3-future,
+ python3,
+ python3-future,
  python3-setuptools,
 Standards-Version: 4.3.0
 Homepage: https://github.com/erocarrera/pefile/
 Vcs-Git: https://salsa.debian.org/debian/python-pefile.git
 Vcs-Browser: https://salsa.debian.org/debian/python-pefile
 
-Package: python-pefile
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-future,
-Description: Portable Executable (PE) parsing module for Python
- pefile is a Python module to read and work with Portable Executable (PE)
- files. Most of the information in the PE header is accessible, as well as all
- the sections, section information and data.
- .
- All the basic PE file structures are available with their default names as
- attributes of the returned instance.
- .
- Processed elements such as the import table are made available with lowercase
- names, to differentiate them from the upper case basic structure names.
- .
- pefile has been tested against the limits of valid PE headers; that is,
- Windows malware. Lots of packed malware attempt to abuse the format beyond its
- standard use.
- .
- Some of the tasks that pefile makes possible are:
-  * Modifying and writing back to the PE image
-  * Header inspection
-  * Section analysis
-  * Retrieving data
-  * Warnings for suspicious and malformed values
-  * Packer detection with PEiD signatures
-  * PEiD signature generation
-
 Package: python3-pefile
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, python3-future,
diff -Nru python-pefile-2019.4.18/debian/python3-pefile.install python-pefile-2019.4.18/debian/python3-pefile.install
--- python-pefile-2019.4.18/debian/python3-pefile.install	2019-04-20 06:00:06.000000000 -0400
+++ python-pefile-2019.4.18/debian/python3-pefile.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-/usr/lib/python3*
diff -Nru python-pefile-2019.4.18/debian/python-pefile.examples python-pefile-2019.4.18/debian/python-pefile.examples
--- python-pefile-2019.4.18/debian/python-pefile.examples	2019-04-20 06:00:06.000000000 -0400
+++ python-pefile-2019.4.18/debian/python-pefile.examples	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-debian/pefile-match
diff -Nru python-pefile-2019.4.18/debian/python-pefile.install python-pefile-2019.4.18/debian/python-pefile.install
--- python-pefile-2019.4.18/debian/python-pefile.install	2019-04-20 06:00:06.000000000 -0400
+++ python-pefile-2019.4.18/debian/python-pefile.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-/usr/lib/python2*
diff -Nru python-pefile-2019.4.18/debian/rules python-pefile-2019.4.18/debian/rules
--- python-pefile-2019.4.18/debian/rules	2019-04-20 06:03:24.000000000 -0400
+++ python-pefile-2019.4.18/debian/rules	2019-12-22 22:40:02.000000000 -0500
@@ -2,7 +2,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 

Reply via email to