Control: tags 938195 + patch
Control: tags 938195 + pending

Dear maintainer,

I've prepared an NMU for python-ssdeep (versioned as 3.1+dfsg-2.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-ssdeep-3.1+dfsg/debian/changelog python-ssdeep-3.1+dfsg/debian/changelog
--- python-ssdeep-3.1+dfsg/debian/changelog	2016-08-01 08:30:50.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/changelog	2019-10-17 18:12:30.000000000 -0400
@@ -1,3 +1,10 @@
+python-ssdeep (3.1+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938195
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 17 Oct 2019 18:12:30 -0400
+
 python-ssdeep (3.1+dfsg-2) unstable; urgency=medium
 
   [ Stefano Rivera ]
diff -Nru python-ssdeep-3.1+dfsg/debian/control python-ssdeep-3.1+dfsg/debian/control
--- python-ssdeep-3.1+dfsg/debian/control	2016-08-01 08:30:21.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/control	2019-10-17 18:11:36.000000000 -0400
@@ -1,10 +1,6 @@
 Source: python-ssdeep
 Build-Depends: debhelper (>= 8),
                libfuzzy-dev,
-               python-all-dev,
-               python-cffi,
-               python-setuptools,
-               python-six,
                python3-all-dev,
                python3-cffi,
                python3-setuptools,
@@ -16,18 +12,6 @@
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.7
 
-Package: python-ssdeep
-Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-cffi
-Description: Python 2.x wrapper for the ssdeep piecewise hashing tool
- This is a straightforward Python wrapper for ssdeep by Jesse Kornblum,
- which is a library for computing context triggered piecewise hashes (CTPH).
- Also called fuzzy hashes, CTPH can match inputs that have homologies.
- Such inputs have sequences of identical bytes in the same order, although
- bytes in between these sequences may be different in both content and length.
- .
- This package contains the extension built for Python 2.x.
-
 Package: python3-ssdeep
 Architecture: any
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, python3-cffi
diff -Nru python-ssdeep-3.1+dfsg/debian/python3-ssdeep.install python-ssdeep-3.1+dfsg/debian/python3-ssdeep.install
--- python-ssdeep-3.1+dfsg/debian/python3-ssdeep.install	2014-10-24 14:23:52.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/python3-ssdeep.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python3*
diff -Nru python-ssdeep-3.1+dfsg/debian/python-ssdeep.install python-ssdeep-3.1+dfsg/debian/python-ssdeep.install
--- python-ssdeep-3.1+dfsg/debian/python-ssdeep.install	2014-10-24 14:23:52.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/python-ssdeep.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python2*
diff -Nru python-ssdeep-3.1+dfsg/debian/rules python-ssdeep-3.1+dfsg/debian/rules
--- python-ssdeep-3.1+dfsg/debian/rules	2014-10-24 14:50:47.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/rules	2019-10-17 18:12:20.000000000 -0400
@@ -2,29 +2,14 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 -include /usr/share/dpkg/buildflags.mk
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	rm -Rf */__pycache__ build
 	rm -f */*.py[co] ssdeep.egg-info/top_level.txt
 
-override_dh_auto_build:
-	set -e; for v in `pyversions -vr debian/control` `py3versions -vr`; do \
-		python$$v setup.py build; \
-	done
-
-override_dh_auto_install:
-	set -e; for v in `pyversions -vr debian/control` `py3versions -vr`; do \
-		python$$v setup.py install --root=debian/tmp --install-layout=deb; \
-	done
-
 override_dh_installchangelogs:
 	dh_installchangelogs -k CHANGELOG.rst
 
 override_dh_installdocs:
 	dh_installdocs -A README.rst
-
-override_dh_python2:
-	dh_python2
-	find debian/python-ssdeep -name SOURCES.txt -delete
-	find debian/python-ssdeep -path "*__pycache__*" -delete

Reply via email to