Adeodato Simó 17672ae8da Update britney-py.c to work with Python 2.5.
These changes are cherry-picked from britney1 (7e94274 and f50c039).
Commit messages follow.

7e94274: Use python 2.5.
f50c039: use PyObject_DEL() for memory allocated with PyObject_NEW().

See http://www.python.org/doc/2.5.4/whatsnew/ports.html (section about
"obmalloc"): Python 2.5 is no longer lenient about code that mixes NEW/DEL
from different memory families of functions.
2009-03-14 12:46:33 +01:00
..

BUILDING
========

Install libapt-pkg-dev

testing/ $ make
testing/ $ mkdir old cur out
testing/ $ cd testing
testing/testing/ $ perl Makefile.PL
testing/testing/ $ make

Add old and new packages files into old and cur, respectively.

testing/ $ ./checklib i386 alpha

Will generate some test stuff in out/

TODO
====

Need some way of actually updating archives.
Need some way of judging differences between Packages files.
  (so I can see what hasn't been updated and work out why;
   so I can check that Packages.gz matches dpkg-scanpackages output)
Need some way of automatically explaining why packages aren't upgraded.
  (shouldn't be hard?)

BUGS
====

out/ directory must exist for checklib, or segfault