summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-13* python/tag.cc: Support 'key in mapping' for TagSectionsJulian Andres Klode6-23/+53
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.
2009-04-13* doc/source/conf.py: Do not require python-debian anymoreJulian Andres Klode2-7/+9
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.
2009-04-12apt/package.py: Handle cases where no candidate is available, by returningJulian Andres Klode2-1/+10
None in the candidate property. (Closes: #523801)
2009-04-12setup.py, debian/rules: Support version in setup.py again by gettingJulian Andres Klode3-0/+5
the value from the variable DEBVER (defined in debian/rules), falling back to None.
2009-04-12apt/package.py: Handle cases where no candidate is available andJulian Andres Klode3-28/+38
one of the deprecated properties (e.g. candidateVersion) is requested. (Closes: #523801)
2009-04-10* apt/package.py(DeprecatedProperty.__get__): Only warn when used on objects.Julian Andres Klode2-4/+7
This makes it easier to use e.g. pydoc,sphinx,pychecker, which use inspect the classes and therefore also have to access the properties.
2009-04-10* apt/package.py(Package.candidateRecord): Fix missing 'd' in 'record'Julian Andres Klode2-2/+4
2009-04-10Fix FTBFS with python-debian (>= 0.1.13) on Python 2.4 by not using it toJulian Andres Klode2-14/+9
get a version number in setup.py (Closes: #523473)
2009-04-01python-apt (0.7.10) unstable; urgency=lowJulian Andres Klode16-71/+287
* Build-Depend on python-debian, use it to get version number from changelog * Depend on libjs-jquery, and remove internal copy (Closes: #521532) * apt/package.py: - Introduce Version.{uri,uris,fetch_binary()} * debian/control: - Remove mdz from Uploaders (Closes: #521477), add myself. - Update Standards-Version to 3.8.1 - Use ${binary:Version} instead of ${Source-Version} - Fix spelling error: python -> Python * debian/copyright: Switch to machine-interpretable copyright * Fix documentation building - 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. * Breaks: debdelta (<< 0.28~) to avoid more problems due to the internal API changes from 0.7.9. -- Julian Andres Klode <jak@debian.org> Wed, 01 Apr 2009 15:24:29 +0200
2009-04-01Fix Breaks 0.28 => 0.28~, so it works for backports as well.Julian Andres Klode2-2/+2
2009-04-01Fix spelling error: python -> PythonJulian Andres Klode2-1/+2
2009-04-01Breaks: debdelta (<< 0.28) to avoid more problems due to the internalJulian Andres Klode2-0/+3
API changes from 0.7.9.
2009-04-01Set distribution to unstable, and close #521532 in the changelogJulian Andres Klode1-2/+2
2009-04-01* Fix documentation buildingJulian Andres Klode4-2/+17
- 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.
2009-04-01* Copyright updates: debian/copyright, etc.Julian Andres Klode12-43/+103
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments.
2009-04-01* debian/control: Standards-Version, ${binary:Version}.Julian Andres Klode2-3/+6
- Update Standards-Version to 3.8.1 - Use ${binary:Version} instead of ${Source-Version}
2009-04-01debian/control: Remove useless Priority: optional in python-apt, move ↵Julian Andres Klode1-1/+1
python-apt-dbg to debug section.
2009-04-01debian/control: Add ${misc:Depends} to python-apt-dbg dependencies.Julian Andres Klode1-1/+2
2009-04-01Remove mdz from Uploaders (Closes: #521477), add myself.Julian Andres Klode2-2/+3
2009-04-01Merge with debian-sid Julian Andres Klode2-2/+5
original value (in getChangelog(), LP: #314212) Closes: #513315 * aptsources/sourceslist.py: - fix bug in invalid lines detection (LP: #324614)
2009-04-01* apt/package.py: Introduce Version.{uri,uris,fetch_binary()}Julian Andres Klode2-9/+109
2009-04-01Depend on libjs-jquery, and remove internal copyJulian Andres Klode3-5/+7
2009-03-29Build-Depend on python-debian, use it to get version number from changelogJulian Andres Klode4-8/+38
2009-03-23* aptsources/sourceslist.py:Michael Vogt2-1/+3
- fix bug in invalid lines detection (LP: #324614)
2009-03-20close default timeout bug (thanks to juliank)Michael Vogt1-1/+2
2009-03-20Merge with debian-sid branchJulian Andres Klode1-3/+3
2009-03-19this is a debian upload :)Michael Vogt1-1/+1
2009-03-19releasing version 0.7.9Michael Vogt1-2/+2
2009-03-19* aptsources/sourceslist.py:Michael Vogt2-1/+3
- fix bug in invalid lines detection (LP: #324614)
2009-03-19set to unreleasedMichael Vogt1-1/+1
2009-03-19* apt/gtk/widgets.py:Michael Vogt39-556/+971
- Handle older versions of python-gobject which do not ship glib * apt/package.py: Introduce the Version class - Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788) - Provide Package.versions (Closes: #513236) * apt/progress/: New package, replaces apt.progress and apt.gtk - apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py * doc/source/*: Improve the documentation - Document more attributes and functions of apt_pkg (they are all listed) * aptsources/distro.py: - use iso_3166.xml instead of iso_3166.tab - fix incorrect indent * debian/control: - add Recommends to iso-codes (for iso_3166.xml) * apt/package.py: - make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212) * apt/cache.py: - when setting a alternative rootdir, read the config from it as well * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir() * python/cache.cc, tests/getcache_mem_corruption.py: - test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049 * apt/package.py: - avoid uneeded interal references in the Package objects * apt/__init__.py: - remove the future warning
2009-03-08* doc/examples/*.py: Fix some examples, cleanupJulian Andres Klode8-18/+6
2009-03-08apt/cache.py: If no progress is given for cache open, use OpProgress.Julian Andres Klode2-8/+8
Also fix doc/examples/records.py to use Package.candidate.*
2009-03-08debian/changelog: Add 'Provide Package.versions (Closes: #513236)'Julian Andres Klode1-0/+1
2009-03-08po/POTFILES.in: Add apt/package.py,apt/debfile.py,apt/progress/gtk2.pyJulian Andres Klode2-11/+85
2009-03-08* aptsources/sourceslist.py: Add missing ')'Julian Andres Klode1-1/+1
2009-03-08* setup.py: Remove apt.gtk, add apt.progressJulian Andres Klode3-3/+6
2009-03-08* Merge with mvoJulian Andres Klode16-121/+191
2009-03-08* doc/source/*: Improve the documentationJulian Andres Klode4-37/+175
- Document more attributes and functions of apt_pkg (they are all listed)
2009-03-08* apt/cache.py, apt/package.py: Fix some bugs.Julian Andres Klode3-8/+5
2009-03-08* apt/progress/: New package, replaces apt.progress and apt.gtkJulian Andres Klode7-7/+10
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py
2009-03-08* apt/: Adjust modules to use Package.{installed,candidate}.*Julian Andres Klode3-18/+17
2009-03-08* apt/package.py: Introduce the Version classJulian Andres Klode3-222/+337
- Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788)
2009-03-08* apt/gtk/widgets.py: Handle older versions of python-gobject which do not ↵Julian Andres Klode2-10/+18
ship glib
2009-03-03* python/cache.cc, tests/getcache_mem_corruption.py:Michael Vogt4-4/+44
- test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049
2009-02-26avoid duplicated internal references of the Package object for _cache, ↵Michael Vogt3-48/+44
_depcache, _records, _list - they add up to ~10mb for the full cache on my test system and all information is available via Package._pcache
2009-02-25add a bunch of #!/usr/bin/python to the examplesMichael Vogt6-0/+7
2009-02-16aptsources/sourceslist.py: use apt_pkg.Config.FindFileMichael Vogt1-11/+8
2009-01-29apt/package.py: add Origin.not_automaticMichael Vogt1-0/+1
2009-01-29apt/cache.py: test for existance first before reading the fileMichael Vogt1-3/+4