summaryrefslogtreecommitdiff
path: root/python/rpmsystem-py.h
AgeCommit message (Collapse)AuthorFilesLines
2011-11-18inverse the macro definition condition in c87ad03.Ales Kozumplik1-1/+1
- thanks zpavlas for pointing this out.
2011-11-18python: use the more modern PyCapsule over PyCObject (RhBug:623864).Ales Kozumplik1-0/+10
- rpm.header.new() will still keep accepting PyCObject for now in case a client library depends on this. - involves macro trickery to make rpm buildable against python 2.6 still.
2011-03-09Fix the PyBytes vs PyString compatibility definesPanu Matilainen1-5/+5
- Oops. Quite obviously nobody has even tried to build this with python < 2.6. Whether it'd actually work is another question...
2011-03-09Python 3 fixupsPanu Matilainen1-0/+2
- PyString is gone, use PyBytes instead - Add compatibility defines to paper over PyInt/PyLong_JustHowLongFunctionNamesYouCanComeUpWith()
2011-03-09Cut the remaining ties python bindings have to main rpm sourcesPanu Matilainen1-2/+0
- Include what little we need from standard headers instead of relying on rpm source tree system.h for anything. - Remove non-public includes from python binding include paths
2009-10-21On Python 3, use macros to alias all usage of PyInt_ to PyLong_ equivalentsPanu Matilainen1-0/+7
- Python 3 unified PyInt with PyLong, the former no longer exists - Based on a patch by David Malcolm
2009-10-21Replace PyString usage with PyBytes everywherePanu Matilainen1-0/+7
- In Python 2.6 PyBytes is just an alias for PyString, Python 3.0 removed PyString entirely - Add compatibility defines for Python < 2.6 - Based on David Malcolm's Python 3.x efforts
2009-10-19PyVarObject_HEAD_INIT() compatibility macro for Python < 2.6Panu Matilainen1-0/+7
2009-10-19Py_TYPE() compatibility macro for Python < 2.6Panu Matilainen1-0/+4
2009-10-01Include structmembers.h centrally from rpmsystem-py.hPanu Matilainen1-1/+2
- pretty much everything might need this...
2009-09-22Rename python system.h for disambiguationPanu Matilainen1-0/+17