diff -Nru apt-offline-1.8.2/debian/changelog apt-offline-1.8.2/debian/changelog --- apt-offline-1.8.2/debian/changelog 2020-02-07 13:16:29.000000000 +0000 +++ apt-offline-1.8.2/debian/changelog 2020-04-30 09:57:49.000000000 +0000 @@ -1,3 +1,15 @@ +apt-offline (1.8.2-2) unstable; urgency=medium + + [ Debian Janitor ] + * Wrap long lines in changelog entries: 1.8.2-1. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + + [ Ritesh Raj Sarraf ] + * Drop redundant import of apt module (Closes: #959085) + + -- Ritesh Raj Sarraf Thu, 30 Apr 2020 15:27:49 +0530 + apt-offline (1.8.2-1) unstable; urgency=medium [ Matthias Blümel ] @@ -24,8 +36,8 @@ * Add field Rules-Requires-Root: no * Enhance policykit integration * Install the apt-offline-gui-pkexec script to usr/bin/ - * Demote --simulate from global option to sub-option for install and set commands - (Closes: #871664) + * Demote --simulate from global option to sub-option for install and set + commands (Closes: #871664) * Do not touch apt system files in simulate mode * Also update the manpage about demotion of the simulate option * Switch to 3.0 (quilt) source format diff -Nru apt-offline-1.8.2/debian/control apt-offline-1.8.2/debian/control --- apt-offline-1.8.2/debian/control 2020-02-07 13:16:29.000000000 +0000 +++ apt-offline-1.8.2/debian/control 2020-04-30 09:52:50.000000000 +0000 @@ -12,7 +12,7 @@ Package: apt-offline Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, apt, less, python3-magic -Recommends: debian-archive-keyring, python3-debianbts +Recommends: debian-archive-keyring, python3-debianbts, python3-apt Description: offline APT package manager apt-offline is an Offline APT Package Manager. . diff -Nru apt-offline-1.8.2/debian/patches/0001-Drop-the-redundant-import-of-the-apt-module.patch apt-offline-1.8.2/debian/patches/0001-Drop-the-redundant-import-of-the-apt-module.patch --- apt-offline-1.8.2/debian/patches/0001-Drop-the-redundant-import-of-the-apt-module.patch 1970-01-01 00:00:00.000000000 +0000 +++ apt-offline-1.8.2/debian/patches/0001-Drop-the-redundant-import-of-the-apt-module.patch 2020-04-30 09:54:10.000000000 +0000 @@ -0,0 +1,24 @@ +From: Ritesh Raj Sarraf +Date: Thu, 5 Mar 2020 22:01:41 +0530 +Subject: Drop the redundant import of the apt module + +This module is used through the Recommends and isn't expected to be +available on the running system all the time. Thus the Recommends + +Thanks: github/dandelionred +--- + apt_offline_core/AptOfflineCoreLib.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/apt_offline_core/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py +index 0933389..554acde 100644 +--- a/apt_offline_core/AptOfflineCoreLib.py ++++ b/apt_offline_core/AptOfflineCoreLib.py +@@ -42,7 +42,6 @@ from ssl import SSLError, SSLEOFError + import zlib + + from apt_offline_core.AptOfflineLib import AptOfflineErrors, AptOfflineLibShutilError +-import apt + + FCNTL_LOCK = True + try: diff -Nru apt-offline-1.8.2/debian/patches/series apt-offline-1.8.2/debian/patches/series --- apt-offline-1.8.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ apt-offline-1.8.2/debian/patches/series 2020-04-30 09:54:10.000000000 +0000 @@ -0,0 +1 @@ +0001-Drop-the-redundant-import-of-the-apt-module.patch diff -Nru apt-offline-1.8.2/debian/upstream/metadata apt-offline-1.8.2/debian/upstream/metadata --- apt-offline-1.8.2/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ apt-offline-1.8.2/debian/upstream/metadata 2020-04-30 09:52:50.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/rickysarraf/apt-offline/issues +Bug-Submit: https://github.com/rickysarraf/apt-offline/issues/new +Repository: https://github.com/rickysarraf/apt-offline.git +Repository-Browse: https://github.com/rickysarraf/apt-offline