[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Documentation for python-apt

El Sun, Apr 17, 2005 at 02:50:34PM +0200, Andreas Tille va escriure:
> Hi,
> it is certainly off topic here but I expect some guys around who
> worked with python-apt and
> finaly I want to do something in the CDD field.  THe exact task I want
> to do is parsing the
> dependencies of a meta-package to finally get a web packag which looks like
>   meta-package:
>       Dependency1: short description
>              long description
>       Dependency2: short description
>              long description
> In short just building web pages like they can be found at the
> Debian-Med website.
> My trouble is to understand the API of python-apt for instance how to
> get a list of all
> Depends, Recommends, Suggests of  med-* and then find out the
> according descriptions.
> Any helpful hint to documented examples?  It would be a shame to
> rewrite this stuff just
> because of a lack of understanding.

  I've added that functionality for you to the pkgtool included on my cddtk
  archive; to use it update your copy of my repository or get it again from:

    $ svn co https://mixinet.net/svn/cddtk/trunk cddtk

  Build and install the package or use the code directly:

    $ cd cddtk/src

  If you want to use more than one PACKAGES_FILE add multiple -p options.

  And, of course, you have the code included (look into ./pkgtool and PyCDD/).

Sergio Talens-Oliag <sto@debian.org>   <http://people.debian.org/~sto/>
Key fingerprint = 29DF 544F  1BD9 548C  8F15 86EF  6770 052B  B8C1 FA69

Attachment: signature.asc
Description: Digital signature

Reply to: