diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-05-02 14:26:50 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-05-02 14:26:50 +0200 |
| commit | 8d639a08510c2c8ce7700ac11ff42989a7736cb4 (patch) | |
| tree | bf85537b2d3ad554cb694baff5283ea0bbed55bf | |
| parent | c158927f8fe509704b3e1096fb17b1308a197c8c (diff) | |
| parent | cccfb88edd8dd82348ff89f96a0b26ac815b483c (diff) | |
| download | python-apt-8d639a08510c2c8ce7700ac11ff42989a7736cb4.tar.gz | |
* merged from python-apt--mvo
| -rw-r--r-- | debian/changelog | 23 | ||||
| -rw-r--r-- | python/apt_pkgmodule.cc | 6 |
2 files changed, 29 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 98c56ec3..52d53919 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,26 @@ +python-apt (0.6.21ubuntu1) gutsy; urgency=low + + * python/apt_pkgmodule.cc: + - added pkgCache::State::PkgCurrentState enums + + -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 2 May 2007 14:24:11 +0200 + +python-apt (0.6.21) unstable; urgency=low + + * apt/cdrom.py: + - better cdrom handling support + * apt/package.py: + - added candidateDependencies, installedDependencies + - SizeToString supports PyLong too + - support pkg.architecture + - support candidateRecord, installedRecord + * apt/cache.py: + - fix rootdir + * apt/cdrom.py: + - fix bug in cdrom mountpoint handling + + -- Michael Vogt <mvo@debian.org> Tue, 24 Apr 2007 21:24:28 +0200 + python-apt (0.6.20ubuntu16) feisty; urgency=low * Fix the addition of of sources that are already enabled but not with diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index 81d16f51..a0352d4e 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -503,6 +503,12 @@ extern "C" void initapt_pkg() AddInt(Dict,"PriOptional",pkgCache::State::Optional); AddInt(Dict,"PriExtra",pkgCache::State::Extra); + AddInt(Dict,"CurStateNotInstalled",pkgCache::State::NotInstalled); + AddInt(Dict,"CurStateUnPacked",pkgCache::State::UnPacked); + AddInt(Dict,"CurStateHalfConfigured",pkgCache::State::HalfConfigured); + AddInt(Dict,"CurStateHalfInstalled",pkgCache::State::HalfInstalled); + AddInt(Dict,"CurStateConfigFiles",pkgCache::State::ConfigFiles); + AddInt(Dict,"CurStateInstalled",pkgCache::State::Installed); } /*}}}*/ |
