summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--python/cache.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 55d3a834..9809d423 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ python-apt (0.7.92) UNRELEASED; urgency=low
* apt/package.py: Return VersionList objects in Package.versions, which
are sequences and also provide features of mappings. (small API BREAK)
* apt/progress/__init__.py: Check for EINTR in select (Closes: #499296)
+ * Add support for Enhances as a dependency type (Closes: #416247)
[ Sebastian Heinlein ]
* apt/progress.py: Extract the package name from the status message
diff --git a/python/cache.cc b/python/cache.cc
index 80a7a8a5..7e75ccab 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -711,7 +711,7 @@ static PyObject *MakeDepends(PyObject *Owner,pkgCache::VerIterator &Ver,
{
"", "Depends","PreDepends","Suggests",
"Recommends","Conflicts","Replaces",
- "Obsoletes", "Breaks"
+ "Obsoletes", "Breaks", "Enhances"
};
PyObject *Dep = PyString_FromString(Types[Start->Type]);
LastDepType = Start->Type;