diff options
| author | Julian Andres Klode <jak@debian.org> | 2011-04-21 14:21:22 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2011-04-21 14:21:22 +0200 |
| commit | 16166e89fb1d1243ac92017f03d7bdada904cd38 (patch) | |
| tree | 5ef99504defe264461e617b1ff94a28c4617e790 /doc | |
| parent | 9d00ce840131092e7a7ae26cd0b0279c7646a7a5 (diff) | |
| download | python-apt-16166e89fb1d1243ac92017f03d7bdada904cd38.tar.gz | |
apt_pkg: Add apt_pkg.Version.multi_arch and friends
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/source/library/apt_pkg.rst | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index 72ca5ecc..28914395 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -758,6 +758,49 @@ Example: .. attribute:: installed_size The size of the package (in kilobytes), when unpacked on the disk. + + .. attribute:: multi_arch + + The multi-arch state of the package. Can be one of the following + attributes. + + .. attribute:: MULTI_ARCH_NONE + + No multi-arch + + .. attribute:: MULTI_ARCH_ALL + + An ``Architecture: all`` package + + + .. attribute:: MULTI_ARCH_FOREIGN + + Can satisfy dependencies of foreign-architecture + packages + + .. attribute:: MULTI_ARCH_ALL_FOREIGN + + :attr:`MULTI_ARCH_FOREIGN` for ``Architecture: all`` + packages. + + .. attribute:: MULTI_ARCH_SAME + + Multiple versions from different architectures may be + installed in parallel, but may only satisfy dependencies + of packages from the same architecture + + .. attribute:: MULTI_ARCH_ALLOWED + + Installation in parallel and satisfying ``pkg:any`` + style dependencies is allowed. + + .. attribute:: MULTI_ARCH_ALL_ALLOWED + + :attr:`MULTI_ARCH_ALLOWED` for ``Architecture: all`` + packages. + + + .. attribute:: parent_pkg |
