[packagekit] Moved PackageKitBaseBackend in the packagekit python module

Robin Norwood rnorwood at redhat.com
Tue Sep 25 11:26:56 PDT 2007


Tim Lauridsen <tla at rasmil.dk> writes:

> I have make so changes to the packagekit python module so the backend 
> python classes used by
> yum & conary helpers, is located in the module.
> I have moved the module from python/ to python/packagekit/ and added 
> some links to the yum & conary helpers dir, so the
> python helpers can run from the helpers/ dir.
> I have fixed the Makefile and the yumBackend.py & yumConary.py, so 
> everything is working (I Hope :) )
> I somebody could check if the rpms looks sane and the file is located in 
> the right places.

This looks good to me.  We could also move the, er, 'frontend' stuff out
of __init__.py if you want.  I think 'import packagekit.frontend' (or
whatever) would be ok, at least.

-RN

> commit 3ec379272d04305afe45ffa3bbd3c98ceed79437
> Author: Tim Lauridsen <tla at rasmil.dk>
> Date:   Tue Sep 25 09:32:29 2007 +0200
>
>     * Moved python/__init__.py python/packagekit/__init__.py
>     
>     * Moved backends/yum/helpers/packagekit.py -> 
> python/packagekit/backend.py
>     So that the PackageKitBaseBackend python class used byt yum & conary 
> is part
>     of the packagekit python module and be used by
>     'from packagekit.backend import PackageKitBaseBackend'
>     added links from python/packagekit  to yum/helpers & conary/helpers so
>     that the python code will work when started in the directory.
>     make changes to the Makefile's to support the changes.
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching



More information about the PackageKit mailing list