diff options
| -rw-r--r-- | debian/changelog | 17 | ||||
| -rw-r--r-- | debian/control | 2 | ||||
| -rwxr-xr-x | debian/rules | 4 | ||||
| -rw-r--r-- | doc/examples/depcache.py | 1 | ||||
| -rw-r--r-- | python/pkgsrcrecords.cc | 2 |
5 files changed, 16 insertions, 10 deletions
diff --git a/debian/changelog b/debian/changelog index efaf9405..d6260709 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,14 +1,17 @@ -python-apt (0.5.37) hoary; urgency=low - - * fixed some reference count problems in the depcache code - * DepCache.Init() is never called implicit now - * merged with Greek0@gmx.net--2005-main/python-apt--debian--0.6 - that fixes a segfault in the pkgsrcrecords code +python-apt (0.6.12) hoary; urgency=low + * added a tests/ directory * added tests/pkgsrcrecords.py that will check if the pkgsrcrecords interface does not segfault - -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 7 Apr 2005 10:20:30 +0200 + -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 6 May 2005 10:11:52 +0200 + +python-apt (0.6.11) experimental; urgency=low + + * fixed some reference count problems in the depcache and + pkgsrcrecords code + * DepCache.Init() is never called implicit now + * merged with python-apt tree from Greek0@gmx.net--2005-main python-apt (0.5.36ubuntu2) hoary; urgency=low diff --git a/debian/control b/debian/control index 99e15296..69112768 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: APT Development Team <deity@lists.debian.org> Uploaders: Matt Zimmerman <mdz@debian.org> Standards-Version: 3.6.1.1 -Build-Depends: debhelper (>= 4.2.28), libapt-pkg-dev (>= 0.6.35), apt-utils, python-dev (>= 2.4), python2.4-dev, python2.3-dev +Build-Depends: debhelper (>= 4.2.28), libapt-pkg-dev (>= 0.6.35), apt-utils, python-dev, python2.4-dev, python2.3-dev Package: python-apt Architecture: all diff --git a/debian/rules b/debian/rules index 16d26380..0ab6fa27 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,9 @@ export DH_OPTIONS # This is the debhelper compatibility version to use. export DH_COMPAT=3 +DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p') +DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS) + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -83,6 +86,5 @@ arch-build: baz inventory -s | xargs cp -a --parents --target=debian/arch-build/python-apt-$(DEBVER) (cd debian/arch-build/python-apt-$(DEBVER); $(DEB_BUILD_PROG)) - binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary diff --git a/doc/examples/depcache.py b/doc/examples/depcache.py index 0eb2f075..50dd7703 100644 --- a/doc/examples/depcache.py +++ b/doc/examples/depcache.py @@ -35,6 +35,7 @@ print "\n\n depcache" depcache = apt_pkg.GetDepCache(cache, progress) depcache.ReadPinFile() # init is needed after the creation/pin file reading +depcache.Init() print "got a depcache: %s " % depcache print "Marked for install: %s " % depcache.InstCount diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc index 8eb9e5f3..ac6c09fd 100644 --- a/python/pkgsrcrecords.cc +++ b/python/pkgsrcrecords.cc @@ -47,7 +47,7 @@ static PyObject *PkgSrcRecordsLookup(PyObject *Self,PyObject *Args) if (Struct.Last == 0) { Struct.Records->Restart(); Py_INCREF(Py_None); - return HandleErrors(Py_None); + return HandleErrors(Py_None); } return Py_BuildValue("i", 1); |
