Control: tags 936387 + patch
Control: tags 942957 + patch

Dear maintainer,

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

Regards.

diff -Nru dfdatetime-20190116/debian/changelog dfdatetime-20190116/debian/changelog
--- dfdatetime-20190116/debian/changelog	2019-01-22 06:58:01.000000000 -0500
+++ dfdatetime-20190116/debian/changelog	2019-12-30 13:04:58.000000000 -0500
@@ -1,3 +1,10 @@
+dfdatetime (20190116-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #942957, #936387
+
+ -- Sandro Tosi <mo...@debian.org>  Mon, 30 Dec 2019 13:04:58 -0500
+
 dfdatetime (20190116-1) unstable; urgency=medium
 
   * New upstream version 20190116
diff -Nru dfdatetime-20190116/debian/control dfdatetime-20190116/debian/control
--- dfdatetime-20190116/debian/control	2019-01-22 06:57:55.000000000 -0500
+++ dfdatetime-20190116/debian/control	2019-12-30 13:01:44.000000000 -0500
@@ -4,21 +4,13 @@
 Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
 Uploaders: Hilko Bengen <ben...@debian.org>
 Build-Depends: debhelper (>= 11), dh-python,
- python, python-setuptools,
  python3, python3-setuptools,
- python-mock, python3-mock,
+ python3-mock,
 Standards-Version: 4.3.0
 Homepage: https://github.com/log2timeline/dfdatetime
 Vcs-Git: https://salsa.debian.org/pkg-security-team/dfdatetime.git
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/dfdatetime
 
-Package: python-dfdatetime
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
-Description: Digital Forensics date and time library for Python 2
- dfDateTime, or Digital Forensics date and time, provides date and
- time objects to preserve accuracy and precision.
-
 Package: python3-dfdatetime
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends},
diff -Nru dfdatetime-20190116/debian/python3-dfdatetime.install dfdatetime-20190116/debian/python3-dfdatetime.install
--- dfdatetime-20190116/debian/python3-dfdatetime.install	2018-12-21 15:37:44.000000000 -0500
+++ dfdatetime-20190116/debian/python3-dfdatetime.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-/usr/lib/python3*
diff -Nru dfdatetime-20190116/debian/python-dfdatetime.install dfdatetime-20190116/debian/python-dfdatetime.install
--- dfdatetime-20190116/debian/python-dfdatetime.install	2018-12-21 15:37:44.000000000 -0500
+++ dfdatetime-20190116/debian/python-dfdatetime.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-/usr/lib/python2*
diff -Nru dfdatetime-20190116/debian/rules dfdatetime-20190116/debian/rules
--- dfdatetime-20190116/debian/rules	2018-12-26 11:28:50.000000000 -0500
+++ dfdatetime-20190116/debian/rules	2019-12-30 13:04:58.000000000 -0500
@@ -13,7 +13,7 @@
 
 # main packaging script based on dh7 syntax
 %:
-	dh $@ --with=python2,python3 --buildsystem=pybuild
+	dh $@ --with=python3 --buildsystem=pybuild
 
 override_dh_missing:
 	dh_missing --fail-missing
@@ -22,5 +22,4 @@
 	dh_install -X/usr/share/doc/
 
 override_dh_auto_test:
-	python run_tests.py
-	python3 run_tests.py
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} run_tests.py" dh_auto_test

Reply via email to