summaryrefslogtreecommitdiff
path: root/apt/debfile.py
AgeCommit message (Collapse)AuthorFilesLines
2010-07-06fix debfile to work with py3, update testsMichael Vogt1-1/+2
2010-07-05apt/debfile.py: make to_{hex,strish} staticmethodsMichael Vogt1-0/+2
2010-07-02* tests/test_debs/*.deb, tests/test_debfile.py:Michael Vogt1-4/+6
- add automatic test based on the test debs from gdebi
2010-07-02* apt/debfile.py:Michael Vogt1-1/+12
- check if the debfiles provides are in conflict with the systems packages
2010-07-02apt/debfile.py: fix bug in compare_to_version_in_cache with use_installed=TrueMichael Vogt1-1/+1
2010-07-02apt/debfile.py: DebFile needs a open fileMichael Vogt1-1/+1
2010-07-02merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port theMichael Vogt1-53/+204
DebPackage class fixes from gdebi into python-apt so that gdebi can use the class from python-apt directly
2010-06-28Revert own change, as we can conflict/provide the same packageKiwinote1-13/+0
2010-06-28self.conflicts returns name, ver, oper, rather than name, oper, verKiwinote1-4/+4
2010-06-28Don't query cache[].candidate.version when no cache[].candidate is availableKiwinote1-1/+3
2010-06-25Don't depend on python-debianKiwinote1-2/+13
2010-06-25Merge cache.get_providers_for() into cache.get_providing_packages() and ↵Kiwinote1-2/+2
update debfile.py to use this
2010-06-25Merge gdebi changesKiwinote1-95/+256
2010-03-01Some stylistic changes.Julian Andres Klode1-11/+11
2010-02-13python/tagfile.cc: Implement the iterator protocol in TagFile.Julian Andres Klode1-2/+1
2009-08-18apt/debfile.py: Adapt to class-based API (WARNING: changes behavior on ↵Julian Andres Klode1-18/+7
certain invalid packages). Use the class-based API now. This also means that if the archive is no valid Debian package (because it misses a 'data.tar.*', 'control.tar.gz' or a 'debian-binary' member) the method open() will now raise an Error; previously it only raised an error if there was no 'debian-binary' member or no 'control.tar.gz' member.
2009-08-03Merge 0.7.12.1Julian Andres Klode1-1/+1
2009-08-03* apt/debfile.py: Fix missing space in message (Closes: #539704)Julian Andres Klode1-1/+1
2009-07-31apt/progress: Large update, introducing apt.progress.base.InstallProgress.Julian Andres Klode1-1/+1
This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes.
2009-07-17apt: Use apt_pkg.gettext instead of Python's gettext.Julian Andres Klode1-1/+1
2009-06-04apt, aptsources, doc: Update to use the new names.Julian Andres Klode1-25/+25
2009-04-19* Update the code to use the new classes.Julian Andres Klode1-3/+3
2009-04-16* apt/*.py: Initial rename work for Bug#481061Julian Andres Klode1-16/+16
A new module, apt.deprecation, is introduced containing functions and classes which assist in the deprecation. The apt_pkg extension gets a new attribute, _COMPAT_0_7 which can be set by defining COMPAT_0_7 at compile time (-DCOMPAT_0_7). The names are changed, and compatibility functions are enabled if bool(apt_pkg._COMPAT_0_7) == True, i.e. if the package has been built with backward compatibility fixes. This commit changes the apt and aptsources packages, the apt_pkg and apt_inst extensions will be the next renames.
2009-04-13* python/tag.cc: Support 'key in mapping' for TagSectionsJulian Andres Klode1-5/+5
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-01* Copyright updates: debian/copyright, etc.Julian Andres Klode1-17/+14
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments.
2009-03-08* apt/: Adjust modules to use Package.{installed,candidate}.*Julian Andres Klode1-11/+10
2009-01-22apt/debfile.py, aptsources/distro.py: Fix stylingJulian Andres Klode1-2/+4
This fixes some styling issues.
2009-01-12* apt/debfile.py: Do not use mixedCase anymoreJulian Andres Klode1-69/+75
In accordance with the latest change of the guidelines, mixedCase names may not be used anymore for new modules.
2009-01-09* apt/debfile: Fix and cleanupJulian Andres Klode1-204/+198
This fixes various problems. Most things should work now. I have also removed the get*() methods, because we have not had these methods in a stable python-apt release yet, and they are deprecated.
2009-01-09* apt/debfile.py, apt/package.py: Use @propertyJulian Andres Klode1-7/+8
Use @property instead of x = property(x), where x is the function name.
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode1-17/+17
2008-08-29debfile: fix a silly error that made me some headache and returned the ↵Sebastian Heinlein1-1/+1
depends in getConflicts()
2008-08-29Remove not used imports in debfileSebastian Heinlein1-3/+2
2008-08-24Fix use of previously changed constants in checkDebSebastian Heinlein1-1/+1
2008-08-24Make version compare constants available globally and rename them for more ↵Sebastian Heinlein1-10/+11
consistency.
2008-08-24Minor fixes: Call InstallProgress.startUpdate() and ↵Sebastian Heinlein1-8/+5
InstallProgress.finishUpdate() for dpkg installations. Remove broken warnings about obsolete methods. Fix parameters of DebPackage.requiredChanges
2008-08-23DebPackage: turn get(Provides|Replaces|Depends|Conflicts)() into attributesSebastian Heinlein1-1/+57
2008-08-23Merge the Debfile class from dpkg into the one from the debfile package.Sebastian Heinlein1-14/+441
2007-07-30* apt/debfile.py:Michael Vogt1-0/+58
- added wrapper around apt_inst.debExtract() - support dictionary like access * python/apt_instmodule.cc: - added arCheckMember()