def METHOD_NAME(self):
    if self.settings.os == "Windows":
        del self.options.fPIC
    else:
        self.options.rm_safe("with_gdiplus")
    if self.options.abi_version == None:
        _version_token = self.version.split(".")
        _version_major = int(_version_token[0])
        if len(_version_token) >= 3:
            _version_minor = int(_version_token[1])
            _version_patch = int(_version_token[2])
        elif len(_version_token) >= 2:
            _version_minor = int(_version_token[1])
            _version_patch = 0
        self.options.abi_version = str(
            int(_version_major) * 10000 + int(_version_minor) * 100 + int(_version_patch)
        )