diff options
Diffstat (limited to 'debian/patches/pk1.1.1_compat.patch')
-rw-r--r-- | debian/patches/pk1.1.1_compat.patch | 29 |
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: |