File: apt.debfile.rst

package info (click to toggle)
python-apt 0.7.100.1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,748 kB
  • ctags: 1,919
  • sloc: cpp: 8,937; python: 5,750; makefile: 89; sh: 9
file content (39 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
:mod:`apt.debfile` --- Classes related to debian package files
==============================================================
The :mod:`apt.debfile` provides classes to work with locally available
debian packages, or source packages.

.. module:: apt.debfile

Binary packages
----------------
.. autoclass:: DebPackage
    :members:
    :inherited-members:
    :undoc-members:

    The :class:`DebPackage` class is a class for working with '.deb' files,
    also known as Debian packages.

    It provides methods and attributes to get a list of the files in the
    package, to install the package and much more.

    If you specify *cache* it has to point to an :class:`apt.cache.Cache()`
    object.

    .. versionchanged:: 0.7.9
        Introduce all new methods (everything except for :meth:`open()` and
        :attr:`filelist`)


Source packages
----------------
.. autoclass:: DscSrcPackage
    :members:
    :inherited-members:
    :undoc-members:

    Provide functionality to work with locally available source packages,
    especially with their '.dsc' file.

    .. versionadded:: 0.7.9