/[Apache-SVN]
ViewVC logotype

Revision 1869853


Jump to revision: Previous Next
Author: hartmannathan
Date: Fri Nov 15 14:09:09 2019 UTC (4 years, 5 months ago)
Changed paths: 4
Log Message:
Support building with SWIG 4 on Python 3.x

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Allow building with SWIG 4+, and add -modern option
    when Python 3 and SWIG 3.x are detected.

* subversion/bindings/swig/include/proxy.py
    Use _get_instance_attr and _set_instance_attr.

* subversion/bindings/swig/include/proxy.swg
  (_get_instance_attr): New function to get an instance attribute
    without metadata for new-style and old-style classes.
  (_set_instance_attr): New function to set an instance attribute for
    new-style and old-style classes.

* subversion/bindings/swig/INSTALL
  (BUILDING SWIG BINDINGS FOR SVN ON UNIX, Step 1): Update supported
    SWIG versions for Python 3 bindings (remove the note that SWIG 4+
    is not supported).

Patch by: Jun Omae <jun66j5{_AT_}gmail.com>

Review by: brane
           futatuki
           julianfoad


Changed paths

Path Details
Directorysubversion/trunk/build/ac-macros/swig.m4 modified , text changed
Directorysubversion/trunk/subversion/bindings/swig/INSTALL modified , text changed
Directorysubversion/trunk/subversion/bindings/swig/include/proxy.py modified , text changed
Directorysubversion/trunk/subversion/bindings/swig/include/proxy.swg modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26