tags 943012 patch
tags 936389 patch
thanks

There are no rev deps left for the Py2 package, patch attached.

Cheers,
        Moritz
diff -aur dfwinreg-20190122.orig/debian/control dfwinreg-20190122/debian/control
--- dfwinreg-20190122.orig/debian/control	2019-01-23 10:45:15.000000000 +0100
+++ dfwinreg-20190122/debian/control	2019-11-28 22:59:41.867272977 +0100
@@ -4,37 +4,19 @@
 Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
 Uploaders: Hilko Bengen <ben...@debian.org>
 Build-Depends: debhelper (>= 12), dh-python,
- python-dtfabric (>= 20170524), python3-dtfabric (>= 20170524),
- python, python3,
- python-setuptools, python3-setuptools,
- python-dfdatetime (>= 20160814), python3-dfdatetime (>= 20160814),
- python-libregf (>=20150315), python3-libregf (>=20150315),
- python-mock, python3-mock,
- python-six (>= 1.1.0), python3-six (>= 1.1.0),
- python-yaml (>= 3.10),  python3-yaml (>= 3.10),
+ python3-dtfabric (>= 20170524),
+ python3,
+ python3-setuptools,
+ python3-dfdatetime (>= 20160814),
+ python3-libregf (>=20150315),
+ python3-mock,
+ python3-six (>= 1.1.0),
+ python3-yaml (>= 3.10),
 Standards-Version: 4.3.0
 Homepage: https://github.com/log2timeline/dfwinreg
 Vcs-Git: https://salsa.debian.org/pkg-security-team/dfwinreg.git
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/dfwinreg
 
-Package: python-dfwinreg
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
- python-dtfabric (>= 20170524),
- python-dfdatetime (>= 20160814),
- python-libregf (>=20150315),
- python-mock,
- python-six (>= 1.1.0),
- python-yaml (>= 3.10)
-Description: Digital Forensics Windows Registry library for Python 2
- dfWinReg, or Digital Forensics Windows Registry, provides read-only
- access to Windows Registry objects. The goal of dfWinReg is to
- provide a generic interface for accessing Windows Registry objects
- that resembles the Registry key hierarchy as seen on a live Windows
- system.
- .
- This package contains the library for Python 2.
-
 Package: python3-dfwinreg
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends},
diff -aur dfwinreg-20190122.orig/debian/rules dfwinreg-20190122/debian/rules
--- dfwinreg-20190122.orig/debian/rules	2019-01-14 10:46:40.000000000 +0100
+++ dfwinreg-20190122/debian/rules	2019-11-28 23:00:14.524145178 +0100
@@ -7,19 +7,16 @@
 export PYBUILD_NAME:=dfwinreg
 
 %:
-	dh $@ --with=python2,python3 --buildsystem=pybuild
+	dh $@ --with=python3 --buildsystem=pybuild
 
 override_dh_install:
 	dh_install
 	mv debian/python3-dfwinreg/usr/share/doc/dfwinreg \
 	   debian/python3-dfwinreg/usr/share/doc/python3-dfwinreg
-	mv debian/python-dfwinreg/usr/share/doc/dfwinreg \
-	   debian/python-dfwinreg/usr/share/doc/python-dfwinreg
 	find ./debian -name "LICENSE" -delete
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	python run_tests.py
 	python3 run_tests.py
 endif
 

Reply via email to