diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-01-15 15:07:58 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-01-15 15:07:58 +0100 |
| commit | b260eee89b518829f379f9555b8a61804ef86bc6 (patch) | |
| tree | b835d40ac35c7e2bd4633e72faa4a18df5ed5ae8 /doc | |
| parent | c86aad8bf2070784a95dda2cd0fb8f7aaff6860f (diff) | |
| parent | 2530221de1657aeac3fa2b93c6b17712a08c6399 (diff) | |
| download | python-apt-b260eee89b518829f379f9555b8a61804ef86bc6.tar.gz | |
* apt/cache.py:
- improved docstring for the cache
- add "enhances" property
* data/templates/Ubuntu.info.in:
- add lucid
* python/cache.cc:
- add UntranslatedDepType attribute to DependencyType
- add DepTypeEnum that returns a value from
{DepDepends, DepPreDepends, ...}
* python/apt_pkgmodule.cc:
- add DepDpkgBreaks, DepEnhances constants
* doc/source/apt_pkg/{cache.rst, index.rst}:
- update documentation as well
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/source/apt_pkg/cache.rst | 9 | ||||
| -rw-r--r-- | doc/source/apt_pkg/index.rst | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/source/apt_pkg/cache.rst b/doc/source/apt_pkg/cache.rst index 334b7869..ca9f8b49 100644 --- a/doc/source/apt_pkg/cache.rst +++ b/doc/source/apt_pkg/cache.rst @@ -596,8 +596,17 @@ Example: .. attribute:: DepType + The type of the dependency, as translated string, eg. "Depends". + + .. attribute:: UntranslatedDepType + The type of the dependency, as string, eg. "Depends". + .. attribute:: DepTypeEnum + + The type of the dependency, as integer that matches a value + of :ref:`Dependency types <DependencyTypes>`. + .. attribute:: ID The ID of the package, as integer. diff --git a/doc/source/apt_pkg/index.rst b/doc/source/apt_pkg/index.rst index 6e7b772e..4256d971 100644 --- a/doc/source/apt_pkg/index.rst +++ b/doc/source/apt_pkg/index.rst @@ -329,19 +329,22 @@ Package States .. data:: CurStateNotInstalled .. data:: CurStateUnPacked - +.. _DependencyTypes: Dependency types ^^^^^^^^^^^^^^^^ .. data:: DepConflicts .. data:: DepDepends +.. data:: DepDpkgBreaks +.. data:: DepEnhances .. data:: DepObsoletes .. data:: DepPreDepends .. data:: DepRecommends .. data:: DepReplaces .. data:: DepSuggests + .. _InstStates: Installed states |
