summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog23
-rw-r--r--python/apt_pkgmodule.cc6
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);
}
/*}}}*/