summaryrefslogtreecommitdiff
path: root/scripts/header-ifdef.py
Commit message (Collapse)AuthorAgeFilesLines
* build: only support python3 binaryDaniel P. Berrangé2019-12-041-3/+1
| | | | | | | | python2 will be end of life by the time of the next libvirt release. All our supported build targets, including CentOS7, have a python3 build available. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* build-aux: rewrite header ifdef checker in PythonDaniel P. Berrangé2019-11-201-0/+230
As part of a goal to eliminate Perl from libvirt build tools, rewrite the header-ifdef.pl tool in Python. This was a straight conversion, manually going line-by-line to change the syntax from Perl to Python. Thus the overall structure of the file and approach is the same. Tested-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>