From ab39c5fd9906b72e86b1b3dd82b7b5a476e3c4f5 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 10 Jun 2015 12:02:41 +0200 Subject: doc: Prepare for 1.0 release Change the whatsnew page to a two-component variant (1.0, so we do not get bug fix releases mixed in there, and update the pages for the changes planned for 1.0. Not all have been committed yet, though. --- doc/source/library/apt_pkg.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/source/library') diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index f8ba186a..fd505b20 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -787,6 +787,11 @@ Resolving Dependencies with :class:`ProblemResolver` The section of the package, as specified in the record. The list of possible sections is defined in the Policy. This is a string. + .. deprecated:: 1.0 + + A package can have multiple versions with different sections, so + the section information should be accessed from the version class. + .. attribute:: version_list A list of :class:`Version` objects for all versions of this package @@ -1481,6 +1486,8 @@ Records (Release files, Packages, Sources) ``(str: md5, int: size, str: path, str:type)``, where 'type' can be 'diff' (includes .debian.tar.gz), 'dsc', 'tar'. + .. deprecated: 1.0 + .. attribute:: index A list of :class:`IndexFile` objects associated with this -- cgit v1.2.3