diff --git a/lib/entropy/client/interfaces/package/actions/fetch.py b/lib/entropy/client/interfaces/package/actions/fetch.py index ec1a414e4..11f9722bb 100644 --- a/lib/entropy/client/interfaces/package/actions/fetch.py +++ b/lib/entropy/client/interfaces/package/actions/fetch.py @@ -60,6 +60,15 @@ class _PackageFetchAction(PackageAction): """ return self._meta + def package_path(self): + """ + Return the path to the download package file. + Please note that the path returned is only related to the main + package tarball file, extra-downloads and debug packages are ignored. + This method is mainly for PackageKit consumption. + """ + return self._meta['pkgpath'] + def setup(self): """ Setup the PackageAction.