summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-05-23 09:43:45 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-05-23 09:43:45 +0200
commitbe05af84c65c7d4bae3cbd949304b9dd7020054f (patch)
tree76921b14db1497400f240c04fbf782ad57953598
parentcccfb88edd8dd82348ff89f96a0b26ac815b483c (diff)
downloadpython-apt-be05af84c65c7d4bae3cbd949304b9dd7020054f.tar.gz
* python/pkgrecords.cc:
- added SourceVer
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rw-r--r--python/pkgrecords.cc2
3 files changed, 5 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 75725676..665c45ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ python-apt (0.6.22) unstable; urgency=low
* python/apt_pkgmodule.cc:
- added pkgCache::State::PkgCurrentState enums
+ * python/pkgrecords.cc:
+ - added SourceVer
--
diff --git a/debian/control b/debian/control
index e2f97b78..49d84734 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: APT Development Team <deity@lists.debian.org>
Uploaders: Matt Zimmerman <mdz@debian.org>, Michael Vogt <mvo@debian.org>
Standards-Version: 3.6.2.0
XS-Python-Version: all
-Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.6.45), apt-utils, python-all-dev, python-central
+Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.6.47), apt-utils, python-all-dev, python-central
Package: python-apt
Architecture: any
diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc
index 4a5556f2..466a2f30 100644
--- a/python/pkgrecords.cc
+++ b/python/pkgrecords.cc
@@ -67,6 +67,8 @@ static PyObject *PkgRecordsAttr(PyObject *Self,char *Name)
return CppPyString(Struct.Last->SHA1Hash());
else if (strcmp("SourcePkg",Name) == 0)
return CppPyString(Struct.Last->SourcePkg());
+ else if (strcmp("SourceVer",Name) == 0)
+ return CppPyString(Struct.Last->SourceVer());
else if (strcmp("Maintainer",Name) == 0)
return CppPyString(Struct.Last->Maintainer());
else if (strcmp("ShortDesc",Name) == 0)