Adam D. Barratt
f7117c1ea4
Really make britney2 work with python 2.5
...
PyDict_Next()'s ppos argument should be a Py_ssize_t, not an int. With
this change, britney2 no longer believes that all packages are
uninstallable.
14 years ago
Adeodato Simó
cf2bc3cbfb
Go back to Python 2.4, since there are buggy results with 2.5.
...
(In particular, britney2 thinks all packages are uninstallable when
executing under Python 2.5.)
16 years ago
Adeodato Simó
e671358386
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.
16 years ago
Fabio Tranchitella
3dc3be1c72
Merge with the last official release of Britney.
17 years ago
Fabio Tranchitella
e9afdfb2e0
Fixed a segfault for faux packages, which do not have the architecture field.
18 years ago
Fabio Tranchitella
b1afe1ee3d
Removed a debug method, it should not be released.
18 years ago
Fabio Tranchitella
76b3a8cf3c
Fixed a pointer problem which caused segfaults when dealing with virtual packages; fixed a bug in source removal; moved add_binary and remove_binary from the britney module to the Packages object.
18 years ago
Fabio Tranchitella
3825241619
Britney ported to is_installable: the code runs, but more testing is needed.
18 years ago
Fabio Tranchitella
a0dc325294
Implemented buildSystem, removeBinary and addBinary for the c extension; added a sample python script.
18 years ago
Fabio Tranchitella
c8468f9516
Imported the old britney and its libraries.
18 years ago