Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
This is the first pre-release of python-apt 0.8. It is completely backward
compatible (even on Python 3), API changes will appear in 0.7.91.
|
|
|
|
Extended the documentation, renamed 'Coding for python-apt' to 'Contributing
to python-apt' and other stuff.
|
|
documentation
|
|
Support the replacement of mapping.has_key() for Configuration,ConfigurationPtr
and ConfigurationSub objects.
This is implemented by extending the various types with the tp_as_sequence
slot, which refers to a PySequenceMethods containing only this method.
The CnfGetAttr() function has been removed and replaced by the use of the
tp_method slot. This helps the py3k port because the previously used
Py_FindMethod() is not avilable anymore.
This completes the support of the 'in' operator in all python-apt objects,
which makes it even easier to convert python-apt-using applications to py3k
once python-apt supports it, as 2to3 converts 'm.has_key(k)' to 'k in m'.
Also finalize the types in apt_pkgmodule.cc and add the new 'key in conf'
description to the documentation.
|
|
Support the replacement of mapping.has_key() for sections, and
update the usage in apt/package.py and apt/debfile accordingly.
This is implemented by extending the TagSecType with sequence
methods, but only settings the contains method there.
The TagSecGetAttr() function has been removed and replaced by
the use of the tp_methods slot.
|
|
Try to get the release from the information in the environment variable
DEBVER, which is exported in debian/rules. If it is not set, use python-debian
to read the release from the changelog.
|
|
- doc/source/conf.py: Only include directories for current python version.
- debian/control: Build-Depend on python-gtk2, python-vte.
- setup.py: If pygtk can not be imported, do not build the documentation.
|
|
|
|
|
|
- Document more attributes and functions of apt_pkg (they are all listed)
|
|
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py
- apt/progress/__init__.py: Move here from apt/progress.py
|
|
- Deprecate Package.candidate*() and Package.installed*(), except for
installedFiles.
- Provide Version.get_source() (LP: #118788)
|
|
The exception for mixedCase names is now only granted for modules
introduced prior to version 0.7.9 and changes thereto.
Modules which are listed as deprecated in the documentation of Python 2.6
should be avoided.
has_key() may only be used on TagSection objects.
|
|
|
|
|
|
|
|
|
|
This changes our style to match the Python documentation.
|
|
There is no description for MetaIndex yet, but this will be added soon.
|
|
Not documented: MetaIndex PackageIndexFile PkgManager PkgRecords PkgSourceList
PkgSrcRecords ProblemResolver TagFile TagSection (9)
|
|
Complete the documentation of pkgCache, pkgDepCache, pkgCache::Package.
Introduce new documentation for pkgCache::Version, pkgCache::Dependency,
pkgCache::PackageFile, pkgcache::Description.
There is also an example now which checks for missing dependencies.
|
|
|
|
We now build the extension first, and then the documentation. Also add
the text docs.
|
|
The new documentation is built using sphinx (>= 0.5) [other versions may work too,
but let's be safe].
|