buildtools: Ignore exact Python version for ABI checking
authorPetr Viktorin <pviktori@redhat.com>
Fri, 14 Aug 2015 10:17:48 +0000 (12:17 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 1 Nov 2015 00:09:06 +0000 (01:09 +0100)
commit9ef47d25317947248b0796059e6f0a851ba3cb07
treec87766fbef78061a63c4ae95c02770c63885833d
parent2f619066fbf2e8310e0a21b6680212c3e676b6ea
buildtools: Ignore exact Python version for ABI checking

Utilities for Python libraries are built for a specific Python
version. Starting with Python 3, the Python version is recorded
in the shared library filename as an ABI tag, e.g. "pytalloc.cpython-34m.so.
The exact version doesn't matter for Samba's ABI check.
Replace the ABI tag with a simpler one that just records the major
version of Python.

Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Nov  1 01:09:06 CET 2015 on sn-devel-104
buildtools/wafsamba/samba_abi.py
buildtools/wafsamba/wafsamba.py