patches, as i dont have access to that repo
From 905138c2115b8055b19f8e1f7374cfb0f741d441 Mon Sep 17 00:00:00 2001
From: Sandro Tosi <mo...@debian.org>
Date: Sun, 5 Jan 2020 01:16:04 -0500
Subject: [PATCH 2/2] releasing package python-bz2file version 0.98-3

---
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2a26a60..093d831 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-python-bz2file (0.98-3) UNRELEASED; urgency=medium
+python-bz2file (0.98-3) unstable; urgency=medium
 
   * Team upload.
   * Drop python2 support; Closes: #937625
 
- -- Sandro Tosi <mo...@debian.org>  Sun, 05 Jan 2020 01:15:10 -0500
+ -- Sandro Tosi <mo...@debian.org>  Sun, 05 Jan 2020 01:16:02 -0500
 
 python-bz2file (0.98-2) unstable; urgency=medium
 
-- 
2.24.1

From 07bd423a58e539eff9322a4948589fe998c9c4de Mon Sep 17 00:00:00 2001
From: Sandro Tosi <mo...@debian.org>
Date: Sun, 5 Jan 2020 01:16:01 -0500
Subject: [PATCH 1/2] Drop python2 support; Closes: #937625

---
 debian/changelog |  7 +++++++
 debian/control   | 16 ----------------
 debian/rules     |  2 +-
 3 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4381d10..2a26a60 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-bz2file (0.98-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Drop python2 support; Closes: #937625
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 05 Jan 2020 01:15:10 -0500
+
 python-bz2file (0.98-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index fd3ed8b..361ef20 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,6 @@ Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper (>= 11~),
                dh-python,
-               python,
-               python-setuptools,
                python3,
                python3-setuptools
 Standards-Version: 4.2.1
@@ -15,20 +13,6 @@ Vcs-Browser: https://salsa.debian.org/med-team/python-bz2file
 Vcs-Git: https://salsa.debian.org/med-team/python-bz2file.git
 Homepage: https://github.com/nvawda/bz2file
 
-Package: python-bz2file
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends}
-Provides: ${python:Provides}
-Description: Python library for reading and writing bzip2-compressed files
- Bz2file is a Python library for reading and writing bzip2-compressed files.
- .
- It contains a drop-in replacement for the file interface in the standard
- library's bz2 module, including features from the latest development version
- of CPython that are not available in older releases.
- .
- Bz2file for Python2.
-
 Package: python3-bz2file
 Architecture: all
 Depends: ${python3:Depends},
diff --git a/debian/rules b/debian/rules
index b945423..32cd64c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@ DH_VERBOSE := 1
 export PYBUILD_NAME=bz2file
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
-- 
2.24.1

Reply via email to