aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/pk1.1.1_compat.patch
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
commit70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (patch)
tree3a49460715f7319d100e0cc9c1a278758500c7c8 /debian/patches/pk1.1.1_compat.patch
downloadaptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.tar.gz
aptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.zip
Import Upstream version 1.1.1+bzr982
Diffstat (limited to 'debian/patches/pk1.1.1_compat.patch')
-rw-r--r--debian/patches/pk1.1.1_compat.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/pk1.1.1_compat.patch b/debian/patches/pk1.1.1_compat.patch
new file mode 100644
index 0000000..a744413
--- /dev/null
+++ b/debian/patches/pk1.1.1_compat.patch
@@ -0,0 +1,29 @@
+From: Michael Vogt <mvo@ubuntu.com>
+Subject: Remove API that is no longer available in PK 1.1.1
+
+---
+ aptdaemon/worker/pkworker.py | 6 ------
+ 1 file changed, 6 deletions(-)
+
+--- a/aptdaemon/worker/pkworker.py
++++ b/aptdaemon/worker/pkworker.py
+@@ -172,8 +172,6 @@
+ pk.RoleEnum.GET_UPDATE_DETAIL,
+ pk.RoleEnum.GET_PACKAGES,
+ pk.RoleEnum.GET_DETAILS,
+- pk.RoleEnum.GET_DEPENDS,
+- pk.RoleEnum.GET_REQUIRES,
+ pk.RoleEnum.SEARCH_NAME,
+ pk.RoleEnum.SEARCH_DETAILS,
+ pk.RoleEnum.SEARCH_GROUP,
+@@ -289,10 +287,6 @@
+ self.search_details(trans, **trans.kwargs)
+ elif trans.pktrans.role == pk.RoleEnum.SEARCH_FILE:
+ self.search_files(trans, **trans.kwargs)
+- elif trans.pktrans.role == pk.RoleEnum.GET_DEPENDS:
+- self.get_depends(trans, **trans.kwargs)
+- elif trans.pktrans.role == pk.RoleEnum.GET_REQUIRES:
+- self.get_requires(trans, **trans.kwargs)
+ elif trans.pktrans.role == pk.RoleEnum.GET_DETAILS:
+ self.get_details(trans, **trans.kwargs)
+ elif trans.pktrans.role == pk.RoleEnum.DOWNLOAD_PACKAGES: